Skip to content
This repository has been archived by the owner on May 26, 2021. It is now read-only.

build(deps-dev): bump wemake-python-styleguide from 0.14.1 to 0.15.1 #103

Conversation

dependabot-preview[bot]
Copy link
Contributor

Bumps wemake-python-styleguide from 0.14.1 to 0.15.1.

Release notes

Sourced from wemake-python-styleguide's releases.

Version 0.15.1

Bugfixes

  • Fixes dataclasses import, it was failing on python3.6
  • Fixes InconsistentComprehensionViolation work with async comprehensions
  • Fixes nested compehensions support for InconsistentComprehensionViolation
  • Fixes multiple if support for InconsistentComprehensionViolation
  • Fixes that NestedTernaryViolation was not reported for a comprehension
  • Fixes that ConstantConditionViolation was not reported for a comprehension
  • Fixes that ConstantConditionViolation was triggering for while x := True:
  • Fixes that UselessElseViolation was not reported for for, while, and try keywords
  • Fixes false positive InfiniteWhileLoopViolation for try #1857
  • Fixes that InfiniteWhileLoopViolation was not triggered on 1 or other truthy nodes

Misc

  • Refactors how tokenize tests are executed, now we have an option to compile fixture code to make sure it is syntatically valid
Changelog

Sourced from wemake-python-styleguide's changelog.

0.15.1

Bugfixes

  • Fixes dataclasses import, it was failing on python3.6
  • Fixes InconsistentComprehensionViolation work with async comprehensions
  • Fixes nested compehensions support for InconsistentComprehensionViolation
  • Fixes multiple if support for InconsistentComprehensionViolation
  • Fixes that NestedTernaryViolation was not reported for a comprehension
  • Fixes that ConstantConditionViolation was not reported for a comprehension
  • Fixes that ConstantConditionViolation was triggering for while x := True:
  • Fixes that UselessElseViolation was not reported for for, while, and try keywords
  • Fixes false positive InfiniteWhileLoopViolation for try #1857
  • Fixes that InfiniteWhileLoopViolation was not triggered on 1 or other truthy nodes

Misc

  • Refactors how tokenize tests are executed, now we have an option to compile fixture code to make sure it is syntatically valid

0.15.0 aka python3.9

Features

  • Adds python3.9 support
  • Forbids to use new-style decorators on python3.9
  • Changes how we treat own/foreign attributes, since now we only check assigned attribute names for self/cls/mcs, but not any other ones. So, now writting point.x = 1 will not trigger any violations. Previously, it would raise "too short name".
  • Forbids using non-trivial expressions as an argument to except
  • Forbids using too many variables in a tuple unpacking
  • Forbids using float("NaN").
  • Forbids assigning to a slice
  • Allow __call__ method to be asynchronous
  • Allows common strings not to be counted against string constant overuse limit
  • Forbids to unpack iterable objects to lists #1259
  • Forbids to use single return None
  • Add __await__ to the list of priority magic methods
  • Forbids to use float zeros (0.0)
  • Forbids raise Exception and raise BaseException
  • Forbids to use % with zero as the divisor
  • Forbids testing conditions to just return booleans when it is possible to simply return the condition itself
  • Forbids to use unsafe infinite loops

... (truncated)

Commits

Dependabot compatibility score

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 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)
  • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language
  • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in your Dependabot dashboard:

  • Update frequency (including time of day and day of week)
  • Pull request limits (per update run and/or open at any time)
  • Automerge options (never/patch/minor, and dev/runtime dependencies)
  • Out-of-range updates (receive only lockfile updates, if desired)
  • Security updates (receive only security updates, if desired)

@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

@codecov
Copy link

codecov bot commented Feb 15, 2021

Codecov Report

Merging #103 (50dcf54) into develop (15f3446) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff            @@
##           develop     #103   +/-   ##
========================================
  Coverage    96.15%   96.15%           
========================================
  Files            7        7           
  Lines          182      182           
  Branches        12       12           
========================================
  Hits           175      175           
  Misses           5        5           
  Partials         2        2           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 15f3446...f3e6a7e. Read the comment docs.

@dependabot-preview
Copy link
Contributor Author

Superseded by #108.

@dependabot-preview dependabot-preview bot deleted the dependabot/pip/wemake-python-styleguide-0.15.1 branch March 1, 2021 02:29
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant