-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove --max-complexity from the CLI #1877
Conversation
Should this be documented in |
Yeah, it should. I'll add it. |
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [ruff](https://togithub.com/charliermarsh/ruff) | `^0.0.221` -> `^0.0.222` | [![age](https://badges.renovateapi.com/packages/pypi/ruff/0.0.222/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/pypi/ruff/0.0.222/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/pypi/ruff/0.0.222/compatibility-slim/0.0.221)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/pypi/ruff/0.0.222/confidence-slim/0.0.221)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>charliermarsh/ruff</summary> ### [`v0.0.222`](https://togithub.com/charliermarsh/ruff/releases/tag/v0.0.222) [Compare Source](https://togithub.com/charliermarsh/ruff/compare/v0.0.221...v0.0.222) #### What's Changed - Add support for namespace packages by [@​charliermarsh](https://togithub.com/charliermarsh) in [https://github.com/charliermarsh/ruff/pull/1859](https://togithub.com/charliermarsh/ruff/pull/1859) - Improve `SIM117` by [@​harupy](https://togithub.com/harupy) in [https://github.com/charliermarsh/ruff/pull/1867](https://togithub.com/charliermarsh/ruff/pull/1867) - Bump RustPython by [@​bluetech](https://togithub.com/bluetech) in [https://github.com/charliermarsh/ruff/pull/1836](https://togithub.com/charliermarsh/ruff/pull/1836) - Split up the table corresponding to the pylint rules by [@​thomkeh](https://togithub.com/thomkeh) in [https://github.com/charliermarsh/ruff/pull/1868](https://togithub.com/charliermarsh/ruff/pull/1868) - Reduce APIs and add top-level doc comments by [@​not-my-profile](https://togithub.com/not-my-profile) in [https://github.com/charliermarsh/ruff/pull/1866](https://togithub.com/charliermarsh/ruff/pull/1866) - Add Dagster and SnowCLI by [@​charliermarsh](https://togithub.com/charliermarsh) in [https://github.com/charliermarsh/ruff/pull/1870](https://togithub.com/charliermarsh/ruff/pull/1870) - Introduce ruff::rules module by [@​not-my-profile](https://togithub.com/not-my-profile) in [https://github.com/charliermarsh/ruff/pull/1865](https://togithub.com/charliermarsh/ruff/pull/1865) - Make some internal APIs private by [@​not-my-profile](https://togithub.com/not-my-profile) in [https://github.com/charliermarsh/ruff/pull/1874](https://togithub.com/charliermarsh/ruff/pull/1874) - Remove --max-complexity from the CLI by [@​charliermarsh](https://togithub.com/charliermarsh) in [https://github.com/charliermarsh/ruff/pull/1877](https://togithub.com/charliermarsh/ruff/pull/1877) - Fix range of SIM201, 202, and 208 by [@​harupy](https://togithub.com/harupy) in [https://github.com/charliermarsh/ruff/pull/1880](https://togithub.com/charliermarsh/ruff/pull/1880) - Make the CI check for broken links in the Rust docs by [@​not-my-profile](https://togithub.com/not-my-profile) in [https://github.com/charliermarsh/ruff/pull/1883](https://togithub.com/charliermarsh/ruff/pull/1883) - Turn doc references into links by [@​charliermarsh](https://togithub.com/charliermarsh) in [https://github.com/charliermarsh/ruff/pull/1878](https://togithub.com/charliermarsh/ruff/pull/1878) #### New Contributors - [@​thomkeh](https://togithub.com/thomkeh) made their first contribution in [https://github.com/charliermarsh/ruff/pull/1868](https://togithub.com/charliermarsh/ruff/pull/1868) **Full Changelog**: astral-sh/ruff@v0.0.221...v0.0.222 </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/ixm-one/pytest-cmake-presets). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNC4xMDIuNSIsInVwZGF0ZWRJblZlciI6IjM0LjEwMi41In0=--> Signed-off-by: Renovate Bot <[email protected]> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Not a fan of this choice... It is quite helpful when building up a new config to be able to test on the command line before writing the complete config into |
I think the change makes sense ... What we could do is introduce a more generic mechanism such as |
The error message is misleading because (at least on my Mac) I cannot figure out how to make %
%
|
It's correct though, |
No description provided.