File tree Expand file tree Collapse file tree 2 files changed +19
-15
lines changed
Expand file tree Collapse file tree 2 files changed +19
-15
lines changed Original file line number Diff line number Diff line change @@ -11,3 +11,22 @@ profile = "black"
1111py_version = " 37"
1212skip_gitignore = true
1313line_length = 120
14+
15+ [tool .pytest .ini_options ]
16+ minversion = " 6.0"
17+ required_plugins = [" pytest-cov" ]
18+ testpaths = [" tcod/" , " tests/" , " docs/" ]
19+ addopts = [
20+ " --doctest-modules" ,
21+ " --doctest-glob='*.rst'" ,
22+ " --cov=tcod" ,
23+ " --capture=sys" ,
24+ " --ignore=tcod/__pyinstaller" ,
25+ ]
26+ log_file_level = " DEBUG"
27+ faulthandler_timeout = 5
28+ filterwarnings = [
29+ " ignore::DeprecationWarning:tcod.libtcodpy" ,
30+ " ignore::PendingDeprecationWarning:tcod.libtcodpy" ,
31+ " ignore:This class may perform poorly and is no longer needed.::tcod.map" ,
32+ ]
Original file line number Diff line number Diff line change @@ -8,21 +8,6 @@ py-limited-api = cp36
88[aliases]
99test =pytest
1010
11- [tool:pytest]
12- addopts =
13- tcod/
14- tests/
15- docs/
16- --doctest-modules
17- --doctest-glob =" *.rst"
18- --cov =tcod
19- --capture =sys
20- --ignore =tcod/__pyinstaller
21- filterwarnings =
22- ignore::DeprecationWarning:tcod.libtcodpy
23- ignore::PendingDeprecationWarning:tcod.libtcodpy
24- ignore:This class may perform poorly and is no longer needed.::tcod.map
25-
2611[flake8]
2712ignore = E203 W503
2813max-line-length = 120
You can’t perform that action at this time.
0 commit comments