Skip to content

Commit

Permalink
only look at pyproject.toml instead of all toml files
Browse files Browse the repository at this point in the history
  • Loading branch information
lizgehret authored Aug 23, 2024
1 parent cc4e4ed commit 560be47
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion q2lint/_main.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ def validate_project(install_requires):
errors.append('Missing LICENSE file')

for filepath in (pathlib.Path('.').glob('**/*.py')
and pathlib.Path('.').glob('**/*.toml')):
and pathlib.Path('.').glob('**/pyproject.toml')):
if str(filepath).startswith('build/'):
continue
if filepath.name in ('_version.py', 'versioneer.py'):
Expand Down

0 comments on commit 560be47

Please sign in to comment.