Versions λ python --version Python 3.10.6 λ flake8 --version 5.0.4 (mccabe: 0.7.0, pycodestyle: 2.9.1, pyflakes: 2.5.0) CPython 3.10.6 on Linux # a ...
Versions λ python --version Python 3.10.6 λ flake8 --version 5.0.4 (mccabe: 0.7.0, pycodestyle: 2.9.1, pyflakes: 2.5.0) CPython 3.10.6 on Linux # a ...
I ran into weird issue which I have trouble solving. I have following tox.ini file: The black commands works as expected for PAGES, but the command ...
I'm trying to run Flake8 over all the Python files in my project. How to make it work? I get this error: .py:0:1: E902 OSError: [Errno 22] Invali ...
I have two files which roughly look like this. module1.py: folder_1/module2.py: Basically in one file I declare and assign a variable and in ano ...
I've been stuck with this problem for a couple of days now. I am trying to dockerize a django REST API + react (create-react-app) application. proble ...
The pre-commit run suddenly fails without changes being made to the pre-commit configuration file. The log shows the following error message when atte ...
According to: https://flake8.pycqa.org/en/6.0.0/user/options.html#cmdoption-flake8-select --select=<errors> Specify the list of error code ...
When I run flake8 . command I want to raise flake8 error if "print_queries" string is present anywhere in project files checked into VCS (and not excl ...
Here I'm going to use flake8 within a docker container. I installed flake8 using the following command and everything installed successfully. $ su ...
I am trying to figure out a way to break a long for loop to make it PEP-8 valid. (I'm using flake8 vscode extension). This is the code: The error ...
I am trying to write a pytest of the form The pytests pass, but once I try to commit to GitLab, I get the following message and the commit fails to ...
I want to configure Flake8 to run on a Pycharm project using VirtualEnv. I'm using Windows 10/11 as OS. I know I need to configure it as an external t ...
I am having flake8 installed and VSCode is able to detect default checks with the squiggly lines. Now, I installed flake8-docstring but VSCode is not ...
I'm trying to use flake8(pydocstyle) to check the quality of my docstring and I'm getting this error: D205: 1 blank line required between summary lin ...
I keep getting: Please help me fix my code, as I can't figure out what is wrong here: ...
In my Django app, I have an abstract model called MyModel that has e.g. created_at and updated_at fields. I want all the models in my project to subcl ...
I have Makefile and command inside it: I get following error: How can i fix it? ...
I would like to ignore a specific line in static code analysis. For Flake8, I'd use the syntax # noqa: F401. For pylint, I'd use the syntax # pylint ...
I have a GitHub Action workflow file that is doing multiple linting checks. flake8 is the first linting check and if it fails the entire workflow fail ...
I have the pre-commit config file with pre-push hook type. Every time when I push to the repo, my CPU shows me 100% of using power. Why it happens? ...