You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, we have a number of rather complex regexes in .pre-commit-config.yaml that validate various invariants in the PEPs. We also have a script check-peps.py that does the same thing in Python. Not only does that script not require long incomprehensible regexes, it also provides much better error messages to users.
So we should ditch the regexes and just use check-peps.py. @hugovk tells me that when we tried, there was some issue with Windows (#4061 (comment)). Let's figure out what the issue was and fix it, so we can fully remove the regexes.
The text was updated successfully, but these errors were encountered:
Currently, we have a number of rather complex regexes in
.pre-commit-config.yaml
that validate various invariants in the PEPs. We also have a script check-peps.py that does the same thing in Python. Not only does that script not require long incomprehensible regexes, it also provides much better error messages to users.So we should ditch the regexes and just use check-peps.py. @hugovk tells me that when we tried, there was some issue with Windows (#4061 (comment)). Let's figure out what the issue was and fix it, so we can fully remove the regexes.
The text was updated successfully, but these errors were encountered: