Replies: 1 comment 1 reply
-
That's an interesting use case and I currently don't see an easy solution to it. For my understanding, are users mainly using an editor integration, or how will you avoid flooding users with errors if they run You could pipe some shared CLI arguments from a file (using |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
We have many projects which run Ruff using pre-commit, along with a variety of other tools. There are some Ruff checks which we want to run locally when people are working interactively on the code but we don't necessarily want otherwise passing CI pipelines to fail something like a dependency update for something like the upgrade rules (especially with e.g. #14600).
It would be nice if we could do something like add a
RUFF_CONFIG_LINT_IGNORE=UP
variable to our group's GitLab CI variables so all pipelines would automatically ignore that set of rules when running in CI but developers working locally would still see those warnings when they have time to deal with them.One alternative would be if there was an easy way to set the config file path so we could have a CI/CD-oriented one with a few ignore rules. The downside to that is that it's another file to manage across dozens of repositories but it would have a fairly significant upside of making it easy to manage more nuanced configurations.
Beta Was this translation helpful? Give feedback.
All reactions