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

Configure pre-commit and Pre-Commit CI for project #92

Closed
10 tasks
Tracked by #96
brylie opened this issue Sep 28, 2022 · 0 comments · Fixed by #122
Closed
10 tasks
Tracked by #96

Configure pre-commit and Pre-Commit CI for project #92

brylie opened this issue Sep 28, 2022 · 0 comments · Fixed by #122

Comments

@brylie
Copy link
Member

brylie commented Sep 28, 2022

The pre-commit script can help enforce good code practices. Similarly, Pre-Commit CI can auto-check pre-commit rules on pull requests.

Task

  • configure pre-commit for this project
  • choose some useful hooks: https://pre-commit.com/hooks.html
    • black
    • isort
    • flake8
    • pyupgrade
    • django-upgrade
    • curlylint
    • dhjhtml
  • optionally, consider enabling Pre-Commit CI on this repo

Resources

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant