Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upblack, isort, and doc8 - should we use them in our CI? #930
Labels
Comments
|
On top of CI, nowadays its pretty popular to run them with pre-commit
|
|
I believe we should use all of these as part of our CI build/test process. We should also use mypy as part of that process, but we might want to wait until after we deprecate support for Python 3.5 for that one. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
black is an extremely popular tool for automatically formatting Python code to match the very opinionated black coding standard.
isort is a tool for automatically sorting Python imports to match a given style.
doc8 is a Sphinx style checker.
mypy is an optional static type checker
Should we incorporate one or more of these tools into our CI process similar to how we have incorporated
flake8? Of course, we can tweak the default configuration for each of these tools to make them match our stylistic preferences if we desire.