Skip to content

Commit

Permalink
lint: tighter scope of ignores
Browse files Browse the repository at this point in the history
  • Loading branch information
pajod committed Jul 31, 2024
1 parent 03b8356 commit c613240
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
7 changes: 2 additions & 5 deletions .pylintrc
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,8 @@ disable=
bad-mcs-classmethod-argument,
bare-except,
broad-except,
duplicate-bases,
duplicate-code,
eval-used,
superfluous-parens,
fixme,
import-error,
import-outside-toplevel,
Expand Down Expand Up @@ -47,9 +46,7 @@ disable=
ungrouped-imports,
unused-argument,
useless-object-inheritance,
useless-import-alias,
comparison-with-callable,
try-except-raise,
consider-using-with,
consider-using-f-string,
unspecified-encoding
unspecified-encoding,
3 changes: 3 additions & 0 deletions tests/test_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
# This file is part of gunicorn released under the MIT license.
# See the NOTICE for more information.

# config contains callables - comparing those is intended here
# pylint: disable=comparison-with-callable

import os
import re
import sys
Expand Down

0 comments on commit c613240

Please sign in to comment.