Open twm opened 4 years ago
+1. In fact it should probably have several exclusions, off the top of my head these seem reasonable:
.pyc
filesVersion(..., NEXT, ...)
substitution if it isn't in a .py
file?__pycache__
at all*~
or other backup-like files__init__.py
?Perhaps we should implement the most-obvious of these and then allow exclusion patterns to be added in a setup.cfg
section if it turns out some projects have more complicated needs
The ability to exclude specific files would be useful, for example so that the Twisted compatibility policy can include examples of the NEXT substitution syntaxes.
It doesn't seem like incremental should mangle bytecode files:
Observed with incremental 17.5.0