This issue proposes improving the glob patterns of each job in the Lefthook configuration to ensure they cover all files that may affect the corresponding job. For example, for the fix lint job, it’s not only the *.py files that should trigger the job, but also pyproject.toml, which stores the configuration, and poetry.lock, which specifies the version of the ruff package used by the fix lint job.
This issue proposes improving the glob patterns of each job in the Lefthook configuration to ensure they cover all files that may affect the corresponding job. For example, for the
fix lintjob, it’s not only the*.pyfiles that should trigger the job, but alsopyproject.toml, which stores the configuration, andpoetry.lock, which specifies the version of theruffpackage used by thefix lintjob.