Skip to content

Bump wemake-python-styleguide from 1.0.0 to 1.2.0#2186

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

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

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jul 3, 2025

Bumps wemake-python-styleguide from 1.0.0 to 1.2.0.

Release notes

Sourced from wemake-python-styleguide's releases.

1.2.0

Main changes

Due to PEP-695, it's now allowed to use [] in decorators only for python3.12+.

@MyClassDecorator[T, V]
def some_function(): ...

Features

  • Adds WPS243: forbids complex finally bodies, #3458
  • Adds WPS478: forbids using non strict slice operations, #1011
  • Adds WPS479: forbids using multiline fstrings, #3405
  • Adds WPS480: forbids using comments inside formatted string, #3404

Bugfixes

  • Removes unnecessary WPS604 and WPS614 rules from the noqa.py, #3420
  • Fixes WPS115 false-positive on StrEnum, IntEnum, IntFlag attributes, #3381
  • Fixes WPS432, now it ignores magic numbers in Literal, #3397
  • Fixes WPS466 for generic type specifications MyClassDecorator[T], #3417
  • Fixes WPS212 to ignore nested classes and functions when counting return statements, #3413
  • Improves WPS349 highlighting, #3437

New Contributors

Full Changelog: wemake-services/wemake-python-styleguide@1.1.0...1.2.0

Version 1.1.0 with wps explain CLI

Command line utility

This version introduces wps CLI tool. wps explain <code> command can be used to access WPS violation docs (same as on website) but without any internet access.

Example output:

... (truncated)

Changelog

Sourced from wemake-python-styleguide's changelog.

1.2.0

Due to PEP-695, it's now allowed to use [] in decorators only for python3.12+.

@MyClassDecorator[T, V]
def some_function(): ...

Features

  • Adds WPS243: forbids complex finally bodies, #3458
  • Adds WPS478: forbids using non strict slice operations, #1011
  • Adds WPS479: forbids using multiline fstrings, #3405
  • Adds WPS480: forbids using comments inside formatted string, #3404

Bugfixes

  • Removes unnecessary WPS604 and WPS614 rules from the noqa.py, #3420
  • Fixes WPS115 false-positive on StrEnum, IntEnum, IntFlag attributes, #3381
  • Fixes WPS432, now it ignores magic numbers in Literal, #3397
  • Fixes WPS466 for generic type specifications MyClassDecorator[T], #3417
  • Fixes WPS212 to ignore nested classes and functions when counting return statements, #3413
  • Improves WPS349 highlighting, #3437

1.1.0

Command line utility

This version introduces wps CLI tool. wps explain <code> command can be used to access WPS violation docs (same as on website) but without any internet access.

Features

  • Adds WPS476: forbids to use await expressions in for loops, #1600
  • Adds WPS477: forbids TypeVarTuple after a TypeVar with a default, #3265

Bugfixes

  • Fixes WPS115 false-positive on Enum attributes, #3238
  • Removes duplicated WPS312, #3239
  • Fixes WPS432, now it shows literal num, #1402
  • Fixes WPS226, now it points to the first string literal occurrence, #3267
  • Fixes WPS605 false-positive on @staticmethod, #3292
  • Fixes _SELF name not to trigger WPS117, #3310
  • Fixes WPS221 being too strict with f-strings, #3350
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 1.0.0 to 1.2.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@1.0.0...1.2.0)

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

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 Jul 3, 2025
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Jul 14, 2025

Superseded by #2193.

@dependabot dependabot bot closed this Jul 14, 2025
@dependabot dependabot bot deleted the dependabot/pip/wemake-python-styleguide-1.2.0 branch July 14, 2025 16:52
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