We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 94c3464 commit 1d29c6aCopy full SHA for 1d29c6a
src/tox/config/source/discover.py
@@ -68,7 +68,7 @@ def _locate_source() -> Source | None:
68
69
def _load_exact_source(config_file: Path) -> Source:
70
# if the filename matches to the letter some config file name do not fallback to other source types
71
- exact_match = list(s for s in SOURCE_TYPES if config_file.name == s.FILENAME) # pragma: no cover
+ exact_match = [s for s in SOURCE_TYPES if config_file.name == s.FILENAME] # pragma: no cover
72
for src_type in exact_match or SOURCE_TYPES: # pragma: no branch
73
try:
74
return src_type(config_file)
0 commit comments