Skip to content

Commit 08542f8

Browse files
BANG-226: make plugin respect flake8 configuration file
1 parent 3db7cd9 commit 08542f8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

flake8_variables_names/checker.py

+2
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
from flake8_variables_names import __version__ as version
77
from flake8_variables_names.ast_helpers import extract_all_variable_names
88

9+
910
ErrorTuple = Tuple[int, int, str, type]
1011

1112

@@ -75,6 +76,7 @@ def add_options(cls, parser: OptionParser) -> None:
7576
parser.add_option(
7677
'--use-varnames-strict-mode',
7778
action='store_true',
79+
parse_from_config=True,
7880
)
7981

8082
@classmethod

0 commit comments

Comments
 (0)