From 560be47563387fcd6e85ee89d4e2b3def23d353c Mon Sep 17 00:00:00 2001 From: Liz Gehret <54517601+lizgehret@users.noreply.github.com> Date: Thu, 22 Aug 2024 17:03:09 -0700 Subject: [PATCH] only look at pyproject.toml instead of all toml files --- q2lint/_main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/q2lint/_main.py b/q2lint/_main.py index ad4eeaf..68daaed 100644 --- a/q2lint/_main.py +++ b/q2lint/_main.py @@ -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'):