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

Allow use-varnames-strict-mode with a configuration option #13

Closed
stdedos opened this issue Nov 28, 2022 · 4 comments
Closed

Allow use-varnames-strict-mode with a configuration option #13

stdedos opened this issue Nov 28, 2022 · 4 comments
Labels
enhancement New feature or request

Comments

@stdedos
Copy link

stdedos commented Nov 28, 2022

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 set use-varnames-strict-mode = true on the file, and flake8-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.

@stdedos stdedos added the enhancement New feature or request label Nov 28, 2022
@Arondit
Copy link
Contributor

Arondit commented May 10, 2023

Thank you very much for idea. We've created a task in our tracker. I don't know though, when we will be able to take it in work.

@PashaWNN
Copy link

I've done it here: #16
Waiting for approval

@PashaWNN
Copy link

@Arondit merged. Check it out 😉

@Arondit
Copy link
Contributor

Arondit commented Jun 16, 2023

@stdedos i've closed issue because it's done. If something is wrong, please, create new issue.

@Arondit Arondit closed this as completed Jun 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants