jenkinsapi icon indicating copy to clipboard operation
jenkinsapi copied to clipboard

Improve typing support

Open cdleonard opened this issue 5 months ago • 2 comments

Multiple Changes:

  • Add mypy to 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.

cdleonard avatar Jul 08 '25 11:07 cdleonard

Failure seems transient, unrelated to my change

cdleonard avatar Jul 10 '25 16:07 cdleonard

rebased and solved minor conflict with ruff reformat

cdleonard avatar Aug 25 '25 14:08 cdleonard