mirror of
https://github.com/correl/tornado-openapi3.git
synced 2024-11-21 19:18:40 +00:00
Validate formatting with pytest-black
This commit is contained in:
parent
19d0b59659
commit
5a613a54b0
2 changed files with 4 additions and 1 deletions
|
@ -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"]
|
||||
|
|
2
tox.ini
2
tox.ini
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue