Validate formatting with pytest-black

This commit is contained in:
Correl Roush 2020-12-04 19:33:06 -05:00
parent 19d0b59659
commit 5a613a54b0
2 changed files with 4 additions and 1 deletions

View file

@ -23,12 +23,13 @@ mypy = "*"
hypothesis = "*"
flake8 = "*"
pytest = "*"
pytest-black = "*"
pytest-cov = "*"
pytest-flake8 = "*"
pytest-mypy = "*"
[tool.pytest.ini_options]
addopts = "--cov=tornado_openapi3 --flake8 --mypy"
addopts = "--cov=tornado_openapi3 --black --flake8 --mypy"
[build-system]
requires = ["poetry>=0.12"]

View file

@ -7,11 +7,13 @@ deps =
tornado4: tornado>=4,<5
tornado5: tornado>=5,<6
tornado6: tornado>=6,<7
black
codecov
mypy
hypothesis
flake8
pytest
pytest-black
pytest-cov
pytest-flake8
pytest-mypy