Skip to content

Commit 1d29c6a

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 94c3464 commit 1d29c6a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/tox/config/source/discover.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ def _locate_source() -> Source | None:
6868

6969
def _load_exact_source(config_file: Path) -> Source:
7070
# 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
71+
exact_match = [s for s in SOURCE_TYPES if config_file.name == s.FILENAME] # pragma: no cover
7272
for src_type in exact_match or SOURCE_TYPES: # pragma: no branch
7373
try:
7474
return src_type(config_file)

0 commit comments

Comments
 (0)