Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update the pre-commit configuration #113

Merged
merged 1 commit into from
Dec 9, 2021
Merged

Update the pre-commit configuration #113

merged 1 commit into from
Dec 9, 2021

Conversation

sphuber
Copy link
Contributor

@sphuber sphuber commented Dec 9, 2021

The pre-commit is updated and improved in various ways:

  • Configuration is moved from tool specific configuration files to the
    standard pyproject.toml. This allows to remove .style.yapf and
    pytest.ini.
  • Update yapf requirement to v0.31.0 which is necessary for the
    pyproject.toml support.
  • Add the isort hook to organize imports.
  • Add the flynt hook to automatically fix f-strings.

The pre-commit is updated and improved in various ways:

 * Configuration is moved from tool specific configuration files to the
   standard `pyproject.toml`. This allows to remove `.style.yapf` and
   `pytest.ini`.
 * Update `yapf` requirement to `v0.31.0` which is necessary for the
   `pyproject.toml` support.
 * Add the `isort` hook to organize imports.
 * Add the `flynt` hook to automatically fix f-strings.
@sphuber sphuber merged commit 9f54cd3 into master Dec 9, 2021
@sphuber sphuber deleted the fix/update-ci branch December 9, 2021 13:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant