Skip to content

Commit

Permalink
Move pytest config to pyproject.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
insspb committed Jul 8, 2022
1 parent f3347f5 commit 9b2621a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 4 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -113,3 +113,7 @@ multi_line_output = 3
include_trailing_comma = true
force_grid_wrap = 0
use_parentheses = true

[tool.pytest.ini_options]
addopts = "--cov=flask_mongoengine --cov-config=setup.cfg"
testpaths = ["tests"]
4 changes: 0 additions & 4 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
[tool:pytest]
addopts = --cov=flask_mongoengine --cov-config=setup.cfg
testpaths = tests

[flake8]
ignore=E501,F403,F405,I201,W503,E203
max-line-length=90
Expand Down

0 comments on commit 9b2621a

Please sign in to comment.