Comments (4)
Alternatively, I'm going to remove build
from the default exclusion list in v0.3.0. It causes all sorts of problems (like this), and it's the only default for which we get issues like this.
from ruff-pre-commit.
Agreed, this has recently caught me out too, i think the best option is to just add it to the readme for now. Its trivial to remove if we do make the decision to drop it as a default argument. I have submitted a PR for this here: #72
from ruff-pre-commit.
See: astral-sh/ruff#10093.
from ruff-pre-commit.
Yeah that makes sense :) Do we still think it's worth mentioning its the default? I spent quite a bit of time digging into this and really would have appreciated it being pointed out in the README 😆
from ruff-pre-commit.
Related Issues (20)
- Question: Proper way of excluding some rules HOT 1
- Support autohooks or create git hooks directly HOT 1
- How to use flake8-print in pre-commit-config.yaml? HOT 3
- Request: automatic update upon new `ruff` release HOT 8
- Release notes HOT 4
- types_or needs expanding?
- Feature Request: Enable GitHub Discussions HOT 2
- Question: Proper Way to Run ruff-pre-commit on Submodules in a Monorepo. HOT 3
- No new releases after v0.0.282 HOT 1
- Ruff configuration from pyproject.toml is ignored HOT 31
- Format Python code in documentation files HOT 2
- Missing v0.1.5 release HOT 1
- Feature Request: predefined hooks for common uses.
- Should we add `--check` for `ruff format`? HOT 1
- Failed to create cache file HOT 4
- v0.1.13 is incorrectly tagged HOT 3
- import sorting? HOT 9
- How to configure include for pre-commit HOT 3
- --check option for ruff-format 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 ruff-pre-commit.