Add pre-commit

This commit is contained in:
Joel Collins 2020-11-12 14:30:54 +00:00
parent f4b123c237
commit 5119e2c544
4 changed files with 189 additions and 7 deletions

View file

@ -29,7 +29,7 @@ packages = [
]
[tool.poetry.dependencies]
python = "^3.6"
python = "^3.6.1"
Flask = "^1.0"
numpy = "1.19.2" # Exact version so we can guarantee a wheel
Pillow = "^7.2.0"
@ -58,6 +58,7 @@ sphinxcontrib-httpdomain = "^1.7"
rope = "^0.14.0"
pylint = "^2.3"
black = {version = "^18.3-alpha.0",allow-prereleases = true}
pre-commit = "^2.8.2"
[tool.black]
exclude = '(\.eggs|\.git|\.venv|node_modules/)'
@ -69,7 +70,3 @@ force_grid_wrap = 0
use_parentheses = true
ensure_newline_before_comments = true
line_length = 88
[tool.pylint.'MESSAGES CONTROL']
disable = "C0330, C0326, W1202, W0511, C, R"
max-line-length = 88