Skip to content
Snippets Groups Projects

add type annotations and pylint configuration

Merged Stuart Prescott requested to merge stuart/python-debian:typing into master

This MR includes

  • type annotations (compatible with both Python 2 and 3) for the module
  • changes needed to fix bugs highlighted by the type annotations
  • changes needed to fix bugs highlighted by pylint
  • a pylint config to silence more annoying warnings that we are unlikely to fix

The final code is clean with mypy (type checking) and pylint3 (current upstream release, since the Debian package is not currently installable).

Edited by Stuart Prescott

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
Please register or sign in to reply
Loading