chore(deps): bump ruff from 0.13.0 to 0.14.5
Bumps ruff from 0.13.0 to 0.14.5.
Release notes
Sourced from ruff's releases.
0.14.5
Release Notes
Released on 2025-11-13.
Preview features
- [
flake8-simplify] ApplySIM113when index variable is of typeint(#21395)- [
pydoclint] Fix false positive when Sphinx directives follow a "Raises" section (DOC502) (#20535)- [
pydoclint] Support NumPy-style comma-separated parameters (DOC102) (#20972)- [
refurb] Auto-fix annotated assignments (FURB101) (#21278)- [
ruff] Ignorestr()when not used for simple conversion (RUF065) (#21330)Bug fixes
- Fix syntax error false positive on alternative
matchpatterns (#21362)- [
flake8-simplify] Fix false positive for iterable initializers with generator arguments (SIM222) (#21187)- [
pyupgrade] Fix false positive on relative imports from local.builtinsmodule (UP029) (#21309)- [
pyupgrade] Consistently set the deprecated tag (UP035) (#21396)Rule changes
- [
refurb] Detect empty f-strings (FURB105) (#21348)CLI
- Add option to provide a reason to
--add-noqa(#21294)- Add upstream linter URL to
ruff linter --output-format=json(#21316)- Add color to
--help(#21337)Documentation
- Add a new "Opening a PR" section to the contribution guide (#21298)
- Added the PyScripter IDE to the list of "Who is using Ruff?" (#21402)
- Update PyCharm setup instructions (#21409)
- [
flake8-annotations] Add link toallow-star-arg-anyoption (ANN401) (#21326)Other changes
- [
configuration] Improve error message whenline-lengthexceedsu16::MAX(#21329)Contributors
... (truncated)
Changelog
Sourced from ruff's changelog.
0.14.5
Released on 2025-11-13.
Preview features
- [
flake8-simplify] ApplySIM113when index variable is of typeint(#21395)- [
pydoclint] Fix false positive when Sphinx directives follow a "Raises" section (DOC502) (#20535)- [
pydoclint] Support NumPy-style comma-separated parameters (DOC102) (#20972)- [
refurb] Auto-fix annotated assignments (FURB101) (#21278)- [
ruff] Ignorestr()when not used for simple conversion (RUF065) (#21330)Bug fixes
- Fix syntax error false positive on alternative
matchpatterns (#21362)- [
flake8-simplify] Fix false positive for iterable initializers with generator arguments (SIM222) (#21187)- [
pyupgrade] Fix false positive on relative imports from local.builtinsmodule (UP029) (#21309)- [
pyupgrade] Consistently set the deprecated tag (UP035) (#21396)Rule changes
- [
refurb] Detect empty f-strings (FURB105) (#21348)CLI
- Add option to provide a reason to
--add-noqa(#21294)- Add upstream linter URL to
ruff linter --output-format=json(#21316)- Add color to
--help(#21337)Documentation
- Add a new "Opening a PR" section to the contribution guide (#21298)
- Added the PyScripter IDE to the list of "Who is using Ruff?" (#21402)
- Update PyCharm setup instructions (#21409)
- [
flake8-annotations] Add link toallow-star-arg-anyoption (ANN401) (#21326)Other changes
- [
configuration] Improve error message whenline-lengthexceedsu16::MAX(#21329)Contributors
... (truncated)
Commits
87dafb8Bump 0.14.5 (#21435)9e80e5a[ty] Supporttype[…]andType[…]in implicit type aliases (#21421)f9cc26a[ty] Respect notebook cell boundaries when adding an auto import (#21322)d49c326Update PyCharm setup instructions (#21409)e70fccb[ty] Improve LSP test server logging (#21432)90b32f3[ty] Ensure annotation/type expressions in stub files are always deferred (#2...99694b6Useprofilingprofile forcargo test(linux, release)(#21429)67e54ff[ty] Fix panic for cyclic star imports (#21428)a01b0d7[ty] Press 'enter' to rerun all mdtests (#21427)04ab917[ty] Further improve subscript assignment diagnostics (#21411)- Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
-
@dependabot rebasewill rebase this PR -
@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it -
@dependabot mergewill merge this PR after your CI passes on it -
@dependabot squash and mergewill squash and merge this PR after your CI passes on it -
@dependabot cancel mergewill cancel a previously requested merge and block automerging -
@dependabot reopenwill reopen this PR if it is closed -
@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually -
@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency -
@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Cpp-Linter Report :warning:
Some files did not pass the configured checks!
clang-format (v16.0.6) reports: 2 file(s) not formatted
- docs/examples/demo/demo.hpp
- docs/examples/demo/demo.cpp
clang-tidy (v16.0.6) reports: 7 concern(s)
-
docs/examples/demo/demo.hpp:6:11: warning: [modernize-use-default-member-init]
use default member initializer for 'useless'
char* useless; ^ {"\0"} -
docs/examples/demo/demo.hpp:7:9: warning: [modernize-use-default-member-init]
use default member initializer for 'numb'
int numb; ^ {0} -
docs/examples/demo/demo.hpp:11:11: warning: [modernize-use-trailing-return-type]
use a trailing return type for this function
void *not_useful(char *str){useless = str;} ~~~~~~^ auto -> void * -
docs/examples/demo/demo.cpp:3:10: warning: [modernize-deprecated-headers]
inclusion of deprecated C++ header 'stdio.h'; consider using 'cstdio' instead
#include <stdio.h> ^~~~~~~~~ <cstdio> -
docs/examples/demo/demo.cpp:8:5: warning: [modernize-use-trailing-return-type]
use a trailing return type for this function
int main(){ ~~~ ^ auto -> int -
docs/examples/demo/demo.cpp:10:13: warning: [readability-braces-around-statements]
statement should be inside braces
for (;;) break; ^ { -
docs/examples/demo/demo.cpp:13:5: warning: [cppcoreguidelines-pro-type-vararg]
do not call c-style vararg functions
printf("Hello world!\n"); ^
Have any feedback or feature suggestions? Share it here.
Superseded by #374.