jenkinsapi
jenkinsapi copied to clipboard
Improve typing support
Multiple Changes:
- Add
mypyto the git workflow "lint" step - Add mypy and types-* packages to pyproject.toml
- Remove compat imports for "unittest2" and "mock" which are long obsolete
- Fix a great number of typing errors
Currently at <30 typing errors.
Let me know if you want this to actually reach zero mypy errors. Alternatively I can split this PR into smaller changes instead.
Failure seems transient, unrelated to my change
rebased and solved minor conflict with ruff reformat