-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Remove --max-complexity from the CLI #1877
Conversation
Should this be documented in |
Yeah, it should. I'll add it. |
[](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [ruff](https://github.com/charliermarsh/ruff) | `^0.0.221` -> `^0.0.222` | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>charliermarsh/ruff</summary> ### [`v0.0.222`](https://github.com/charliermarsh/ruff/releases/tag/v0.0.222) [Compare Source](https://github.com/charliermarsh/ruff/compare/v0.0.221...v0.0.222) #### What's Changed - Add support for namespace packages by [@​charliermarsh](https://github.com/charliermarsh) in [https://github.com/charliermarsh/ruff/pull/1859](https://github.com/charliermarsh/ruff/pull/1859) - Improve `SIM117` by [@​harupy](https://github.com/harupy) in [https://github.com/charliermarsh/ruff/pull/1867](https://github.com/charliermarsh/ruff/pull/1867) - Bump RustPython by [@​bluetech](https://github.com/bluetech) in [https://github.com/charliermarsh/ruff/pull/1836](https://github.com/charliermarsh/ruff/pull/1836) - Split up the table corresponding to the pylint rules by [@​thomkeh](https://github.com/thomkeh) in [https://github.com/charliermarsh/ruff/pull/1868](https://github.com/charliermarsh/ruff/pull/1868) - Reduce APIs and add top-level doc comments by [@​not-my-profile](https://github.com/not-my-profile) in [https://github.com/charliermarsh/ruff/pull/1866](https://github.com/charliermarsh/ruff/pull/1866) - Add Dagster and SnowCLI by [@​charliermarsh](https://github.com/charliermarsh) in [https://github.com/charliermarsh/ruff/pull/1870](https://github.com/charliermarsh/ruff/pull/1870) - Introduce ruff::rules module by [@​not-my-profile](https://github.com/not-my-profile) in [https://github.com/charliermarsh/ruff/pull/1865](https://github.com/charliermarsh/ruff/pull/1865) - Make some internal APIs private by [@​not-my-profile](https://github.com/not-my-profile) in [https://github.com/charliermarsh/ruff/pull/1874](https://github.com/charliermarsh/ruff/pull/1874) - Remove --max-complexity from the CLI by [@​charliermarsh](https://github.com/charliermarsh) in [https://github.com/charliermarsh/ruff/pull/1877](https://github.com/charliermarsh/ruff/pull/1877) - Fix range of SIM201, 202, and 208 by [@​harupy](https://github.com/harupy) in [https://github.com/charliermarsh/ruff/pull/1880](https://github.com/charliermarsh/ruff/pull/1880) - Make the CI check for broken links in the Rust docs by [@​not-my-profile](https://github.com/not-my-profile) in [https://github.com/charliermarsh/ruff/pull/1883](https://github.com/charliermarsh/ruff/pull/1883) - Turn doc references into links by [@​charliermarsh](https://github.com/charliermarsh) in [https://github.com/charliermarsh/ruff/pull/1878](https://github.com/charliermarsh/ruff/pull/1878) #### New Contributors - [@​thomkeh](https://github.com/thomkeh) made their first contribution in [https://github.com/charliermarsh/ruff/pull/1868](https://github.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 <bot@renovateapp.com> 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.