Skip to content

Lint: Add check-peps.py#3275

Merged
AA-Turner merged 88 commits intopython:mainfrom
AA-Turner:pep-lint
Sep 5, 2023
Merged

Lint: Add check-peps.py#3275
AA-Turner merged 88 commits intopython:mainfrom
AA-Turner:pep-lint

Conversation

@AA-Turner
Copy link
Member

@AA-Turner AA-Turner commented Aug 5, 2023

pep-lint represents all of the custom PEP lints in .pre-commit-config.yaml, converted into a single Python file. This is for (hopefully) easier maintenance, as I find it quite hard to decipher the regular expressions in .pre-commit-config.yaml, especially as they work on negative matching.

I haven't changed .pre-commit-config.yaml for now, but when we are confident in pep-lint, I would suggest removing the custom PEP rules such that there is a single-source of truth.

A


📚 Documentation preview 📚: https://pep-previews--3275.org.readthedocs.build/

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

lint Linter-related work and linting fixes on PEPs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants