Skip to content

chore(deps-dev): update flake8-simplify requirement from ^0.19.2 to >=0.19.2,<0.21.0#35

Closed
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/pip/flake8-simplify-gte-0.19.2-and-lt-0.21.0
Closed

chore(deps-dev): update flake8-simplify requirement from ^0.19.2 to >=0.19.2,<0.21.0#35
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/pip/flake8-simplify-gte-0.19.2-and-lt-0.21.0

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Mar 31, 2023

Updates the requirements on flake8-simplify to permit the latest version.

Changelog

Sourced from flake8-simplify's changelog.

0.20.0

Release on 30.03.2023

New rules:

  • SIM910: dict.get(key, None) → dict.get(key)

0.19.3

Released on 28.07.2022

  • SIM104: Remove false-positives in case the loop is not a direct child of an async function (#147) by @​wyuenho

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 assignments

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

... (truncated)

Commits

You can trigger a rebase of this PR 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)
> **Note** > Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

Updates the requirements on [flake8-simplify](https://github.com/MartinThoma/flake8-simplify) to permit the latest version.
- [Release notes](https://github.com/MartinThoma/flake8-simplify/releases)
- [Changelog](https://github.com/MartinThoma/flake8-simplify/blob/master/CHANGELOG.md)
- [Commits](https://github.com/MartinThoma/flake8-simplify/commits)

---
updated-dependencies:
- dependency-name: flake8-simplify
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Mar 31, 2023
@codecov
Copy link

codecov bot commented Mar 31, 2023

Codecov Report

Patch and project coverage have no change.

Comparison is base (81549ee) 91.30% compared to head (d6fd486) 91.30%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #35   +/-   ##
=======================================
  Coverage   91.30%   91.30%           
=======================================
  Files           5        5           
  Lines         184      184           
=======================================
  Hits          168      168           
  Misses         16       16           
Flag Coverage Δ
unittests 91.30% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Sep 25, 2023

Superseded by #57.

@dependabot dependabot bot closed this Sep 25, 2023
@dependabot dependabot bot deleted the dependabot/pip/flake8-simplify-gte-0.19.2-and-lt-0.21.0 branch September 25, 2023 06:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file python Pull requests that update Python code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants