Use .flake8 file for project-level flake8 configuration
See original GitHub issueCurrently, if flake8 is used as linter, the only project-level config files that are considered are tox.ini
and setup.cfg
(at least according to the docs on code.visualstudio.com). However, flake8 itself also considers the project-level file .flake8
. It would be great if this extension could also consider that file.
Environment data
- VS Code version: 1.23.1
- Extension version (available under the Extensions sidebar): 2018.5.0
- OS and version: Windows 10 (version 1803)
- Python version (& distribution if applicable, e.g. Anaconda): Python 3.6.5
- Type of virtual environment used (N/A | venv | virtualenv | conda | …): N/A
- Relevant/affected Python packages and their versions: flake8 3.5.0
Issue Analytics
- State:
- Created 5 years ago
- Comments:8 (2 by maintainers)
Top Results From Across the Web
Use .flake8 file for project-level flake8 configuration #1884
flake8 . It would be great if this extension could also consider that file. Environment data. VS Code version: 1.23.1; Extension version ( ......
Read more >Configuring Flake8 — flake8 6.0.0 documentation
Regardless of whether you keep your config in .flake8 , setup.cfg , or tox.ini we expect you to use INI to configure Flake8...
Read more >flake8 is not picking up the project level config - Stack Overflow
I have setup.cfg file in the directory containing python files with the following ... I suspect you may also have a tox.ini or...
Read more >4.2 Create a project configuration file for flake8 - GitBook
Create a file at root level of the project directory and name it as ".flake8". Flake8 configuration options needs ...
Read more >Linting | Python in Visual Studio Code
Custom Configuration The user settings are read from the ~/.config/flake8 file (or the ~/.flake8 file on Windows). At the project level, a tox.ini...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@jamy015 Thanks!
I’ll open a PR to the docs!