Skip to content

⬆ Bump ruff from 0.0.138 to 0.0.237#67

Closed
dependabot[bot] wants to merge 1 commit intomasterfrom
dependabot/pip/ruff-0.0.237
Closed

⬆ Bump ruff from 0.0.138 to 0.0.237#67
dependabot[bot] wants to merge 1 commit intomasterfrom
dependabot/pip/ruff-0.0.237

Conversation

@dependabot
Copy link

@dependabot dependabot bot commented on behalf of github Jan 30, 2023

Bumps ruff from 0.0.138 to 0.0.237.

Release notes

Sourced from ruff's releases.

v0.0.237

What's Changed

Breaking Changes

--explain, --clean, and --generate-shell-completion are now implemented as subcommands (#2190):

ruff .         # Still works! And will always work.
ruff check .   # New! Also works.

ruff --explain E402 # Still works. ruff rule E402 # New! Also works. (And preferred.)

Oops! The command has to come first.

ruff --format json --explain E402 # No longer works. ruff --explain E402 --format json # Still works! ruff rule E402 --format json # Works! (And preferred.)

This change is largely backwards compatible -- most users should experience no change in behavior. For exceptions, see BREAKING_CHANGES.md.

Rules

Settings

Bug Fixes

New Contributors

Full Changelog: astral-sh/ruff@v0.0.236...v0.0.237

v0.0.236

What's Changed

Rules

... (truncated)

Changelog

Sourced from ruff's changelog.

0.0.237

--explain, --clean, and --generate-shell-completion are now subcommands (#2190)

--explain, --clean, and --generate-shell-completion are now implemented as subcommands:

ruff .         # Still works! And will always work.
ruff check .   # New! Also works.

ruff --explain E402 # Still works. ruff rule E402 # New! Also works. (And preferred.)

Oops! The command has to come first.

ruff --format json --explain E402 # No longer works. ruff --explain E402 --format json # Still works! ruff rule E402 --format json # Works! (And preferred.)

This change is largely backwards compatible -- most users should experience no change in behavior. However, please note the following exceptions:

  • Subcommands will now fail when invoked with unsupported arguments, instead of silently ignoring them. For example, the following will now fail:

    ruff --clean --respect-gitignore
    

    (the clean command doesn't support --respect-gitignore.)

  • The semantics of ruff <arg> have changed slightly when <arg> is a valid subcommand. For example, prior to this release, running ruff rule would run ruff over a file or directory called rule. Now, ruff rule would invoke the rule subcommand. This should only impact projects with files or directories named rule, check, explain, clean, or generate-shell-completion.

  • Scripts that invoke ruff should supply -- before any positional arguments. (The semantics of ruff -- <arg> have not changed.)

  • --explain previously treated --format grouped as a synonym for --format text. This is no longer supported; instead, use --format text.

0.0.226

misplaced-comparison-constant (PLC2201) was deprecated in favor of SIM300 (#1980)

These two rules contain (nearly) identical logic. To deduplicate the rule set, we've upgraded SIM300 to handle a few more cases, and deprecated PLC2201 in favor of SIM300.

0.0.225

@functools.cache rewrites have been moved to a standalone rule (UP033) (#1938)

... (truncated)

Commits
  • add7fef Bump version to 0.0.237
  • ec24947 Fix version shorthand detection to use -V instead of -v (#2301)
  • 8038d32 Deploy under docs subdirectory
  • 0362cc1 Allow manual trigger for docs
  • 860e311 Serve docs under /docs subdirectory
  • 0fa8c57 Fix typo in typing_extensions (#2298)
  • 861df12 Preserve global binding kind during reassignments (#2297)
  • 071e3fd Split MkDocs site into multiple pages (#2296)
  • dd79ec2 Rename new explain subcommand to rule
  • 5d331e4 fix: help text and env for --format option of explain subcommand
  • Additional commits viewable in compare view

Dependabot compatibility score

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 rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will 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 version will 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 dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [ruff](https://github.com/charliermarsh/ruff) from 0.0.138 to 0.0.237.
- [Release notes](https://github.com/charliermarsh/ruff/releases)
- [Changelog](https://github.com/charliermarsh/ruff/blob/main/BREAKING_CHANGES.md)
- [Commits](astral-sh/ruff@v0.0.138...v0.0.237)

---
updated-dependencies:
- dependency-name: ruff
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Jan 30, 2023
@github-actions
Copy link

📝 Docs preview for commit 29183dd at:

@dependabot @github
Copy link
Author

dependabot bot commented on behalf of github Jan 31, 2023

Superseded by #68.

@dependabot dependabot bot closed this Jan 31, 2023
@dependabot dependabot bot deleted the dependabot/pip/ruff-0.0.237 branch January 31, 2023 16:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file python Pull requests that update Python code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants