sourcery icon indicating copy to clipboard operation
sourcery copied to clipboard

Automatically ignore anything in .gitignore

Open miketheman opened this issue 2 years ago • 0 comments

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/

miketheman avatar Jun 18 '23 19:06 miketheman