Allow config to exist in ".pytest.ini"

Added config search option of ".pytest.ini" in addition to "pytest.ini"
This commit is contained in:
Chris Wheeler 2022-05-23 09:38:30 -04:00 committed by GitHub
parent 611b579d21
commit 768a645011
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -96,6 +96,7 @@ def locate_config(
and return a tuple of (rootdir, inifile, cfg-dict)."""
config_names = [
"pytest.ini",
".pytest.ini",
"pyproject.toml",
"tox.ini",
"setup.cfg",