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

Strict mypy - Phase 1 #2533

Merged
merged 10 commits into from
Jun 13, 2024
Merged

Strict mypy - Phase 1 #2533

merged 10 commits into from
Jun 13, 2024

Conversation

svartkanin
Copy link
Collaborator

@svartkanin svartkanin commented Jun 9, 2024

This PR is to start the enforcement of strict mypy validation.
The plan is to add more and more files after they have been cleaned up which means that any new changes to such files have to be compliant. This way not all files need to be fixed at once but it can be done gradually.

  • Add strict mypy compliant configuration mypy.ini that is validated alongside the existing "looser" checks
  • Modify the existing workflows to install the mypy/flake8 version specified in the pyproject.toml file rather than puling the latest as they may diverge in checks

@svartkanin svartkanin requested a review from Torxed as a code owner June 9, 2024 02:53
@Torxed Torxed merged commit aa87fb1 into archlinux:master Jun 13, 2024
6 checks passed
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.

3 participants