HomePhabricator

Add argument to mypy linter to always show error codes

Description

Add argument to mypy linter to always show error codes

Summary:
This is useful for determining the exact type to use for exceptions.
There's no reason to not show the error code all the time.

Test Plan:
With python 3.7, the following gives an error (with error code):

arc lint test/functional/test_framework/txtools.py

This is fixed in a followup patch.

Reviewers: #bitcoin_abc, PiRK

Reviewed By: #bitcoin_abc, PiRK

Subscribers: PiRK

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

Details

Provenance
sdulfariAuthored on Jun 22 2022, 21:37
sdulfariPushed on Jun 23 2022, 14:32
Reviewer
Restricted Project
Differential Revision
D11654: Add argument to mypy linter to always show error codes
Parents
rABC3f869ff44292: [Automated] Update timing.json
Branches
Unknown
Tags
Unknown