Update pre-commit config to use poetry environment

Add precommit hook for checking for merge conflicts
Add dev dep for blacken-docs
Add dev dep for pre-commit-hooks
Update all precommit hooks to use system language
Update toxfile to use new dev deps
Fix tox vs. precommit conflicts with reorder-python-imports
This commit is contained in:
2020-11-26 12:41:06 -05:00
parent 6a5e955fce
commit 0c25ca965e
4 changed files with 324 additions and 227 deletions

View File

@@ -39,14 +39,16 @@ tox = "^2.3.0 || ^3.0.0"
[tool.poetry.dev-dependencies]
bandit = "^1.6.2"
black = {version = "^20.8b1", allow-prereleases = true}
ipython = {version = "^7.18.1", python = "^3.7"}
black = { version = "^20.8b1", allow-prereleases = true }
blacken-docs = { version = "^1.8.0", python = "^3.6.1" }
ipython = { version = "^7.18.1", python = "^3.7" }
mypy = "^0.782"
pre-commit = {version = "^2.7.1", python = "^3.6.1"}
pre-commit = { version = "^2.7.1", python = "^3.6.1" }
pre-commit-hooks = { version = "^3.3.0", python = "^3.6.1" }
pylint = "^2.4.4"
pytest = "^6.0.2"
pytest-cov = "^2.10.1"
reorder-python-imports = {version = "^2.3.5", python = "^3.6.1"}
reorder-python-imports = { version = "^2.3.5", python = "^3.6.1" }
safety = "^1.9.0"
toml = "^0.10.1"
tox = "^3.20.0"