Skip to content

pre-commit integration #320

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

Merged
merged 10 commits into from
Jan 13, 2022
Merged

pre-commit integration #320

merged 10 commits into from
Jan 13, 2022

Conversation

g-as
Copy link
Contributor

@g-as g-as commented Dec 13, 2021

I added a .pre-commit-config.yaml file (https://pre-commit.com/), and with it :

  • pyupgrade
  • autoflake
  • isort
  • black
  • django-upgrade
  • flake8

I've split the different hooks application into different commits, in order to better gauge the impact of each linter/formatter.

On top of this (using pre-commit locally), the idea is to plug https://pre-commit.ci/ as well.

Let me know what you think!

@g-as
Copy link
Contributor Author

g-as commented Dec 13, 2021

@peppelinux I also removed stale mock test dependency.

@peppelinux peppelinux merged commit 8bd4bf8 into IdentityPython:master Jan 13, 2022
@g-as
Copy link
Contributor Author

g-as commented Jan 14, 2022

👍

@g-as g-as deleted the feature/pre-commit branch January 14, 2022 01:07
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.

2 participants