Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Jan 27, 2025
1 parent 94c3464 commit 1d29c6a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tox/config/source/discover.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ def _locate_source() -> Source | None:

def _load_exact_source(config_file: Path) -> Source:
# if the filename matches to the letter some config file name do not fallback to other source types
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
for src_type in exact_match or SOURCE_TYPES: # pragma: no branch
try:
return src_type(config_file)
Expand Down

0 comments on commit 1d29c6a

Please sign in to comment.