Skip to content

Bump flake8-simplify from 0.18.2 to 0.19.2#92

Merged
frenck merged 1 commit intomainfrom
dependabot/pip/flake8-simplify-0.19.2
Mar 30, 2022
Merged

Bump flake8-simplify from 0.18.2 to 0.19.2#92
frenck merged 1 commit intomainfrom
dependabot/pip/flake8-simplify-0.19.2

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Mar 30, 2022

Bumps flake8-simplify from 0.18.2 to 0.19.2.

Changelog

Sourced from flake8-simplify's changelog.

0.19.2

Released on 29.03.2022

Removed rules due to false-positives:

  • SIM903: Positional-only parameters cannot be identified in the AST
  • SIM909: Class attribute assignments are not reflexive assignements

0.19.1

Released on 29.03.2022

Removed rules due to false-positives:

  • SIM902: Positional-only parameters cannot be identified in the AST
  • SIM908: Ensure that the assigned name is equal to the name in the if.test

0.19.0

Released on 28.03.2022

New rules:

  • SIM902: Use keyword-argument instead of magic boolean
  • SIM903: Use keyword-argument instead of magic number
  • SIM907: Use Optional[Type] instead of Union[Type, None]
  • SIM908: Use ".get" instead of "if X in dict: dict[X]"
  • SIM909: Avoid reflexive assignments

Removed rules due to false-positives:

  • SIM119: Hinting to dataclasses in a proper way is hard

Fixed false-positives:

  • SIM108: Encourage the use of a terniary operator only when it is actually possible
  • SIM111: Recommending to use all/any only if there is no side-effect after the for-loop
  • SIM116: When a function is called, we cannot simply convert the if-else block to a dictionary
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 dependabot bot added dependencies Upgrade or downgrade of project dependencies. python labels Mar 30, 2022
Bumps [flake8-simplify](https://github.com/MartinThoma/flake8-simplify) from 0.18.2 to 0.19.2.
- [Release notes](https://github.com/MartinThoma/flake8-simplify/releases)
- [Changelog](https://github.com/MartinThoma/flake8-simplify/blob/master/CHANGELOG.md)
- [Commits](MartinThoma/flake8-simplify@0.18.2...0.19.2)

---
updated-dependencies:
- dependency-name: flake8-simplify
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/pip/flake8-simplify-0.19.2 branch from 73138d2 to e09a4bc Compare March 30, 2022 21:15
@codecov-commenter
Copy link

codecov-commenter commented Mar 30, 2022

Codecov Report

Merging #92 (e09a4bc) into main (f986dfc) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main      #92   +/-   ##
=======================================
  Coverage   94.27%   94.27%           
=======================================
  Files           5        5           
  Lines         297      297           
  Branches       26       26           
=======================================
  Hits          280      280           
  Misses         12       12           
  Partials        5        5           

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 f986dfc...e09a4bc. Read the comment docs.

@frenck frenck merged commit 7a5e56b into main Mar 30, 2022
@frenck frenck deleted the dependabot/pip/flake8-simplify-0.19.2 branch March 30, 2022 22:51
@github-actions github-actions bot locked and limited conversation to collaborators Apr 1, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

dependencies Upgrade or downgrade of project dependencies.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants