From 2fdf54f879843f859466a3e98dfc9230588c2d09 Mon Sep 17 00:00:00 2001 From: sco1 Date: Tue, 9 Jul 2019 21:05:41 -0400 Subject: Update linting dependencies Group up all flake8 plugins Add pre-commit & configuration Add pipenv aliases for pre-commit & flake8 Relock --- Pipfile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'Pipfile') diff --git a/Pipfile b/Pipfile index 036f079c..6d76831b 100644 --- a/Pipfile +++ b/Pipfile @@ -7,6 +7,7 @@ verify_ssl = true flake8 = "~=3.7.7" flake8-bandit = "==1.0.2" flake8-bugbear = "~=19.3.0" +flake8-docstrings = "~=1.3.0" flake8-import-order = "~=0.18.1" flake8-string-format = "~=0.2.3" flake8-tidy-imports = "~=2.0.0" @@ -14,8 +15,8 @@ mccabe = "~=0.6.1" pep8-naming = "~=0.8.2" coverage = "~=4.5.3" unittest-xml-reporting = "~=2.5.1" -flake8-docstrings = "~=1.3.0" pydocstyle = "==3.0.0" +pre-commit = "~=1.17.0" [packages] django = "~=2.2" @@ -41,3 +42,5 @@ python_version = "3.7" makemigrations = "python manage.py makemigrations" django_shell = "python manage.py shell" test = "python manage.py test" +lint = "flake8 pydis_site" +precommit = "pre-commit install" -- cgit v1.2.3