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

param max-line-length = 90 not working #405

Closed
ArtemIsmagilov opened this issue Jun 10, 2024 · 3 comments
Closed

param max-line-length = 90 not working #405

ArtemIsmagilov opened this issue Jun 10, 2024 · 3 comments

Comments

@ArtemIsmagilov
Copy link
Contributor

i try linting code.
run

flake8 .

my code have line length ~100, but flake8 command no show this error.
i try change max-doc-length = 40 and this changes was raise error nut not max-line-length = 40
Need fix this bug

@ArtemIsmagilov
Copy link
Contributor Author

ArtemIsmagilov commented Jun 10, 2024

why ?

ignore = E226, ``E501``, E722, W503

https://pycodestyle.pycqa.org/en/latest/intro.html#error-codes

@Dreamsorcerer
Copy link
Member

why ?

Read the comments?

aiomcache/.flake8

Lines 7 to 10 in 9703932

# E226: Missing whitespace around arithmetic operators can help group things together.
# E501: Superseeded by B950 (from Bugbear)
# E722: Superseeded by B001 (from Bugbear)
# W503: Mutually exclusive with W504.

@ArtemIsmagilov
Copy link
Contributor Author

ArtemIsmagilov commented Jun 10, 2024

Indeed, I just didn't read the code carefully, I need to read the code more carefully.

B950: Line too long. This is a pragmatic equivalent of pycodestyle’s E501: it considers “max-line-length” but only triggers when the value has been exceeded by more than 10%.

https://pypi.org/project/flake8-bugbear/

@ArtemIsmagilov ArtemIsmagilov closed this as not planned Won't fix, can't repro, duplicate, stale Jun 10, 2024
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