Page MenuHomePhabricator

Add argument to mypy linter to always show error codes
ClosedPublic

Authored by sdulfari on Jun 22 2022, 21:42.

Details

Reviewers
PiRK
Group Reviewers
Restricted Project
Commits
rABC8d0c7331a5c2: 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.

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Not Applicable
Unit
Tests Not Applicable