Skip to content

Add config option max-cognitive-complexity #8

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

Open
mbarkhau opened this issue Aug 17, 2022 · 1 comment
Open

Add config option max-cognitive-complexity #8

mbarkhau opened this issue Aug 17, 2022 · 1 comment

Comments

@mbarkhau
Copy link

In addition to the existing cli option, would it be possible to add or document a configuration option?

@Kristinita
Copy link

Type: Answer 💬

If I add to my file .flake8 this line:

max_cognitive_complexity = 10

or this line:

max-cognitive-complexity = 10

flake8-cognitive-complexity successfully apply the value of the option.

Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants