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

Update dependency ruff to v0.7.0 #1938

Merged
merged 1 commit into from
Oct 19, 2024
Merged

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Oct 4, 2024

This PR contains the following updates:

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

Release Notes

astral-sh/ruff (ruff)

v0.7.0

Compare Source

Check out the blog post for a migration guide and overview of the changes!

Breaking changes
  • The pytest rules PT001 and PT023 now default to omitting the decorator parentheses when there are no arguments
    (#​12838, #​13292).
    This was a change that we attempted to make in Ruff v0.6.0, but only partially made due to an error on our part.
    See the blog post for more details.
  • The useless-try-except rule (in our tryceratops category) has been recoded from TRY302 to
    TRY203 (#​13502). This ensures Ruff's code is consistent with
    the same rule in the tryceratops linter.
  • The lint.allow-unused-imports setting has been removed (#​13677). Use
    lint.pyflakes.allow-unused-imports
    instead.
Formatter preview style
  • Normalize implicit concatenated f-string quotes per part (#​13539)
Preview linter features
  • [refurb] implement hardcoded-string-charset (FURB156) (#​13530)
  • [refurb] Count codepoints not bytes for slice-to-remove-prefix-or-suffix (FURB188) (#​13631)
Rule changes
  • [pylint] Mark PLE1141 fix as unsafe (#​13629)
  • [flake8-async] Consider async generators to be "checkpoints" for cancel-scope-no-checkpoint (ASYNC100) (#​13639)
  • [flake8-bugbear] Do not suggest setting parameter strict= to False in B905 diagnostic message (#​13656)
  • [flake8-todos] Only flag the word "TODO", not words starting with "todo" (TD006) (#​13640)
  • [pycodestyle] Fix whitespace-related false positives and false negatives inside type-parameter lists (E231, E251) (#​13704)
  • [flake8-simplify] Stabilize preview behavior for SIM115 so that the rule can detect files
    being opened from a wider range of standard-library functions (#​12959).
CLI
  • Add explanation of fixable in --statistics command (#​13774)
Bug fixes
  • [pyflakes] Allow ipytest cell magic (F401) (#​13745)
  • [flake8-use-pathlib] Fix PTH123 false positive when open is passed a file descriptor (#​13616)
  • [flake8-bandit] Detect patterns from multi line SQL statements (S608) (#​13574)
  • [flake8-pyi] - Fix dropped expressions in PYI030 autofix (#​13727)

v0.6.9

Compare Source

Preview features
  • Fix codeblock dynamic line length calculation for indented docstring examples (#​13523)
  • [refurb] Mark FURB118 fix as unsafe (#​13613)
Rule changes
  • [pydocstyle] Don't raise D208 when last line is non-empty (#​13372)
  • [pylint] Preserve trivia (i.e. comments) in PLR5501 autofix (#​13573)
Configuration
  • [pyflakes] Add allow-unused-imports setting for unused-import rule (F401) (#​13601)
Bug fixes
  • Support ruff discovery in pip build environments (#​13591)
  • [flake8-bugbear] Avoid short circuiting B017 for multiple context managers (#​13609)
  • [pylint] Do not offer an invalid fix for PLR1716 when the comparisons contain parenthesis (#​13527)
  • [pyupgrade] Fix UP043 to apply to collections.abc.Generator and collections.abc.AsyncGenerator (#​13611)
  • [refurb] Fix handling of slices in tuples for FURB118, e.g., x[:, 1] (#​13518)
Documentation
  • Update GitHub Action link to astral-sh/ruff-action (#​13551)

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 was generated by Mend Renovate. View the repository job log.

@renovate renovate bot added the packaging Updates to packaging (dependencies, etc) label Oct 4, 2024
@renovate renovate bot requested review from micahellison and wren October 4, 2024 16:47
@renovate renovate bot changed the title Update dependency ruff to v0.6.9 Update dependency ruff to v0.7.0 Oct 17, 2024
@renovate renovate bot force-pushed the renovate/ruff-0.x-lockfile branch from c862e6f to ecf5f08 Compare October 17, 2024 19:05
@micahellison micahellison merged commit 5f6be07 into develop Oct 19, 2024
13 checks passed
@micahellison micahellison deleted the renovate/ruff-0.x-lockfile branch October 19, 2024 21:14
edoardob90 added a commit to edoardob90/jrnl that referenced this pull request Nov 16, 2024
* Update dependency ruff to v0.6.8 (jrnl-org#1900)

* Update dependency ruff to v0.6.8

* Run `ruff check .` instead of `ruff .` due to ruff error

* Preface ruff lint keys with .lint to address ruff deprecation warning

* Changes to appease ruff linter

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Micah Jerome Ellison <[email protected]>

* Update changelog [ci skip]

* Update dependency cryptography to v42.0.8 (jrnl-org#1904)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update dependency requests to v2.32.3 (jrnl-org#1899)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update dependency mkdocs to v1.6.1 (jrnl-org#1895)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update dependency jinja2 to v3.1.4 (jrnl-org#1892)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update dependency python-dateutil to v2.9.0 (jrnl-org#1898)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update changelog [ci skip]

* Update dependency pytest-bdd to v7.3.0 (jrnl-org#1896)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update dependency black to v24.8.0 (jrnl-org#1923)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update dependency keyring to v25.4.1 (jrnl-org#1924)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update dependency parse-type to v0.6.3 (jrnl-org#1922)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update dependency pytest-xdist to v3.6.1 (jrnl-org#1897)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update dependency poethepoet to v0.29.0 (jrnl-org#1925)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update dependency rich to v13.8.1 (jrnl-org#1926)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update changelog [ci skip]

* Add calendar heatmap display format (jrnl-org#1759)

* Add calendar heatmap exporter

Fix jrnl-org#743

* Lint fixes

* More lint fixes

* Surface total number of entries per month in heatmap

* Refactoring

* More refactoring

* Resolve last lint error

* Unbump version

* Add calendar export test scaffolding

* WIP: Test debugging + scaffolding

* Remove broken tests

* Remove args from .vscode/launch.json

* Discard changes to tests/bdd/features/format.feature

* Remove extraneous vscode files

* move NestedDict to utils file

* run formatter

* fix import error

* Address lints

---------

Co-authored-by: Micah Jerome Ellison <[email protected]>
Co-authored-by: Jonathan Wren <[email protected]>

* Update dependency cryptography to v43 (jrnl-org#1928)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update dependency rich to v13.9.1 (jrnl-org#1931)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update dependency tox to v4.21.0 (jrnl-org#1927)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update changelog [ci skip]

* Add config to pa11y to workaround github actions issue (jrnl-org#1933)

fixes jrnl-org#1932

* Add Python 3.13 support (jrnl-org#1930)

* Allow Python 3.13 in pyproject

* Add Python 3.13 to GitHub actions

* Run `poetry update`

* fix failing test

* update poetry.lock

* update poetry.lock again

---------

Co-authored-by: Jonathan Wren <[email protected]>

* Update changelog [ci skip]

* Update dependency cryptography to v43.0.3 (jrnl-org#1942)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update dependency black to v24.10.0 (jrnl-org#1939)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update dependency tox to v4.23.0 (jrnl-org#1935)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update changelog [ci skip]

* Update dependency rich to v13.9.2 (jrnl-org#1937)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update dependency ruff to v0.7.0 (jrnl-org#1938)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update changelog [ci skip]

* Update dependency parse-type to v0.6.4 (jrnl-org#1936)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update changelog [ci skip]

* Update dependency xmltodict to v0.14.2 (jrnl-org#1940)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update changelog [ci skip]

* Update dependency typed.js to v2.1.0 (jrnl-org#1861)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update changelog [ci skip]

* Update peter-evans/create-pull-request action to v7 (jrnl-org#1929)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Force brighter color with XML syntax highlighting (jrnl-org#1943)

* Update changelog [ci skip]

* Changelog cleanup (jrnl-org#1944)

* Sort packages and and remove extraneous entries

* Move docs accessibility issues to docs section

* Increment version to v4.2-beta

* Update changelog [ci skip]

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Micah Jerome Ellison <[email protected]>
Co-authored-by: Jrnl Bot <[email protected]>
Co-authored-by: Aaron Lichtman <[email protected]>
Co-authored-by: Jonathan Wren <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
packaging Updates to packaging (dependencies, etc)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant