diff options
author | Nick Drozd <nicholasdrozd@gmail.com> | 2023-01-28 13:35:46 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-28 19:35:46 +0100 |
commit | af555eddf6ecdb1993345dce728a6b4c38dd4a02 (patch) | |
tree | a0c05f8d37da73c4021c82b7c9e8ce5df5aad855 /tests/checkers | |
parent | acb28d8fcefb06179d9e6528ba14dd099e12ecfa (diff) | |
download | pylint-git-af555eddf6ecdb1993345dce728a6b4c38dd4a02.tar.gz |
Tighten design constraints (#8115)
* Lower max locals
* Lower max statements
* Lower max try statements
* Lower max branches
* Lower max args
* Cut design constraints with default values
Diffstat (limited to 'tests/checkers')
-rw-r--r-- | tests/checkers/unittest_deprecated.py | 1 | ||||
-rw-r--r-- | tests/checkers/unittest_format.py | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/tests/checkers/unittest_deprecated.py b/tests/checkers/unittest_deprecated.py index b02992e99..d34150247 100644 --- a/tests/checkers/unittest_deprecated.py +++ b/tests/checkers/unittest_deprecated.py @@ -53,6 +53,7 @@ class _DeprecatedChecker(DeprecatedMixin, BaseChecker): return {".deprecated_decorator"} +# pylint: disable-next = too-many-public-methods class TestDeprecatedChecker(CheckerTestCase): CHECKER_CLASS = _DeprecatedChecker diff --git a/tests/checkers/unittest_format.py b/tests/checkers/unittest_format.py index 9a34429ee..fd0699daa 100644 --- a/tests/checkers/unittest_format.py +++ b/tests/checkers/unittest_format.py @@ -165,6 +165,7 @@ def test_disable_global_option_end_of_line() -> None: 1 """ ) + # pylint: disable = too-many-try-statements try: linter = lint.PyLinter() checker = BasicChecker(linter) |