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

Conversation

@dependabot-preview
Copy link
Contributor

Bumps wemake-python-styleguide from 0.14.1 to 0.15.0.

Changelog

Sourced from wemake-python-styleguide's changelog.

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
  • WPS531: Forbids testing conditions to just return booleans when it is possible to simply return the condition itself
  • Forbids to use unsafe infinite loops
  • Forbids to use raw strings r'' when not necessary
  • Forbids to use too complex f-strings
  • Forbids to use too many raise statements inside a single function
  • Forbids to compare with float and complex values
  • Forbids single element destruct
  • Forbids to ignore some violations (configurable) on a line level
  • Forbids single element unpacking
  • Forbids to unpack lists with side-effects
  • Forbids to use miltiline strings except for assignments and docstrings
  • Forbids not returning anything in functions and methods starting with get_
  • Forbids to use empty comment
  • Forbids using bitwise operation with boolean operation
  • Forbids inconsistent structuring of multiline comprehensions
  • Forbids to use unpythonic getters and setters such as get_attribute or set_attribute
  • Now credits, license, and copyright builtins are free to shadow

Bugfixes

  • Fixes fails of annotation complexity on Literal[""]
  • Fixes how wrong variable names were checked case sensitive with WPS110
  • Fixes false positives DirectMagicAttributeAccessViolation with __mro__, __subclasses__ and __version__
  • Make WPS326 work when there is comment between string literals
  • Allowed yield statements in call method
  • Allow to use ^ with 1
  • Fixes false positives in WPS513 and WPS323

... (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)

@dependabot-preview dependabot-preview bot added the dependencies Pull requests that update a dependency file label Feb 10, 2021
@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 10, 2021

Codecov Report

Merging #102 (60b2fc7) into develop (15f3446) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff            @@
##           develop     #102   +/-   ##
========================================
  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...60b2fc7. Read the comment docs.

@dependabot-preview
Copy link
Contributor Author

Superseded by #103.

@dependabot-preview dependabot-preview bot deleted the dependabot/pip/wemake-python-styleguide-0.15.0 branch February 15, 2021 02:31
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