Skip to content

Commit 9b2621a

Browse files
committed
Move pytest config to pyproject.toml
1 parent f3347f5 commit 9b2621a

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

pyproject.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,3 +113,7 @@ multi_line_output = 3
113113
include_trailing_comma = true
114114
force_grid_wrap = 0
115115
use_parentheses = true
116+
117+
[tool.pytest.ini_options]
118+
addopts = "--cov=flask_mongoengine --cov-config=setup.cfg"
119+
testpaths = ["tests"]

setup.cfg

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
[tool:pytest]
2-
addopts = --cov=flask_mongoengine --cov-config=setup.cfg
3-
testpaths = tests
4-
51
[flake8]
62
ignore=E501,F403,F405,I201,W503,E203
73
max-line-length=90

0 commit comments

Comments
 (0)