Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BANG-226 parse option from config #16

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions flake8_variables_names/checker.py
Original file line number Diff line number Diff line change
Expand Up @@ -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]


Expand Down Expand Up @@ -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
Expand Down