atom-community / atom-community/ide-python

flake8 exclude list does not work

Open
#276 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
238
Forks
40
PR merge metrics
No merged PRs in 30d

Description

flake8 runs on files even if they are in the exclude list.

To reproduce:
1. Create a file called `.svn`.
2. Open it in Atom.
3. Change the grammar to MagicPython.
4. Type `1 + `.
5. Open the Linter pane and notice flake8 has raised W291 and E999.

Contributor guide

Open the contributing guide

Research direction

Reproduce the issue in Atom by creating a `.svn` file, selecting MagicPython, typing `1 + `, and checking the Linter pane. Start by tracing how flake8 receives the exclude list; done means files listed there are not linted and the W291 and E999 messages no longer appear.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.