Skip to content

Commit 3bf1197

Browse files
committed
Fix setup.cfg error
Don't move pytest settings into setup.cfg pytest-dev/pytest#3062
1 parent fcec757 commit 3bf1197

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

pytest.ini

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# https://github.com/pytest-dev/pytest/issues/3062
2+
# Don't move below settings into setup.cfg
3+
[pytest]
4+
testpaths = ./tests
5+
log_format = %(asctime)s - %(name)s - %(levelname)s - %(message)s

setup.cfg

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,6 @@ import_heading_thirdparty=Third Party Library
2424
import_heading_firstparty=First Party Library
2525
import_heading_localfolder=Local Folder
2626

27-
[tool:pytest]
28-
testpaths = ./tests
29-
log_format = %(asctime)s - %(name)s - %(levelname)s - %(message)s
30-
3127
[coverage:run]
3228
branch = true
3329
omit = site-packages

0 commit comments

Comments
 (0)