Skip to content

⬆️ Update dependency ruff to v0.1.15#501

Merged
frenck merged 2 commits intomainfrom
renovate/ruff-0.x
Feb 1, 2024
Merged

⬆️ Update dependency ruff to v0.1.15#501
frenck merged 2 commits intomainfrom
renovate/ruff-0.x

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Jan 31, 2024

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
ruff (source, changelog) 0.1.14 -> 0.1.15 age adoption passing confidence

Release Notes

astral-sh/ruff (ruff)

v0.1.15

Compare Source

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 for if-with-same-arms (SIM114) (#​9591)
  • [pycodestyle] Add fix for multiple-imports-on-one-line (E401) (#​9518)
  • [pylint] Add fix for collapsible-else-if (PLR5501) (#​9594)
  • [pylint] Add fix for useless-else-on-loop (PLW0120) (#​9590)
  • [pylint] Implement assigning-non-slot (E0237) (#​9623)
  • [pylint] Implement potential-index-error (PLE0643) (#​9545)
  • [pylint] Implement too-many-nested-blocks (PLR1702) (#​9172)
  • [ruff] Add rule to sort __slots__ and __match_args__ (#​9564)
  • [ruff] Detect unnecessary dict comprehensions for iterables (RUF025) (#​9613)
  • [ruff] Guard against use of default_factory as a keyword argument (RUF026) (#​9651)
  • [ruff] Implement mutable-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] Take NoReturn annotation into account when analyzing implicit returns (#​9636)
  • [flake8-simplify] Support inverted returns in needless-bool (SIM103) (#​9619)
  • [flake8-type-checking] Add Pydantic's BaseConfig to default-copy list (#​9650)
  • [flake8-type-checking] Avoid marking InitVar as a typing-only annotation (#​9688)
  • [pycodestyle] Allow dtype comparisons in type-comparison (#​9676)
  • [pydocstyle] Re-implement last-line-after-section (D413) (#​9654)
Documentation
  • [flake8-pytest-style] Add fix safety documentation for duplicate-parameterize-test-cases (#​9678)
  • [pylint] Document literal-membership fix safety conditions (#​9677)
  • [isort] Fix reference to isort rule code (#​9598)
Other changes

Configuration

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

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, 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 added dependencies Upgrade or downgrade of project dependencies. no-stale This issue or PR is exempted from the stable bot. python labels Jan 31, 2024
@codecov-commenter
Copy link

codecov-commenter commented Jan 31, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (e14f0ac) 94.89% compared to head (114d8ee) 94.89%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #501   +/-   ##
=======================================
  Coverage   94.89%   94.89%           
=======================================
  Files           4        4           
  Lines         294      294           
  Branches       17       17           
=======================================
  Hits          279      279           
  Misses         11       11           
  Partials        4        4           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@renovate renovate bot force-pushed the renovate/ruff-0.x branch 2 times, most recently from 3f1e8a7 to 114d8ee Compare January 31, 2024 07:20
@renovate renovate bot force-pushed the renovate/ruff-0.x branch from 114d8ee to be7ee63 Compare February 1, 2024 11:46
@sonarqubecloud
Copy link

sonarqubecloud bot commented Feb 1, 2024

Quality Gate Passed Quality Gate passed

Kudos, no new issues were introduced!

0 New issues
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

@frenck frenck merged commit 65d65a4 into main Feb 1, 2024
@frenck frenck deleted the renovate/ruff-0.x branch February 1, 2024 11:51
@github-actions github-actions bot locked and limited conversation to collaborators Feb 3, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

dependencies Upgrade or downgrade of project dependencies. no-stale This issue or PR is exempted from the stable bot. python

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants