#3971 closed enhancement (fixed)

Configure mypy to be more strict

Reported by: daniellee Owned by: daniellee
Priority: minor Milestone: undecided
Component: unknown Version: n/a
Keywords: Cc:
Launchpad Bug:

Description

The mypy --strict flag is a group of options and works by enabling a number of more fine-grained flags. mypy --help will show the concrete flags of the mypy version in use.

This enables us to make the type checks "more strict" gradually.

Find out what mypy "strict" checks our source code currently already passes and add them to the mypy configuration to prevent regressions in the future.

Change History (2)

comment:1 Changed at 2023-02-03T16:19:42Z by daniellee

  • Owner set to daniellee
  • Status changed from new to assigned

comment:2 Changed at 2023-02-07T17:32:07Z by GitHub <noreply@…>

  • Resolution set to fixed
  • Status changed from assigned to closed

In 45d9ed8/trunk:

Merge pull request #1256 from danielzwlee/3971.mypy-config

Configure mypy to be more strict

Fixes ticket:3971

Note: See TracTickets for help on using tickets.