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

Run Mypy by default. #1270

Open
wants to merge 8 commits into
base: main
Choose a base branch
from
Open

Run Mypy by default. #1270

wants to merge 8 commits into from

Conversation

Carreau
Copy link
Member

@Carreau Carreau commented Oct 3, 2024

Otherwise the types annotations are less usefull, even with ruff.

Ignore/fix types errors.

Also the mypy config was way to lax, ignoring errors project wide intead of per-file.
This make it much stricter and only ignore error on each file, so this types of errors are still confined, and it is easy-ish, to make it a bit more stricter progressively

@Carreau Carreau closed this Oct 4, 2024
@Carreau Carreau reopened this Oct 4, 2024
Otherwise the types annotations are less usefull, even with ruff.

Ignore/fix types errors.
@Carreau
Copy link
Member Author

Carreau commented Oct 17, 2024

I'm still also super-confused as running mypy directly and running via hatch/precommit gives different results

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant