Comments (6)
This is not a bug in flake8. Your strings are invalid in Python 3 which is why us trying to parse it with the standard library fails. Please look up rae strings and in the future fill out the entire issue template
from flake8.
Thanks for the quick reply, but I have 2 follow up questions:
The comments I mentioned can look like this for example: "To find the files uploaded, look at \\network\xyz"
. Using raw strings would look like this "To find the files uploaded, look at r'\\network\xyz'"
or this r"To find the files uploaded, look at \\network\xyz
, both of which I don't think are nice since it's all in a comment anyways and not a variable. Especially in docstrings I don't want to add "r" every time now
Also which parts of the issue template? I only found a reference to the documentation that I shouldn't just write "I want this changed", and the rest of the template only has 2 notes and the prompt to describe what I want. Maybe I overlooked something, since I don't create issues here so often
from flake8.
Also which parts of the issue template? I only found a reference to the documentation that I shouldn't just write "I want this changed", and the rest of the template only has 2 notes and the prompt to describe what I want. Maybe I overlooked something, since I don't create issues here so often
https://github.com/PyCQA/flake8/blob/main/.github/ISSUE_TEMPLATE/01_bug.yml
You're effectively trying to report a bug, but there is no information about which version of Flake8, python, etc. you're using and no minimal reproducible example.
from flake8.
Ah I guess that's where the problem was. I thought it was more of a feature request, so I didn't look at the bug report template, sorry.
I am using python 3.12.1 with flake8 version 7.0.0
My command used was flake8 . --ignore=E401,E302,F821,E265,E306,E305,E402,E124,E121,E501,E722,W605,W504,W503
, but the reports also appear with "flake8 ."
Do you think this ticket can be reopened this way? (or if I do an actual bug report)
from flake8.
Okay I just noticed it's not only with flake8, but a general python issue
from flake8.
in short the linter is correct and you would do best to not ignore it
from flake8.
Related Issues (20)
- 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
- 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
- Update plugin registration documentation about entry points HOT 4
- E704 false positives with one line overload def HOT 2
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.