sourcery
sourcery copied to clipboard
Automatically ignore anything in .gitignore
Checklist
- [x] This is a new feature, not a refactoring suggestion
- [x] I have checked for this feature in the Sourcery documentation
- [x] I have checked there are no open requests referencing the same feature
Description
Somewhat following https://github.com/sourcery-ai/sourcery/issues/63
Instead of duplicating the entries in .gitignore, add them to the ignore section dynamically.
Maybe take advantage or inspiration from https://pypi.org/project/gitignore-parser/