Bug 53984 - enable mypy linter
enable mypy linter
Status: NEW
Product: UCS@school
Classification: Unclassified
Component: General
UCS@school 5.0
Other Linux
: P5 normal (vote)
: ---
Assigned To: UCS@school maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2021-10-25 09:14 CEST by Daniel Tröder
Modified: 2023-06-23 13:25 CEST (History)
1 user (show)

See Also:
What kind of report is it?: Development Internal
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Tröder univentionstaff 2021-10-25 09:14:58 CEST
Incrementally enable linting Python code by mypy or pyright.
Start with a white list of only already annotated files.
Expand annotations (and thus the list of files to check) incrementally.
Enable the check as a pre-commit hook.