Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Overhauled linting #409

Merged
merged 13 commits into from
Jan 8, 2022
Merged

Overhauled linting #409

merged 13 commits into from
Jan 8, 2022

Conversation

agronholm
Copy link
Owner

@agronholm agronholm commented Jan 6, 2022

This changeset should fix the new errors that appeared with mypy 0.930.

It also switches lint checks over to pre-commit.ci and enforces a specific pre-commit configuration. This also eliminates duplication between pre-commit, tox and Github Actions workflows. It also adds a number of useful checks, including pyupgrade and pygrep-hooks.

@agronholm agronholm changed the title Fixed mypy errors Overhauled linting Jan 8, 2022
.pre-commit-config.yaml Outdated Show resolved Hide resolved
@agronholm agronholm merged commit 59ae376 into master Jan 8, 2022
@agronholm agronholm deleted the fix-mypy branch January 8, 2022 23:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants