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 dependency wemake-python-styleguide to ^0.19.0 #351

Closed
wants to merge 1 commit into from

Conversation

renovate[bot]
Copy link

@renovate renovate bot commented Mar 26, 2024

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
wemake-python-styleguide (source) ^0.15.2 -> ^0.19.0 age adoption passing confidence

Release Notes

wemake-services/wemake-python-styleguide (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

v0.17.0

Compare Source

Features
  • Breaking: drops python3.6 support
  • Adds support for pattern matching naming rules, same as other variables
  • Adds --show-violation-links option to show links to violation docs
  • Adds __init_subclass__ in the beginning of accepted methods
    order as per WPS338 #​2411
  • Adds WrongEmptyLinesCountViolation to check
    for too many lines in functions and methods definitions #​2486
Bugfixes
  • Fixes WPS226 false positives on | use in SomeType | AnotherType
    type hints syntax
  • Now -1 is not reported to be an overused expression
  • Allow __aiter__ to be async iterator
  • Adds violation method name to error message of YieldMagicMethodViolation
  • Fixes direct docker image invocation #​2492
Misc
  • Adds full violation codes to docs and BaseViolation.full_code #​2409
  • Fix documentation mismatch between default setting
    for max-string-usages and enforced rule #​2456
  • Domain name was changed from wemake-python-stylegui.de
    to wemake-python-styleguide.rtfd.io

v0.16.1

Compare Source

Bugfixes
  • Fixes crash on 'Literal["raise"]' annotation #​2341
  • Fixes WPS471 was not detected on complex assignment targets #​2301
  • Fixes flake8-bandit and bandit version conflict #​2368

v0.16.0

Compare Source


Configuration

📅 Schedule: Branch creation - "before 4am" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

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.


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

This PR has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot requested a review from billsioros as a code owner March 26, 2024 01:58
@renovate renovate bot added the 🎲 dependencies Working on dependencies label Mar 26, 2024
Copy link
Author

renovate bot commented Mar 26, 2024

⚠ Artifact update problem

Renovate 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:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: poetry.lock
Creating virtualenv dotify-goMkGsqJ-py3.12 in /home/ubuntu/.cache/pypoetry/virtualenvs
Updating dependencies
Resolving dependencies...


The current project's Python requirement (>=3.7,<4.0) is not compatible with some of the required packages Python requirement:
  - wemake-python-styleguide requires Python <4.0,>=3.9, so it will not be satisfied for Python >=3.7,<3.9

Because wemake-python-styleguide (0.19.0) requires Python <4.0,>=3.9
 and no versions of wemake-python-styleguide match >0.19.0,<0.20.0, wemake-python-styleguide is forbidden.
So, because dotify depends on wemake-python-styleguide (^0.19.0), version solving failed.

  • Check your dependencies Python requirement: The Python requirement can be specified via the `python` or `markers` properties
    
    For wemake-python-styleguide, a possible solution would be to set the `python` property to ">=3.9,<4.0"

    https://python-poetry.org/docs/dependency-specification/#python-restricted-dependencies,
    https://python-poetry.org/docs/dependency-specification/#using-environment-markers

Copy link

stale bot commented Apr 10, 2024

This issue has been marked stale, as it had no activity in the last 7 days. If the issue remains stale for an additional 7 days (a total of two weeks with no activity), it will be automatically closed.

@stale stale bot added the 💀 stale This had no recent activity label Apr 10, 2024
Copy link

stale bot commented Apr 21, 2024

Closing the issue due to inactivity.

@stale stale bot closed this Apr 21, 2024
Copy link
Author

renovate bot commented Apr 21, 2024

Renovate Ignore Notification

Because you closed this PR without merging, Renovate will ignore this update (^0.19.0). You will get a PR once a newer version is released. To ignore this dependency forever, add it to the ignoreDeps array of your Renovate config.

If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR.

@renovate renovate bot deleted the renovate/wemake-python-styleguide-0.x branch April 21, 2024 20:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🎲 dependencies Working on dependencies 💀 stale This had no recent activity
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant