Add pre-commit

This commit is contained in:
taoufik07
2020-12-01 22:25:29 +01:00
parent e596a8b457
commit 4cc055f93a
4 changed files with 398 additions and 301 deletions
+6
View File
@@ -0,0 +1,6 @@
repos:
- repo: https://github.com/psf/black
rev: 20.8b1
hooks:
- id: black
types: [python]
+2 -1
View File
@@ -5,11 +5,12 @@ name = "pypi"
[packages]
responder = {editable = true, path = "."}
pre-commit = "*"
[dev-packages]
pytest = "*"
"flake8" = "*"
black = "*"
black = "==20.8b1"
twine = "*"
flask = "*"
sphinx = "*"
Generated
+387 -300
View File
File diff suppressed because it is too large Load Diff
+3
View File
@@ -0,0 +1,3 @@
[build-system]
requires = ["setuptools", "wheel"]
build-backend = "setuptools.build_meta:__legacy__"