Skip to content Skip to sidebar Skip to footer
Showing posts with the label Flake8

Flake8 Max-complexity Per File

I have a legacy project using flake8 to check code quality and complexity, but the project has some… Read more Flake8 Max-complexity Per File

Python Flake8 Py Reporting W391 (no Newline At End Of File) Incorrectly

W391 says that there should be one (and only one) blank line at the end of file. However, flake8 re… Read more Python Flake8 Py Reporting W391 (no Newline At End Of File) Incorrectly

How Do I Get Flake8 To Work With F811 Errors?

We're using flake8 to test our code, and we're using pytest with fixtures. The following co… Read more How Do I Get Flake8 To Work With F811 Errors?

How To Fix Issues With E402?

We are trying to fix issues with PEP8 E402. Mostly our code is broken on: import os os.environ['… Read more How To Fix Issues With E402?

Python Flake8 Py Reporting W391 (no Newline At End Of File) Incorrectly

W391 says that there should be one (and only one) blank line at the end of file. However, flake8 re… Read more Python Flake8 Py Reporting W391 (no Newline At End Of File) Incorrectly