-
Notifications
You must be signed in to change notification settings - Fork 1
chore(deps): update dependency wemake-python-styleguide to v0.19.2 #76
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
⚠ Artifact update problemRenovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is. ♻ Renovate will retry this branch, including artifacts, only when one of the following happens:
The artifact failure details are included below: File name: poetry.lock
|
b0c184a
to
2e84379
Compare
2e84379
to
0737e31
Compare
0737e31
to
5a7969e
Compare
|
This PR contains the following updates:
0.18.0
->0.19.2
Release Notes
wemake-services/wemake-python-styleguide (wemake-python-styleguide)
v0.19.2
Compare Source
Bugfixes
WrongEmptyLinesCountViolation
crash onCallable[..., ...]
#2899v0.19.1
Compare Source
This release fixes how
...
is used. For example, it is common to definefunction stubs / protocols like this:
Now,
...
will be excluded from several rules.Bugfixes
TooDeepNestingViolation
not to triggeron
...
in functions and classesStatementHasNoEffectViolation
not to triggeron
...
in functions and classes, when it is the only nodev0.19.0
Compare Source
This minor version will be the last release with all the
flake8
plugins.In the future this project will be migrated to be used together with
ruff
.Features
python3.12
supportpython3.8
supportobject
required base class exception:since
class Klass[_Type]
must not containobject
,this rule is change to be the opposite:
object
explicit base class must not be used.You can use
ruff
to change allobject
-based types to the new style:ruff check --select=UP004 --fix .
https://docs.astral.sh/ruff/rules/useless-object-inheritance/
since it is required by
mypy
when usingConcatenate
f
-string are parsed inpython3.12
several token-basedviolations are not reported anymore for them:
UselessMultilineStringViolation
,ImplicitRawStringViolation
,WrongUnicodeEscapeViolation
,RawStringNotNeededViolation
wemake
output formatter now respectsNO_COLOR=1
optionto disable text highlighting. See https://no-color.org
ImportObjectCollisionViolation
to detectthe same objects imported under different aliases
reveal_locals
to the list of forbidden functionsflake8
to7.x
Bugfixes
ForbiddenInlineIgnoreViolation
config parsing. #2590WrongEmptyLinesCountViolation
for func definitions with ellipsis. #2847WrongEmptyLinesCountViolation
for multiline implicit string concatenation. #2787ObjectInBaseClassesListViolation
,UnpythonicGetterSetterViolation
,ImplicitInConditionViolation
,RedundantSubscriptViolation
,TooLongCompareViolation
to include better error detailsTooDeepNestingViolation
forTryStar
andMatch
statementsTooLongTryBodyViolation
andTooManyExceptCasesViolation
to work for
TryStar
statements as wellUselessNodeViolation
to work withTryStar
DuplicateExceptionViolation
to work withTryStar
TryExceptMultipleReturnPathViolation
to work withTryStar
IncorrectExceptOrderViolation
to work withTryStar
MatchStar
was not checked in pattern matching name assignmentsin
BlockAndLocalOverlapViolation
andOuterScopeShadowingViolation
Misc
flake8-*
dependenciesConfiguration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.