-
Notifications
You must be signed in to change notification settings - Fork 33
Closed
Labels
Description
Advanced
Here is a list of pre-commit checks that I typically use for my project:
- Linters: flake8, pylint. My choice: [flake8]. Additional flake8-plugins:
- flake8-bugbear for detecting bugs and potential design problems
- flake8-builtins for verifying that builtins are not used as variable names
- flake8-comprehensions for writing better and consistent comprehensions
- flake8-debugger for checking that there are no forgotten breakpoints
- flake8-eradicate to avoid “dead” or commented code
- flake8-logging-format for consistent logging
- pep8-naming for verifying that PEP8 naming conventions are followed
- tryceratops to avoid exception anti-patterns
- Type checking: mypy. My choice: [mypy]
- Auto-formatters:
- Python auto-update: pyupgrade tool to automatically upgrade syntax for newer versions of the language.
Reactions are currently unavailable