closeio / lintlizard

For a good clean code feeling no matter what!
MIT License
5 stars 2 forks source link

Bump flake8-simplify from 0.14.1 to 0.19.0 #99

Closed dependabot[bot] closed 2 years ago

dependabot[bot] commented 2 years ago

Bumps flake8-simplify from 0.14.1 to 0.19.0.

Release notes

Sourced from flake8-simplify's releases.

0.18.0

New rules since 0.17.0

  • SIM906: Merge nested os.path.join calls

Maintenance

  • Restructure repository to simplify future development. It's time for more than one file.
Changelog

Sourced from flake8-simplify's changelog.

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

0.18.2

Released on 26.03.2022

Removed rules due to false-positives:

  • SIM204: Use 'a >= b' instead of 'not (a < b)'
  • SIM205: Use 'a > b' instead of 'not (a <= b)'
  • SIM206: Use 'a b)'
  • SIM207: Use 'a < b' instead of 'not (a <= b)'

Fixed false-positives:

  • SIM113: Use enumerate instead of manually incrementing a counter

Maintenance:

  • Split a way-too-big module into smaller modules

0.18.1

Released on 24.02.2022

Only distribute the flake8_simplify package. 0.18.0 did also distribute the tests package which caused issues in some systems.

0.18.0

Released on 20.02.2022

... (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[bot] commented 2 years ago

Superseded by #100.