fastapi-nano
fastapi-nano copied to clipboard
Bump ruff from 0.1.1 to 0.1.15
Bumps ruff from 0.1.1 to 0.1.15.
Release notes
Sourced from ruff's releases.
v0.1.15
Changes
Preview features
- Error when
NURSERY
selector is used with--preview
(#9682)- Preserve indentation around multiline strings in formatter (#9637)
- [
flake8-return
] Add fixes for all rules (RET505
,RET506
,RET507
,RET508
) (#9595)- [
flake8-simplify
] Add fix forif-with-same-arms
(SIM114
) (#9591)- [
pycodestyle
] Add fix formultiple-imports-on-one-line
(E401
) (#9518)- [
pylint
] Add fix forcollapsible-else-if
(PLR5501
) (#9594)- [
pylint
] Add fix foruseless-else-on-loop
(PLW0120
) (#9590)- [
pylint
] Implementassigning-non-slot
(E0237
) (#9623)- [
pylint
] Implementpotential-index-error
(PLE0643
) (#9545)- [
pylint
] Implementtoo-many-nested-blocks
(PLR1702
) (#9172)- [
ruff
] Add rule to sort__slots__
and__match_args__
(#9564)- [
ruff
] Detect unnecessarydict
comprehensions for iterables (RUF025
) (#9613)- [
ruff
] Guard against use ofdefault_factory
as a keyword argument (RUF026
) (#9651)- [
ruff
] Implementmutable-fromkeys-value
(RUF024
) (#9597)CLI
- Enable auto-wrapping of
--help
output (#9633)Bug fixes
- Avoid rendering display-only rules as fixable (#9649)
- Detect automagic-like assignments in notebooks (#9653)
- Generate custom JSON schema for dynamic setting (#9632)
- [
flake8-no-pep420
] Include global--config
when determining namespace packages (#9603)- [
flake8-pie
] Omit bound tuples passed to.startswith
or.endswith
(#9661)- [
flake8-return
] Avoid panic when fixing inlined else blocks (#9657)- [
flake8-return
] Consider exception suppression in unnecessary assignment (#9673)- [
flake8-return
] TakeNoReturn
annotation into account when analyzing implicit returns (#9636)- [
flake8-simplify
] Support inverted returns inneedless-bool
(SIM103
) (#9619)- [
flake8-type-checking
] Add Pydantic'sBaseConfig
to default-copy list (#9650)- [
flake8-type-checking
] Avoid markingInitVar
as a typing-only annotation (#9688)- [
pycodestyle
] Allowdtype
comparisons intype-comparison
(#9676)- [
pydocstyle
] Re-implementlast-line-after-section
(D413
) (#9654)Documentation
- [
flake8-pytest-style
] Add fix safety documentation forduplicate-parameterize-test-cases
(#9678)- [
pylint
] Documentliteral-membership
fix safety conditions (#9677)- [
isort
] Fix reference toisort
rule code (#9598)Contributors
... (truncated)
Changelog
Sourced from ruff's changelog.
Commits
a7755d7
Bump version to v0.1.15 (#9690)11449ac
Avoid markingInitVar
as a typing-only annotation (#9688)4ccbacd
Error if the NURSERY selector is used with preview (#9682)05a2f52
Documentliteral-membership
fix safety conditions (#9677)a6f7100
[pycodestyle
] Allowdtype
comparisons intype-comparison
(#9676)50122d2
[flake8-pytest-style
] Add fix safety documentation for `duplicate-parameter...ad2cfa3
[flake8-return] Consider exception suppress for unnecessary assignment (#9673)0045032
Set source type: Stub for black tests with options (#9674)bea8f2e
Detect automagic-like assignments in notebooks (#9653)c8074b0
Bump serde_with from 3.5.0 to 3.5.1 (#9672)- 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 rebase
will rebase this PR -
@dependabot recreate
will recreate this PR, overwriting any edits that have been made to it -
@dependabot merge
will merge this PR after your CI passes on it -
@dependabot squash and merge
will squash and merge this PR after your CI passes on it -
@dependabot cancel merge
will cancel a previously requested merge and block automerging -
@dependabot reopen
will reopen this PR if it is closed -
@dependabot close
will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually -
@dependabot show <dependency name> ignore conditions
will show all of the ignore conditions of the specified dependency -
@dependabot ignore this major version
will 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 version
will 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 dependency
will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)