-
Notifications
You must be signed in to change notification settings - Fork 436
Enable more of mypy's diagnostics #983
Copy link
Copy link
Open
Labels
A-spec-toolArea: Specification Tooling—Tools for the Ethereum specification (eg. `src/ethereum_spec_tools/*`)Area: Specification Tooling—Tools for the Ethereum specification (eg. `src/ethereum_spec_tools/*`)C-featCategory: an improvement or new featureCategory: an improvement or new featureE-easyExperience: easy, good for newcomersExperience: easy, good for newcomersP-highstaleThe Issue/PR has not had any activity for 60 days. PRs will be automatically closed.The Issue/PR has not had any activity for 60 days. PRs will be automatically closed.
Milestone
Description
The full list is here: https://mypy.readthedocs.io/en/stable/error_code_list2.html
From a quick read, we probably want to enable at least:
disallow-any-genericsdisallow-untyped-defswarn-redundant-castsstrict-equalitydisallow-untyped-callswarn-return-anydisallow-any-unimportedwarn-unreachableignore-without-codeunused-ignoreexplicit-overridemutable-override
I think some of these are already on, but it doesn't hurt to check.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
A-spec-toolArea: Specification Tooling—Tools for the Ethereum specification (eg. `src/ethereum_spec_tools/*`)Area: Specification Tooling—Tools for the Ethereum specification (eg. `src/ethereum_spec_tools/*`)C-featCategory: an improvement or new featureCategory: an improvement or new featureE-easyExperience: easy, good for newcomersExperience: easy, good for newcomersP-highstaleThe Issue/PR has not had any activity for 60 days. PRs will be automatically closed.The Issue/PR has not had any activity for 60 days. PRs will be automatically closed.