Comments (3)
The example code is not valid python syntax. The same error occurs when running it through the Python interpreter.
$ python test.py File "test.py", line 4 except: ^ IndentationError: unindent does not match any outer indentation level
from pycodestyle.
You cannot run it if the code is not valid Python.
from pycodestyle.
Now fixed in trunk with specific error E901.
from pycodestyle.
Related Issues (20)
- 2.11: raise E201 and E202 with 3.12.0rc1 HOT 1
- Undocumented breaking change affecting autopep8 HOT 4
- E721 false positive with method access
- Clarify how to configure pycodestyle when using pyproject.toml HOT 1
- E302 with @overload: Should the `def`s be grouped together? HOT 1
- Testing using sdist? HOT 1
- Poetry >= 1.5.0 incompatibility HOT 1
- E123 handling not according PEP8 ? HOT 2
- False positive E202 and E251 inside f-string (Python 3.12) HOT 10
- E231 false positive with pycodestyle version 2.11.0 HOT 1
- E901: not detected in Python 3.12.0 HOT 2
- E275: false positive with f-strings in Python 3.12 HOT 1
- List unpack operator in assignment triggers false positive E999 HOT 1
- Tests fail with sources from PyPI for v2.11.1 HOT 1
- ModuleNotFoundError: No module named 'flake8.plugins.pycodestyle' HOT 2
- blank lines and form feed (^L) HOT 2
- Fails to detect `E713 test for membership should be 'not in'` when left side more complex than simple variable HOT 1
- Gitdev
- missing description of public interface in documentation HOT 9
- E306 clarification 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 pycodestyle.