-
-
Notifications
You must be signed in to change notification settings - Fork 43
Code Formatting
Jim Hafner edited this page Mar 11, 2020
·
2 revisions
GovLens enforces code style using Black and pep8 rules using Flake8. To set up automatic code formatting for black standards, perform the following steps:
pip install -U black pre-commitpre-commit install
To manually run Flake8 from project root:
pip install -U flake8flake8 . --ignore E501,W503,E203