An open index of dependabot pull requests across open source projects.

Bump wemake-python-styleguide from 1.0.0 to 1.2.0

Open
Number: #2186
Type: Pull Request
State: Open
Author: dependabot[bot] dependabot[bot]
Association: Contributor
Comments: 0
Created: July 03, 2025 at 02:49 PM UTC
(11 months ago)
Updated: July 03, 2025 at 02:49 PM UTC
(11 months ago)
Labels:
dependencies python
Description:

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: https://github.com/wemake-services/wemake-python-styleguide/compare/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)
Pull Request Statistics
Commits:
1
Files Changed:
1
Additions:
+19
Deletions:
-19
Package Dependencies
Ecosystem:
pip
Version Change:
1.0.0 → 1.2.0
Update Type:
Minor
Technical Details
ID: 2788640
UUID: 2638791516
Node ID: PR_kwDOCf6-o86dSMNc
Host: GitHub
Repository: dry-python/returns
Merge State: Unknown