HomePhabricator

[LINTER] Enforce mypy >= 0.780

Description

[LINTER] Enforce mypy >= 0.780

Summary:
Found during testing, previous versions are buggy in several ways:

  • They don't follow dependencies the same and print the issues from other files
  • They have trouble handling python 3.6 type annotation syntax

Test Plan:
Read and try the instructions (tested on Debian 10 and Ubuntu Focal).

arc lint --everything

Reviewers: #bitcoin_abc, PiRK

Reviewed By: #bitcoin_abc, PiRK

Differential Revision: https://reviews.bitcoinabc.org/D9740

Details

Provenance
FabienAuthored on Jul 6 2021, 09:52
FabienPushed on Jul 6 2021, 12:27
Reviewer
Restricted Project
Differential Revision
D9740: [LINTER] Enforce mypy >= 0.780
Parents
rABCfaf4a486a6ea: [core#19011 3/3] Reduce cs_main lock accumulation during GUI startup
Branches
Unknown
Tags
Unknown