Since the auto-generated Django files don't fulfill numerous pylint-requirements, my pre-commit checker fails:
The files look usually like so:
They seem to be located automatically in a sub-folder called "migrations":
Now, I tried to leverage the pre-commit exclude expressions with a proper REGEX.
This one seemed to work on an online REGEX-tester:
[\w-]+\d+[^\\]*.py
Now, putting this into my pylint pre-commit checker does unfortunately nothing:
I also tried to just exclude the "migrations" folder, but I could not find a working expression either. How can I make this work?