Repository navigation
ruff 0.1.7 - #156391
Merged
Merged
ruff 0.1.7#156391
Conversation
branchv
approved these changes
Dec 5, 2023
Contributor
|
馃 An automated task has requested bottles to be published to this PR. |
BrewTestBot
enabled auto-merge
December 5, 2023 03:41
BrewTestBot
added this pull request to the merge queue
Dec 5, 2023
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Created by
brew bumpCreated with
brew bump-formula-pr.Details
release notes
fix_power_op_line_lengthpreview style (#8947)flake8-annotations] Enable auto-return-type involvingOptionalandUnionannotations (#8885)flake8-bandit] Implementdjango-raw-sql(S611) (#8651)flake8-bandit] Implementtarfile-unsafe-members(S202) (#8829)flake8-pyi] Implement fix forunnecessary-literal-union(PYI030) (#7934)flake8-simplify] Extenddict-get-with-none-default(SIM910) to non-literals (#8762)pylint] - addunnecessary-list-index-lookup(PLR1736) + autofix (#7999)pylint] - implement R0202 and R0203 with autofixes (#8335)pylint] Implementrepeated-keyword(PLE1132) (#8706)pylint] Implementtoo-many-positional(PLR0917) (#8995)pylint] Implementunnecessary-dict-index-lookup(PLR1733) (#8036)refurb] Implementredundant-log-base(FURB163) (#8842)Rule changes
flake8-boolean-trap] Allow booleans in@overridemethods (#8882)flake8-bugbear] AvoidB015,B018for last expression in a cell (#8815)flake8-pie] Allow ellipses for enum values in stub files (#8825)flake8-pyi] Check PEP 695 type aliases forsnake-case-type-aliasandt-suffixed-type-alias(#8966)flake8-pyi] Check for kwarg and varargNoReturntype annotations (#8948)flake8-simplify] Omit select context managers fromSIM117(#8801)pep8-naming] Allow Django model loads innon-lowercase-variable-in-function(N806) (#8917)pycodestyle] AvoidE703for last expression in a cell (#8821)pycodestyle] UpdateE402to work at cell level for notebooks (#8872)pydocstyle] AvoidD100for Jupyter Notebooks (#8816)pylint] Implement fix forunspecified-encoding(PLW1514) (#8928)Formatter
CLI
ruff checkandruff formatto default to the current directory (#8791)Configuration
pylint] Defaultmax-positional-argstomax-args(#8998)pylint] Addallow-dunder-method-namessetting forbad-dunder-method-name(PLW3201) (#8812)isort] Add support forfrom-firstsetting (#8663)isort] Add support forlength-sortsettings (#8841)Bug fixes
@functools.singledispatch(#8934)get_modelmatching (#8965)@overloadand@overridemethods for too-many-arguments checks (#8954)Mode::Expression(#8880)pydantic_settings.BaseSettingsas having default copy semantics (#8793)NamedTupleassignments (#8810)flake8-type-checking(#8768)flake8-annotations] Avoid filtering out un-representable types in return annotation (#8881)flake8-pie] Retain extra ellipses in protocols and abstract methods (#8769)flake8-pyi] Respect local enum subclasses insimple-defaults(PYI052) (#8767)flake8-trio] Use correct range forTRIO115fix (#8933)flake8-trio] Use full arguments range for zero-sleep-call (#8936)isort] fix: mark__main__as first-party import (#8805)pep8-naming] AvoidN806errors for type alias statements (#8785)perflint] AvoidPERF101if there's an append in loop body (#8809)pycodestyle] Allow space-before-colon after end-of-slice (#8838)pydocstyle] Avoid non-character breaks inover-indentation(D208) (#8866)pydocstyle] Ignore underlines when determining docstring logical lines (#8929)pylint] Extendself-assigning-variableto multi-target assignments (#8839)tryceratops] Avoid repeated triggers in nestedtryceratopsdiagnostics (#8772)Documentation
flake8-pyi] Fix error int-suffixed-type-alias(PYI043) example (#8963)flake8-pyi] Improve motivation forcustom-type-var-return-type(PYI019) (#8766)Contributors