Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update dependency test/ruff to v0.1.7 #34

Merged
merged 1 commit into from
Dec 5, 2023

Conversation

renovate[bot]
Copy link

@renovate renovate bot commented Nov 17, 2023

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
test/ruff (source, changelog) ==0.1.5 -> ==0.1.7 age adoption passing confidence

Release Notes

astral-sh/ruff (test/ruff)

v0.1.7

Compare Source

Preview features
  • Implement multiline dictionary and list hugging for preview style (#​8293)
  • Implement the fix_power_op_line_length preview style (#​8947)
  • Use Python version to determine typing rewrite safety (#​8919)
  • [flake8-annotations] Enable auto-return-type involving Optional and Union annotations (#​8885)
  • [flake8-bandit] Implement django-raw-sql (S611) (#​8651)
  • [flake8-bandit] Implement tarfile-unsafe-members (S202) (#​8829)
  • [flake8-pyi] Implement fix for unnecessary-literal-union (PYI030) (#​7934)
  • [flake8-simplify] Extend dict-get-with-none-default (SIM910) to non-literals (#​8762)
  • [pylint] - add unnecessary-list-index-lookup (PLR1736) + autofix (#​7999)
  • [pylint] - implement R0202 and R0203 with autofixes (#​8335)
  • [pylint] Implement repeated-keyword (PLe1132) (#​8706)
  • [pylint] Implement too-many-positional (PLR0917) (#​8995)
  • [pylint] Implement unnecessary-dict-index-lookup (PLR1733) (#​8036)
  • [refurb] Implement redundant-log-base (FURB163) (#​8842)
Rule changes
  • [flake8-boolean-trap] Allow booleans in @override methods (#​8882)
  • [flake8-bugbear] Avoid B015,B018 for last expression in a cell (#​8815)
  • [flake8-pie] Allow ellipses for enum values in stub files (#​8825)
  • [flake8-pyi] Check PEP 695 type aliases for snake-case-type-alias and t-suffixed-type-alias (#​8966)
  • [flake8-pyi] Check for kwarg and vararg NoReturn type annotations (#​8948)
  • [flake8-simplify] Omit select context managers from SIM117 (#​8801)
  • [pep8-naming] Allow Django model loads in non-lowercase-variable-in-function (N806) (#​8917)
  • [pycodestyle] Avoid E703 for last expression in a cell (#​8821)
  • [pycodestyle] Update E402 to work at cell level for notebooks (#​8872)
  • [pydocstyle] Avoid D100 for Jupyter Notebooks (#​8816)
  • [pylint] Implement fix for unspecified-encoding (PLW1514) (#​8928)
Formatter
  • Avoid unstable formatting in ellipsis-only body with trailing comment (#​8984)
  • Inline trailing comments for type alias similar to assignments (#​8941)
  • Insert trailing comma when function breaks with single argument (#​8921)
CLI
  • Update ruff check and ruff format to default to the current directory (#​8791)
  • Stop at the first resolved parent configuration (#​8864)
Configuration
  • [pylint] Default max-positional-args to max-args (#​8998)
  • [pylint] Add allow-dunder-method-names setting for bad-dunder-method-name (PLW3201) (#​8812)
  • [isort] Add support for from-first setting (#​8663)
  • [isort] Add support for length-sort settings (#​8841)
Bug fixes
  • Add support for @functools.singledispatch (#​8934)
  • Avoid off-by-one error in stripping noqa following multi-byte char (#​8979)
  • Avoid off-by-one error in with-item named expressions (#​8915)
  • Avoid syntax error via invalid ur string prefix (#​8971)
  • Avoid underflow in get_model matching (#​8965)
  • Avoid unnecessary index diagnostics when value is modified (#​8970)
  • Convert over-indentation rule to use number of characters (#​8983)
  • Detect implicit returns in auto-return-types (#​8952)
  • Fix start >= end error in over-indentation (#​8982)
  • Ignore @overload and @override methods for too-many-arguments checks (#​8954)
  • Lexer start of line is false only for Mode::Expression (#​8880)
  • Mark pydantic_settings.BaseSettings as having default copy semantics (#​8793)
  • Respect dictionary unpacking in NamedTuple assignments (#​8810)
  • Respect local subclasses in flake8-type-checking (#​8768)
  • Support type alias statements in simple statement positions (#​8916)
  • [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 in simple-defaults (PYI052) (#​8767)
  • [flake8-trio] Use correct range for TRIO115 fix (#​8933)
  • [flake8-trio] Use full arguments range for zero-sleep-call (#​8936)
  • [isort] fix: mark __main__ as first-party import (#​8805)
  • [pep8-naming] Avoid N806 errors for type alias statements (#​8785)
  • [perflint] Avoid PERF101 if there's an append in loop body (#​8809)
  • [pycodestyle] Allow space-before-colon after end-of-slice (#​8838)
  • [pydocstyle] Avoid non-character breaks in over-indentation (D208) (#​8866)
  • [pydocstyle] Ignore underlines when determining docstring logical lines (#​8929)
  • [pylint] Extend self-assigning-variable to multi-target assignments (#​8839)
  • [tryceratops] Avoid repeated triggers in nested tryceratops diagnostics (#​8772)
Documentation
  • Add advice for fixing RUF008 when mutability is not desired (#​8853)
  • Added the command to run ruff using pkgx to the installation.md (#​8955)
  • Document fix safety for flake8-comprehensions and some pyupgrade rules (#​8918)
  • Fix doc formatting for zero-sleep-call (#​8937)
  • Remove duplicate imports from os-stat documentation (#​8930)
  • Replace generated reference to MkDocs (#​8806)
  • Update Arch Linux package URL in installation.md (#​8802)
  • [flake8-pyi] Fix error in t-suffixed-type-alias (PYI043) example (#​8963)
  • [flake8-pyi] Improve motivation for custom-type-var-return-type (PYI019) (#​8766)

v0.1.6

Compare Source

Preview features
  • [flake8-boolean-trap] Extend boolean-type-hint-positional-argument (FBT001) to include booleans in unions (#​7501)
  • [flake8-pie] Extend reimplemented-list-builtin (PIE807) to dict reimplementations (#​8608)
  • [flake8-pie] Extend unnecessary-pass (PIE790) to include ellipses (...) (#​8641)
  • [flake8-pie] Implement fix for unnecessary-spread (PIE800) (#​8668)
  • [flake8-quotes] Implement unnecessary-escaped-quote (Q004) (#​8630)
  • [pycodestyle] Implement fix for multiple-spaces-after-keyword (E271) and multiple-spaces-before-keyword (E272) (#​8622)
  • [pycodestyle] Implement fix for multiple-spaces-after-operator (E222) and multiple-spaces-before-operator (E221) (#​8623)
  • [pyflakes] Extend is-literal (F632) to include comparisons against mutable initializers (#​8607)
  • [pylint] Implement redefined-argument-from-local (PLR1704) (#​8159)
  • [pylint] Implement fix for unnecessary-lambda (PLW0108) (#​8621)
  • [refurb] Implement if-expr-min-max (FURB136) (#​8664)
  • [refurb] Implement math-constant (FURB152) (#​8727)
Rule changes
  • [flake8-annotations] Add autotyping-like return type inference for annotation rules (#​8643)
  • [flake8-future-annotations] Implement fix for future-required-type-annotation (FA102) (#​8711)
  • [flake8-implicit-namespace-package] Avoid missing namespace violations in scripts with shebangs (#​8710)
  • [pydocstyle] Update over-indentation (D208) to preserve indentation offsets when fixing overindented lines (#​8699)
  • [pyupgrade] Refine timeout-error-alias (UP041) to remove false positives (#​8587)
Formatter
  • Fix instability in await formatting with fluent style (#​8676)
  • Compare formatted and unformatted ASTs during formatter tests (#​8624)
  • Preserve trailing semicolon for Notebooks (#​8590)
CLI
  • Improve debug printing for resolving origin of config settings (#​8729)
  • Write unchanged, excluded files to stdout when read via stdin (#​8596)
Configuration
  • [isort] Support disabling sections with no-sections = true (#​8657)
  • [pep8-naming] Support local and dynamic class- and static-method decorators (#​8592)
  • [pydocstyle] Allow overriding pydocstyle convention rules (#​8586)
Bug fixes
  • Avoid syntax error via importing trio.lowlevel (#​8730)
  • Omit unrolled augmented assignments in PIE794 (#​8634)
  • Slice source code instead of generating it for EM fixes (#​7746)
  • Allow whitespace around colon in slices for whitespace-before-punctuation (E203) (#​8654)
  • Use function range for no-self-use (#​8637)
  • F-strings doesn't contain bytes literal for PLW0129 (#​8675)
  • Improve detection of TYPE_CHECKING blocks imported from typing_extensions or _typeshed (#​8429)
  • Treat display as a builtin in IPython (#​8707)
  • Avoid FURB113 autofix if comments are present (#​8494)
  • Consider the new f-string tokens for flake8-commas (#​8582)
  • Remove erroneous bad-dunder-name reference (#​8742)
  • Avoid recommending Self usages in metaclasses (#​8639)
  • Detect runtime-evaluated base classes defined in the current file (#​8572)
  • Avoid inserting trailing commas within f-strings (#​8574)
  • Remove incorrect deprecation label for stdout and stderr (#​8743)
  • Fix unnecessary parentheses in UP007 fix (#​8610)
  • Remove repeated and erroneous scoped settings headers in docs (#​8670)
  • Trim trailing empty strings when converting to f-strings (#​8712)
  • Fix ordering for force-sort-within-sections (#​8665)
  • Run unicode prefix rule over tokens (#​8709)
  • Update UP032 to unescape curly braces in literal parts of converted strings (#​8697)
  • List all ipython builtins (#​8719)
Documentation
  • Document conventions in the FAQ (#​8638)
  • Redirect from rule codes to rule pages in docs (#​8636)
  • Fix permalink to convention setting (#​8575)

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot changed the title chore(deps): update dependency test/ruff to v0.1.6 chore(deps): update dependency test/ruff to v0.1.7 Dec 4, 2023
@halkeye halkeye merged commit e45c39e into master Dec 5, 2023
1 check passed
@renovate renovate bot deleted the renovate/test-ruff-0.x branch December 5, 2023 02:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant