question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Use .flake8 file for project-level flake8 configuration

See original GitHub issue

Currently, 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:closed
  • Created 5 years ago
  • Comments:8 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
brettcannoncommented, Jun 7, 2018

@jamy015 Thanks!

0reactions
jamy015commented, Jun 7, 2018

I’ll open a PR to the docs!

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found