Terms
Issue
As a part of the broader work to improve Scribe-Data's code quality, we would like to fix all of the mypy errors on the project. In order to achieve this, we'll need to remove the ignore that's been placed on multiple rules in the pyproject.toml file.
Please note that multiple people can be assigned this issue, but we would like only one rule being fixed per pull request to make sure that the workload for reviewers is manageable. Currently there are hundreds of mypy errors, so we would like this to be fixed in many smaller pull requests.
At time of writing this is the list of ignored rules:
[tool.mypy]
disable_error_code = [
"arg-type",
"assignment",
"attr-defined",
"call-arg",
"call-overload",
"comparison-overlap",
"func-returns-value",
"import-untyped",
"index",
"list-item",
"misc",
"no-any-return",
"no-redef",
"no-untyped-call",
"no-untyped-def", ✅
"operator",
"return",
"return-value",
"type-arg",
"union-attr",
"valid-type",
"var-annotated",
]
Terms
Issue
As a part of the broader work to improve Scribe-Data's code quality, we would like to fix all of the mypy errors on the project. In order to achieve this, we'll need to remove the ignore that's been placed on multiple rules in the pyproject.toml file.
Please note that multiple people can be assigned this issue, but we would like only one rule being fixed per pull request to make sure that the workload for reviewers is manageable. Currently there are hundreds of mypy errors, so we would like this to be fixed in many smaller pull requests.
At time of writing this is the list of ignored rules: