Skip to content

Commit e07b38b

Browse files
committed
Have Pytest ignore PyInstaller hook directory.
Testing it would require PyInstaller which seems unnecessary.
1 parent 1677c5f commit e07b38b

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

setup.cfg

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,13 @@ pyinstaller40 =
66
test=pytest
77

88
[tool:pytest]
9-
addopts=tcod/ tests/ --doctest-modules --cov=tcod --capture=sys
9+
addopts=
10+
tcod/
11+
tests/
12+
--doctest-modules
13+
--cov=tcod
14+
--capture=sys
15+
--ignore=tcod/__pyinstaller
1016
filterwarnings =
1117
ignore::DeprecationWarning:tcod.libtcodpy
1218
ignore::PendingDeprecationWarning:tcod.libtcodpy

0 commit comments

Comments
 (0)