Bump wemake-python-styleguide from 1.0.0 to 1.2.0
Type: Pull Request
State: Open
Association: Contributor
Comments: 0
(11 months ago)
(11 months ago)
dependencies python
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 forpython3.12+.@MyClassDecorator[T, V] def some_function(): ...Features
- Adds
WPS243: forbids complexfinallybodies, #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, #3404Bugfixes
- Removes unnecessary
WPS604andWPS614rules from thenoqa.py, #3420- Fixes
WPS115false-positive onStrEnum,IntEnum,IntFlagattributes, #3381- Fixes
WPS432, now it ignores magic numbers inLiteral, #3397- Fixes
WPS466for generic type specificationsMyClassDecorator[T], #3417- Fixes
WPS212to ignore nested classes and functions when countingreturnstatements, #3413- Improves
WPS349highlighting, #3437New Contributors
@LordGvozdmade their first contribution in wemake-services/wemake-python-styleguide#3362@NikitaSemenovAiforiamade their first contribution in wemake-services/wemake-python-styleguide#3382@wjqsmmade their first contribution in wemake-services/wemake-python-styleguide#3403@mkaraevmade their first contribution in wemake-services/wemake-python-styleguide#3411@joschamade their first contribution in wemake-services/wemake-python-styleguide#3421@MIXglebmade their first contribution in wemake-services/wemake-python-styleguide#3423@dgtrvmade their first contribution in wemake-services/wemake-python-styleguide#3431@alexeev-progmade their first contribution in wemake-services/wemake-python-styleguide#3461Full Changelog: https://github.com/wemake-services/wemake-python-styleguide/compare/1.1.0...1.2.0
Version 1.1.0 with
wps explainCLICommand line utility
This version introduces
wpsCLI 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 forpython3.12+.@MyClassDecorator[T, V] def some_function(): ...Features
- Adds
WPS243: forbids complexfinallybodies, #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, #3404Bugfixes
- Removes unnecessary
WPS604andWPS614rules from thenoqa.py, #3420- Fixes
WPS115false-positive onStrEnum,IntEnum,IntFlagattributes, #3381- Fixes
WPS432, now it ignores magic numbers inLiteral, #3397- Fixes
WPS466for generic type specificationsMyClassDecorator[T], #3417- Fixes
WPS212to ignore nested classes and functions when countingreturnstatements, #3413- Improves
WPS349highlighting, #34371.1.0
Command line utility
This version introduces
wpsCLI 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 useawaitexpressions inforloops, #1600- Adds
WPS477: forbidsTypeVarTupleafter aTypeVarwith a default, #3265Bugfixes
- Fixes
WPS115false-positive onEnumattributes, #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
WPS605false-positive on@staticmethod, #3292- Fixes
_SELFname not to triggerWPS117, #3310- Fixes
WPS221being too strict with f-strings, #3350
Commits
c952580Version 1.2.0 release (#3480)c7ebb53Bump pytest-xdist from 3.7.0 to 3.8.0 (#3479)019b188Bump hypothesis from 6.135.16 to 6.135.20 (#3478)1c4de0d[pre-commit.ci] pre-commit autoupdate (#3477)5927698Forbid complexfinallybodies (#3461)4bdacaeBump lxml from 5.4.0 to 6.0.0 (#3474)03194c1Bump hypothesis from 6.135.15 to 6.135.16 (#3475)f1f5940Bump ruff from 0.12.0 to 0.12.1 (#3476)12ac0adBump hypothesis from 6.135.14 to 6.135.15 (#3473)c99602d[pre-commit.ci] pre-commit autoupdate (#3472)- Additional commits viewable in compare view
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 rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill 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 versionwill 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 dependencywill 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
1
1
+19
-19
Package Dependencies
Technical Details
| ID: | 2788640 |
| UUID: | 2638791516 |
| Node ID: | PR_kwDOCf6-o86dSMNc |
| Host: | GitHub |
| Repository: | dry-python/returns |
| Merge State: | Unknown |