Comments (3)
What needs to be clearer about
Flake8 supports storing its configuration in your project in one of setup.cfg, tox.ini, or .flake8.
It's on the page you've linked. And below that is:
Project Configurationο
Flake8 is written with the understanding that people organize projects into sub-directories. Letβs take for example Flake8βs own project structure
(Emphasis in these quotes is mine)
from flake8.
What needs to be clearer about
Flake8 supports storing its configuration in your project in one of setup.cfg, tox.ini, or .flake8.
I think the point is that usually applications in the unix world do also look into the users and the global config folders. Flake8 seems to be an exception here. This should be stated.
There is also a lot of outdated howto- and help-text in the internet that points to a flake8 file in the user config.
from flake8.
Not in that exact section, but still in the documentation when you search for user
configuration
and XDG
is https://flake8.pycqa.org/en/latest/release-notes/4.0.0.html#backwards-incompatible-changes
Why do we need to add an explicit call out here that we don't support things that we don't need to support? We're documenting how to use the tool, not inviting confusion (because I believe we had that callout in the docs before and people misunderstood it regardless as "I should be able to do this" instead of "This is not supported").
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
- 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.