aboutsummaryrefslogtreecommitdiffstats
path: root/Pipfile
diff options
context:
space:
mode:
authorGravatar sco1 <[email protected]>2019-07-09 21:05:41 -0400
committerGravatar sco1 <[email protected]>2019-07-09 21:05:41 -0400
commit2fdf54f879843f859466a3e98dfc9230588c2d09 (patch)
tree489cd3eb2b7f3c44e0ac3b51a61228cd26f304dc /Pipfile
parentAdding a tools page to the More menu (diff)
Update linting dependencies
Group up all flake8 plugins Add pre-commit & configuration Add pipenv aliases for pre-commit & flake8 Relock
Diffstat (limited to 'Pipfile')
-rw-r--r--Pipfile5
1 files changed, 4 insertions, 1 deletions
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"