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
Adds official python3.12 support
Breaking: drops python3.8 support
Breaking: Reconsider object required base class exception:
since class Klass[_Type] must not contain object,
this rule is change to be the opposite:
object explicit base class must not be used.
You can use ruff to change all object-based types to the new style:
ruff check --select=UP004 --fix .https://docs.astral.sh/ruff/rules/useless-object-inheritance/
Breaking: allow positional-only parameters,
since it is required by mypy when using Concatenate
Adds support for naming rules for PEP695 type params
Due to how f-string are parsed in python3.12 several token-based
violations are not reported anymore for them:
WrongMultilineStringViolation, ImplicitRawStringViolation,
WrongUnicodeEscapeViolation, RawStringNotNeededViolation
wemake output formatter now respects NO_COLOR=1 option
to disable text highlighting. See https://no-color.org
Adds ImportObjectCollisionViolation to detect
the same objects imported under different aliases
Adds reveal_locals to the list of forbidden functions
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
Adds official python3.12 support
Breaking: drops python3.8 support
Breaking: Reconsider object required base class exception:
since class Klass[_Type] must not contain object,
this rule is change to be the opposite:
object explicit base class must not be used.
You can use ruff to change all object-based types to the new style:
ruff check --select=UP004 --fix .https://docs.astral.sh/ruff/rules/useless-object-inheritance/
Breaking: allow positional-only parameters,
since it is required by mypy when using Concatenate
Adds support for naming rules for PEP695 type params
Due to how f-string are parsed in python3.12 several token-based
violations are not reported anymore for them:
WrongMultilineStringViolation, ImplicitRawStringViolation,
WrongUnicodeEscapeViolation, RawStringNotNeededViolation
wemake output formatter now respects NO_COLOR=1 option
to disable text highlighting. See https://no-color.org
Adds ImportObjectCollisionViolation to detect
the same objects imported under different aliases
Adds reveal_locals to the list of forbidden functions
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 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 from 0.18.0 to 0.19.0.
Release notes
Sourced from wemake-python-styleguide's releases.
... (truncated)
Changelog
Sourced from wemake-python-styleguide's changelog.
... (truncated)
Commits
55d110b
Version 0.19.0 release30a0e79
Update flake8bb8a278
Support naming validation for PEP695 (#2894)884be48
Fix pattern matching and block overlaps (#2893)3cf1b69
SupportMatchStar
naming (#2892)4b45d31
Supportast.TryStar
andexcept*
(#2891)8afb4d4
Format error text (#2890)d4f70c6
Run tests on 3.12 (#2889)43a966f
Must not use explicitobject
base-class (#2888)47d71a3
Update pyproject.tomlDependabot 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