Skip to content

Conversation

@dependabot
Copy link

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

Bumps ruff from 0.0.138 to 0.0.225.

Release notes

Sourced from ruff's releases.

v0.0.225

What's Changed

Full Changelog: astral-sh/ruff@v0.0.224...v0.0.225

v0.0.224

What's Changed

New Contributors

Full Changelog: astral-sh/ruff@v0.0.223...v0.0.224

v0.0.223

What's Changed

... (truncated)

Changelog

Sourced from ruff's changelog.

0.0.225

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

Previously, UP011 handled both @functools.lru_cache()-to-@functools.lru_cache conversions, and @functools.lru_cache(maxsize=None)-to-@functools.cache conversions. The latter has been moved out to its own rule (UP033). As such, some # noqa: UP011 comments may need to be updated to reflect the change in rule code.

0.0.222

--max-complexity has been removed from the CLI (#1877)

The McCabe plugin's --max-complexity setting has been removed from the CLI, for consistency with the treatment of other, similar settings.

To set the maximum complexity, use the max-complexity property in your pyproject.toml file, like so:

[tool.ruff.mccabe]
max-complexity = 10

0.0.181

Files excluded by .gitignore are now ignored (#1234)

Ruff will now avoid checking files that are excluded by .ignore, .gitignore, .git/info/exclude, and global gitignore files. This behavior is powered by the ignore crate, and is applied in addition to Ruff's built-in exclude system.

To disable this behavior, set respect-gitignore = false in your pyproject.toml file.

Note that hidden files (i.e., files and directories prefixed with a .) are not ignored by default.

0.0.178

Configuration files are now resolved hierarchically (#1190)

pyproject.toml files are now resolved hierarchically, such that for each Python file, we find the first pyproject.toml file in its path, and use that to determine its lint settings.

See the README for more.

Commits
  • cdb4700 Bump version to 0.0.225
  • ea4d54a Restrict SIM105 to try blocks with a body of one simple statement (#1948)
  • 51b917c Exempt contextlib.ExitStack() for SIM115 rules (#1946)
  • c880d74 Implement flake8-no-pep420 (#1942)
  • 84d1df0 Avoid broken autofix for SIM103 with elif (#1944)
  • b9bb5ac Remove unnecessary setuptools block
  • ca7c3c2 Avoid autofixing comma rules when --fix is not set (#1940)
  • 8891e2e Fix name of ruff-pre-commit event
  • 53265e0 cli: Catch panics to tell the user to report them (#1928)
  • 072849a Move @functools.cache rewrites to their own rule (#1938)
  • 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.225.
- [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.225)

---
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 18, 2023
@github-actions
Copy link

📝 Docs preview for commit 10d9643 at:

@dependabot @github
Copy link
Author

dependabot bot commented on behalf of github Jan 19, 2023

Superseded by #60.

@dependabot dependabot bot closed this Jan 19, 2023
@dependabot dependabot bot deleted the dependabot/pip/ruff-0.0.225 branch January 19, 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