From 08542f86c5c9ca1dd4f52b6fa6a63c296f92c50c Mon Sep 17 00:00:00 2001
From: Pavel Shishmarev
Date: Tue, 13 Jun 2023 13:44:16 +0300
Subject: [PATCH] BANG-226: make plugin respect flake8 configuration file
---
flake8_variables_names/checker.py | 2 ++
1 file changed, 2 insertions(+)
diff --git a/flake8_variables_names/checker.py b/flake8_variables_names/checker.py
index 95831ab..4c634ef 100644
--- a/flake8_variables_names/checker.py
+++ b/flake8_variables_names/checker.py
@@ -6,6 +6,7 @@
from flake8_variables_names import __version__ as version
from flake8_variables_names.ast_helpers import extract_all_variable_names
+
ErrorTuple = Tuple[int, int, str, type]
@@ -75,6 +76,7 @@ def add_options(cls, parser: OptionParser) -> None:
parser.add_option(
'--use-varnames-strict-mode',
action='store_true',
+ parse_from_config=True,
)
@classmethod