Comments (6)
In GitLab by @sigmavirus24 on Sep 23, 2014, 19:12
I can reproduce this. Thanks for the report @nathan12343
from flake8.
In GitLab by @sigmavirus24 on Sep 23, 2014, 20:33
So this is being triggered in pep8. I'm curious why we're only seeing this now.
I disabled multiprocessing to ensure it wasn't that. If there's a config file in the directory, it'll work just fine. I wonder when exactly this broke.
from flake8.
In GitLab by @jcwilson on Oct 6, 2014, 13:01
This is actually due to a larger issue of pep8 doing it's own option parsing which is being elided by flake8. For instance, [flake8] exclude patterns are not processed correctly for the internal pep8 delegation. flake8 sees it as a simple comma-delimited string while pep8 processes it into a list of exclude patterns. Since pep8 iterates over the exclude value when testing the patterns, it ends up comparing package and module names against the individual characters in the string passed from flake8, not the tokenized items that it expects to receive.
Should I open a separate issue for this?
from flake8.
In GitLab by @sigmavirus24 on Oct 6, 2014, 13:42
@jcwilson can you rewrite that perhaps to be more coherent? As best I can tell your comment does not relate to this issue at all.
from flake8.
In GitLab by @jcwilson on Oct 6, 2014, 14:32
Sure, let me create another issue so as not to add more noise to this one. Sorry for the confusing write up.
from flake8.
In GitLab by @sigmavirus24 on Oct 9, 2014, 14:47
Thanks for reporting this @nathan12343. It should be fixed as of 7fd24c2 and the soon-to-be-released 2.2.4. Cheers!
from flake8.
Related Issues (20)
- f-string like `f"{foo = }"` is detected as an error HOT 1
- Support using configuration from .editorconfig HOT 3
- Support for union type hints using "bitwise or" HOT 1
- `UnicodeDecodeError` at parsing cli's arguments HOT 1
- flake8 evaluate all setup.cfg sections HOT 1
- Q: List of available/active rules HOT 4
- Support newer versions of pycodestyle HOT 2
- Use setuptools.build_meta HOT 1
- E231 when using f-string HOT 1
- Export current configuration HOT 1
- --append-config does not extend defaults HOT 1
- Throwing a lint error when there isn't one HOT 2
- flake8 crash (string index out of range) on python 3.12 HOT 7
- Allow the enforcing of some type hint practices HOT 1
- Docu: Lookup location for ".flake8" unclear HOT 3
- Ignore "SyntaxWarning: invalid escape sequence" HOT 6
- pycodestyle entry point means "noqa" is not populated HOT 1
- Allow TODO issue with pound sign anywhere in text HOT 6
- pre-commit cache contains tests folder HOT 2
- Trailing slash breaks exclude and extend-exclude config HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from flake8.