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

Corrected the condition to match PEP8 #322

Closed
wants to merge 0 commits into from

Conversation

nikzor
Copy link
Contributor

@nikzor nikzor commented May 19, 2024

In cyclomatic_complexity.py file in repository we get warning from linter: "PEP 8: E501 line too long (129 > 120 characters)" in line 41

elif (isinstance(parser_class, (tree.ForStatement, tree.IfStatement, tree.WhileStatement, tree.DoStatement, tree.TernaryExpression))):

@yegor256
Copy link
Owner

@nikzor this is a good fix, but we must first reproduce the problem in a test. The bug is not in the line of code, but in the build pipeline: we don't have a strong enough static analyzer. Let's configure it first.

@yegor256
Copy link
Owner

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

Successfully merging this pull request may close these issues.

None yet

2 participants