Skip to content
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

chore(deps): update wemake-services/wemake-python-styleguide action to v0.19.2 #89

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Sep 4, 2023

This PR contains the following updates:

Package Type Update Change
wemake-services/wemake-python-styleguide action minor 0.17.0 -> 0.19.2

Release Notes

wemake-services/wemake-python-styleguide (wemake-services/wemake-python-styleguide)

v0.19.2

Compare Source

Bugfixes
  • Fixes WrongEmptyLinesCountViolation crash on Callable[..., ...] #​2899

v0.19.1

Compare Source

This release fixes how ... is used. For example, it is common to define
function stubs / protocols like this:

def some_function(): ...

Now, ... will be excluded from several rules.

Bugfixes
  • Fixes TooDeepNestingViolation not to trigger
    on ... in functions and classes
  • Fixes StatementHasNoEffectViolation not to trigger
    on ... in functions and classes, when it is the only node

v0.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
  • 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
  • Updates flake8 to 7.x
Bugfixes
  • Fixes ForbiddenInlineIgnoreViolation config parsing. #​2590
  • Fixes WrongEmptyLinesCountViolation for func definitions with ellipsis. #​2847
  • Fixes WrongEmptyLinesCountViolation for multiline implicit string concatination. #​2787
  • Fixes ObjectInBaseClassesListViolation, UnpythonicGetterSetterViolation,
    ImplicitInConditionViolation, RedundantSubscriptViolation,
    TooLongCompareViolation to include better error details
  • Fixes TooDeepNestingViolation for TryStar and Match statements
  • Fixes TooLongTryBodyViolation and TooManyExceptCasesViolation
    to work for TryStar statements as well
  • Fixes UselessNodeViolation to work with TryStar
  • Fixes DuplicateExceptionViolation to work with TryStar
  • Fixes TryExceptMultipleReturnPathViolation to work with TryStar
  • Fixes IncorrectExceptOrderViolation to work with TryStar
  • Fixes that MatchStar was not checked in pattern matching name assignments
  • Fixes pattern matching support
    in BlockAndLocalOverlapViolation and OuterScopeShadowingViolation
Misc
  • Updates multipleflake8-* dependencies
  • Fixes multiple typos in docs

v0.18.0

Compare Source

Features
  • Breaking: drops python3.7 support, because it has almost reached its EOL
  • Adds python3.11 support
  • Bump flake8 to version 5.x
  • Bump flake8-* dependencies to newer versions
  • Added ChainedIsViolation #​2443
  • Added BuggySuperContextViolation #​2310
Bugfixes
  • Make generic_visit() check script properly handle with statements.
  • Allow calling magic methods with the same name as the enclosing method #​2381
  • Fix WrongEmptyLinesCountViolation false positive #​2531
  • Fix OpenWithoutContextManagerViolation false positive #​2577
Misc
  • Replaced flakehell mentions to flakeheaven #​2409

Configuration

📅 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 is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot changed the title chore(deps): update wemake-services/wemake-python-styleguide action to v0.18.0 chore(deps): update wemake-services/wemake-python-styleguide action to v0.19.0 Mar 25, 2024
@renovate renovate bot force-pushed the renovate/wemake-services-wemake-python-styleguide-0.x branch from 4c7a73b to ee38889 Compare March 25, 2024 21:46
@renovate renovate bot changed the title chore(deps): update wemake-services/wemake-python-styleguide action to v0.19.0 chore(deps): update wemake-services/wemake-python-styleguide action to v0.19.1 Mar 26, 2024
@renovate renovate bot force-pushed the renovate/wemake-services-wemake-python-styleguide-0.x branch from ee38889 to ebbc071 Compare March 26, 2024 11:59
@renovate renovate bot changed the title chore(deps): update wemake-services/wemake-python-styleguide action to v0.19.1 chore(deps): update wemake-services/wemake-python-styleguide action to v0.19.2 Mar 26, 2024
@renovate renovate bot force-pushed the renovate/wemake-services-wemake-python-styleguide-0.x branch from ebbc071 to e8b146b Compare March 26, 2024 17:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants