Allow use-varnames-strict-mode
with a configuration option
#13
Labels
enhancement
New feature or request
use-varnames-strict-mode
with a configuration option
#13
Is your feature request related to a problem? Please describe.
When multiple execution contexts are defined (e.g. dev-env, pre-commit, CI), it will be nice to have a SSOT (https://en.wikipedia.org/wiki/Single_source_of_truth) of whether this option is enabled or not.
Describe the solution you'd like
"For all of flake8's configuration streams" (e.g.
.flake8
,pyproject.toml
), I can setuse-varnames-strict-mode = true
on the file, andflake8-variables-names
picks it up.Describe alternatives you've considered
pre-commit has
args
to pass custom args to tools, but I cannot affect how the dev-env reacts to that.e.g. developers IDE may not by-default activate that setting, and, even if the developer remembers to run manually on the terminal
flake8 --use-varnames-strict-mode
, s/he will still get no feedback while writing code.Additional context
Add any other context or screenshots about the feature request here.
The text was updated successfully, but these errors were encountered: