Skip to content

Bump wemake-python-styleguide from 0.19.2 to 1.0.0#1992

Closed
dependabot[bot] wants to merge 1 commit intomasterfrom
dependabot/pip/wemake-python-styleguide-1.0.0
Closed

Bump wemake-python-styleguide from 0.19.2 to 1.0.0#1992
dependabot[bot] wants to merge 1 commit intomasterfrom
dependabot/pip/wemake-python-styleguide-1.0.0

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Dec 27, 2024

Bumps wemake-python-styleguide from 0.19.2 to 1.0.0.

Release notes

Sourced from wemake-python-styleguide's releases.

Version 1.0.0 with full ruff support

Ruff

This release introduces the new main concept: ruff compatibility.

Now WPS is the only flake8 plugin that is installed. Other things are done by ruff. It is faster, it has autofixing, there are lots of rules. Basically, this way WPS just gain lots of new rule and plugins almost for free. It is now stricter than ever! WPS now officially supports ALL ruff existing rules. This means that there are no conflicts between two linters.

To run WPS and ruff together, use:

ruff format && ruff check && flake8 --select=WPS .

You can copy our configuration from pyproject.toml (for ruff) and setup.cfg (for flake8).

Black

WPS can now also be used with black with default configuration. However, we recommend using ruff format instead.

Speed

WPS got a lot faster! Because:

  • We removed a lot of flake8 plugins
  • We removed a lot of rules covered by ruff

Running 0.19.2 (previous version) on https://github.com/dry-python/returns

» time flake8 .
flake8 .  20.63s user 2.47s system 469% cpu 4.919 total

The same on 1.0.0:

» time flake8 .
flake8 .  8.56s user 0.54s system 898% cpu 1.013 total

Which is 2.4x times faster!

Integrations

... (truncated)

Changelog

Sourced from wemake-python-styleguide's changelog.

1.0.0

Ruff

This release introduces the new main concept: ruff compatibility.

Now WPS is the only flake8 plugin that is installed. Other things are done by ruff. It is faster, it has autofixing, there are lots of rules. Basically, this way WPS just gain lots of new rule and plugins almost for free. It is now stricter than ever! WPS now officially supports ALL ruff existing rules. This means that there are no conflicts between two linters.

To run WPS and ruff together, use:

ruff format && ruff check && flake8 --select=WPS .

You can copy our configuration from pyproject.toml (for ruff) and setup.cfg (for flake8).

Black

WPS can now also be used with black with default configuration. However, we recommend using ruff format instead.

Speed

WPS got a lot faster! Because:

  • We removed a lot of flake8 plugins
  • We removed a lot of rules covered by ruff

Running 0.19.2 (previous version) on https://github.com/dry-python/returns

» time flake8 .
flake8 .  20.63s user 2.47s system 469% cpu 4.919 total

The same on 1.0.0:

» time flake8 .
flake8 .  8.56s user 0.54s system 898% cpu 1.013 total

Which is 2.4x times faster!

... (truncated)

Commits

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 show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @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 [wemake-python-styleguide](https://github.com/wemake-services/wemake-python-styleguide) from 0.19.2 to 1.0.0.
- [Release notes](https://github.com/wemake-services/wemake-python-styleguide/releases)
- [Changelog](https://github.com/wemake-services/wemake-python-styleguide/blob/master/CHANGELOG.md)
- [Commits](wemake-services/wemake-python-styleguide@0.19.2...1.0.0)

---
updated-dependencies:
- dependency-name: wemake-python-styleguide
  dependency-type: direct:development
  update-type: version-update:semver-major
...

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 Dec 27, 2024
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Dec 27, 2024

Looks like wemake-python-styleguide is up-to-date now, so this is no longer needed.

@dependabot dependabot bot closed this Dec 27, 2024
@dependabot dependabot bot deleted the dependabot/pip/wemake-python-styleguide-1.0.0 branch December 27, 2024 18:25
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

Development

Successfully merging this pull request may close these issues.

0 participants