brndnmtthws / thetagang

ThetaGang is an IBKR bot for collecting money
GNU Affero General Public License v3.0
1.9k stars 249 forks source link

Bump the deps group with 1 update #337

Closed dependabot[bot] closed 7 months ago

dependabot[bot] commented 7 months ago

Bumps the deps group with 1 update: ruff.

Updates ruff from 0.1.6 to 0.1.7

Release notes

Sourced from ruff's releases.

v0.1.7

Changes

Preview features

  • Implement multiline dictionary and list hugging for preview style (#8293)
  • Implement the fix_power_op_line_length preview style (#8947)
  • Use Python version to determine typing rewrite safety (#8919)
  • [flake8-annotations] Enable auto-return-type involving Optional and Union annotations (#8885)
  • [flake8-bandit] Implement django-raw-sql (S611) (#8651)
  • [flake8-bandit] Implement tarfile-unsafe-members (S202) (#8829)
  • [flake8-pyi] Implement fix for unnecessary-literal-union (PYI030) (#7934)
  • [flake8-simplify] Extend dict-get-with-none-default (SIM910) to non-literals (#8762)
  • [pylint] - add unnecessary-list-index-lookup (PLR1736) + autofix (#7999)
  • [pylint] - implement R0202 and R0203 with autofixes (#8335)
  • [pylint] Implement repeated-keyword (PLE1132) (#8706)
  • [pylint] Implement too-many-positional (PLR0917) (#8995)
  • [pylint] Implement unnecessary-dict-index-lookup (PLR1733) (#8036)
  • [refurb] Implement redundant-log-base (FURB163) (#8842)

Rule changes

  • [flake8-boolean-trap] Allow booleans in @override methods (#8882)
  • [flake8-bugbear] Avoid B015,B018 for last expression in a cell (#8815)
  • [flake8-pie] Allow ellipses for enum values in stub files (#8825)
  • [flake8-pyi] Check PEP 695 type aliases for snake-case-type-alias and t-suffixed-type-alias (#8966)
  • [flake8-pyi] Check for kwarg and vararg NoReturn type annotations (#8948)
  • [flake8-simplify] Omit select context managers from SIM117 (#8801)
  • [pep8-naming] Allow Django model loads in non-lowercase-variable-in-function (N806) (#8917)
  • [pycodestyle] Avoid E703 for last expression in a cell (#8821)
  • [pycodestyle] Update E402 to work at cell level for notebooks (#8872)
  • [pydocstyle] Avoid D100 for Jupyter Notebooks (#8816)
  • [pylint] Implement fix for unspecified-encoding (PLW1514) (#8928)

Formatter

  • Avoid unstable formatting in ellipsis-only body with trailing comment (#8984)
  • Inline trailing comments for type alias similar to assignments (#8941)
  • Insert trailing comma when function breaks with single argument (#8921)

CLI

  • Update ruff check and ruff format to default to the current directory (#8791)
  • Stop at the first resolved parent configuration (#8864)

Configuration

  • [pylint] Default max-positional-args to max-args (#8998)
  • [pylint] Add allow-dunder-method-names setting for bad-dunder-method-name (PLW3201) (#8812)
  • [isort] Add support for from-first setting (#8663)

... (truncated)

Changelog

Sourced from ruff's changelog.

0.1.7

Preview features

  • Implement multiline dictionary and list hugging for preview style (#8293)
  • Implement the fix_power_op_line_length preview style (#8947)
  • Use Python version to determine typing rewrite safety (#8919)
  • [flake8-annotations] Enable auto-return-type involving Optional and Union annotations (#8885)
  • [flake8-bandit] Implement django-raw-sql (S611) (#8651)
  • [flake8-bandit] Implement tarfile-unsafe-members (S202) (#8829)
  • [flake8-pyi] Implement fix for unnecessary-literal-union (PYI030) (#7934)
  • [flake8-simplify] Extend dict-get-with-none-default (SIM910) to non-literals (#8762)
  • [pylint] - add unnecessary-list-index-lookup (PLR1736) + autofix (#7999)
  • [pylint] - implement R0202 and R0203 with autofixes (#8335)
  • [pylint] Implement repeated-keyword (PLe1132) (#8706)
  • [pylint] Implement too-many-positional (PLR0917) (#8995)
  • [pylint] Implement unnecessary-dict-index-lookup (PLR1733) (#8036)
  • [refurb] Implement redundant-log-base (FURB163) (#8842)

Rule changes

  • [flake8-boolean-trap] Allow booleans in @override methods (#8882)
  • [flake8-bugbear] Avoid B015,B018 for last expression in a cell (#8815)
  • [flake8-pie] Allow ellipses for enum values in stub files (#8825)
  • [flake8-pyi] Check PEP 695 type aliases for snake-case-type-alias and t-suffixed-type-alias (#8966)
  • [flake8-pyi] Check for kwarg and vararg NoReturn type annotations (#8948)
  • [flake8-simplify] Omit select context managers from SIM117 (#8801)
  • [pep8-naming] Allow Django model loads in non-lowercase-variable-in-function (N806) (#8917)
  • [pycodestyle] Avoid E703 for last expression in a cell (#8821)
  • [pycodestyle] Update E402 to work at cell level for notebooks (#8872)
  • [pydocstyle] Avoid D100 for Jupyter Notebooks (#8816)
  • [pylint] Implement fix for unspecified-encoding (PLW1514) (#8928)

Formatter

  • Avoid unstable formatting in ellipsis-only body with trailing comment (#8984)
  • Inline trailing comments for type alias similar to assignments (#8941)
  • Insert trailing comma when function breaks with single argument (#8921)

CLI

  • Update ruff check and ruff format to default to the current directory (#8791)
  • Stop at the first resolved parent configuration (#8864)

Configuration

  • [pylint] Default max-positional-args to max-args (#8998)
  • [pylint] Add allow-dunder-method-names setting for bad-dunder-method-name (PLW3201) (#8812)
  • [isort] Add support for from-first setting (#8663)
  • [isort] Add support for length-sort settings (#8841)

... (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 show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore major version` will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself) - `@dependabot ignore minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself) - `@dependabot ignore ` will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself) - `@dependabot unignore ` will remove all of the ignore conditions of the specified dependency - `@dependabot unignore ` will remove the ignore condition of the specified dependency and ignore conditions