asimap
asimap copied to clipboard
Bump ruff from 0.3.3 to 0.3.7
Bumps ruff from 0.3.3 to 0.3.7.
Release notes
Sourced from ruff's releases.
v0.3.7
Changes
Preview features
- [
flake8-bugbear] Implementloop-iterator-mutation(B909) (#9578)- [
pylint] Implement rule to prefer augmented assignment (PLR6104) (#9932)Bug fixes
- Avoid TOCTOU errors in cache initialization (#10884)
- [
pylint] Recodenan-comparisonrule toW0177(#10894)- [
pylint] Reverse min-max logic inif-stmt-min-max(#10890)Contributors
v0.3.6
Changes
Preview features
- [
pylint] Implementbad-staticmethod-argument(PLW0211) (#10781)- [
pylint] Implementif-stmt-min-max(PLR1730,PLR1731) (#10002)- [
pyupgrade] Replacestr,Enummultiple inheritance withStrEnumUP042(#10713)- [
refurb] Implementif-expr-instead-of-or-operator(FURB110) (#10687)- [
refurb] Implementint-on-sliced-str(FURB166) (#10650)- [
refurb] Implementwrite-whole-file(FURB103) (#10802)- [
refurb] Supportitemgetterinreimplemented-operator(FURB118) (#10526)- [
flake8_comprehensions] Addsum/min/maxto unnecessary comprehension check (C419) (#10759)Rule changes
- [
pydocstyle] Require capitalizing docstrings where the first sentence is a single word (D403) (#10776)- [
pycodestyle] Ignore annotated lambdas in class scopes (E731) (#10720)- [
flake8-pyi] Various improvements to PYI034 (#10807)- [
flake8-slots] Flag subclasses of call-basedtyping.NamedTuples as well as subclasses ofcollections.namedtuple()(SLOT002) (#10808)- [
pyflakes] Allow forward references in class bases in stub files (F821) (#10779)- [
pygrep-hooks] Improveblanket-noqaerror message (PGH004) (#10851)CLI
- Support
FORCE_COLORenv var (#10839)Configuration
- Support negated patterns in
[extend-]per-file-ignores(#10852)
... (truncated)
Changelog
Sourced from ruff's changelog.
0.3.7
Preview features
- [
flake8-bugbear] Implementloop-iterator-mutation(B909) (#9578)- [
pylint] Implement rule to prefer augmented assignment (PLR6104) (#9932)Bug fixes
- Avoid TOCTOU errors in cache initialization (#10884)
- [
pylint] Recodenan-comparisonrule toW0177(#10894)- [
pylint] Reverse min-max logic inif-stmt-min-max(#10890)0.3.6
Preview features
- [
pylint] Implementbad-staticmethod-argument(PLW0211) (#10781)- [
pylint] Implementif-stmt-min-max(PLR1730,PLR1731) (#10002)- [
pyupgrade] Replacestr,Enummultiple inheritance withStrEnumUP042(#10713)- [
refurb] Implementif-expr-instead-of-or-operator(FURB110) (#10687)- [
refurb] Implementint-on-sliced-str(FURB166) (#10650)- [
refurb] Implementwrite-whole-file(FURB103) (#10802)- [
refurb] Supportitemgetterinreimplemented-operator(FURB118) (#10526)- [
flake8_comprehensions] Addsum/min/maxto unnecessary comprehension check (C419) (#10759)Rule changes
- [
pydocstyle] Require capitalizing docstrings where the first sentence is a single word (D403) (#10776)- [
pycodestyle] Ignore annotated lambdas in class scopes (E731) (#10720)- [
flake8-pyi] Various improvements to PYI034 (#10807)- [
flake8-slots] Flag subclasses of call-basedtyping.NamedTuples as well as subclasses ofcollections.namedtuple()(SLOT002) (#10808)- [
pyflakes] Allow forward references in class bases in stub files (F821) (#10779)- [
pygrep-hooks] Improveblanket-noqaerror message (PGH004) (#10851)CLI
- Support
FORCE_COLORenv var (#10839)Configuration
- Support negated patterns in
[extend-]per-file-ignores(#10852)Bug fixes
- [
flake8-import-conventions] Accept non-aliased (but correct) import inunconventional-import-alias(ICN001) (#10729)- [
flake8-quotes] Add semantic model flag when inside f-string replacement field (#10766)- [
pep8-naming] Recursively resolveTypeDictsfor N815 violations (#10719)- [
flake8-quotes] RespectQ00*ignores inflake8-quotesrules (#10728)- [
flake8-simplify] Show negated condition inneedless-booldiagnostics (SIM103) (#10854)
... (truncated)
Commits
2e37cf6Bump version to v0.3.7 (#10895)a9e4393[pylint] Implement rule to prefer augmented assignment (PLR6104) (#9932)312f434[pylint] Recodenan-comparisonrule toW0177(#10894)563daa8Fix docs and add overlap test for negated per-file-ignores (#10863)7ae15c6Fix comment copy/paste typo in newtype_index (#10892)03899dc[flake8-bugbear] Implementloop-iterator-mutation(B909) (#9578)25f5a8bStruct not tuple for compiled per-file ignores (#10864)e7d1d43[pylint] Reverse min-max logic inif-stmt-min-max(#10890)9b9098cDowngrade ESLint to v8 (#10888)0cc154cAvoid TOCTOU errors in cache initialization (#10884)- 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)