jendrikseipp / vulture

Find dead Python code
MIT License
3.29k stars 145 forks source link

Read exclude patterns from .gitignore in absence of user-provided patterns (#344) #345

Closed whosayn closed 6 months ago

whosayn commented 6 months ago

Description

Use .gitignore to exclude files if --exclude is missing from both pyproject.toml and the command line. Vulture now requires the pathspec library to run.

Related Issue

344

Checklist:

whosayn commented 6 months ago

@jendrikseipp a little stumped with the CI failures as I can't reproduce it locally. any ideas?

jendrikseipp commented 6 months ago

Thanks for making the revisions! I fixed the CI error and everything looks good now :-)