Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump the dev-dependencies group with 3 updates #6

Merged
merged 1 commit into from
Dec 1, 2023

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Dec 1, 2023

Bumps the dev-dependencies group with 3 updates: hypothesis, ruff and refurb.

Updates hypothesis from 6.88.4 to 6.91.0

Commits
  • 66958d2 Bump hypothesis-python version to 6.91.0 and update changelog
  • f9d93e2 Merge pull request #3799 from HypothesisWorks/create-pull-request/patch
  • 47c286d Bump hypothesis-python version to 6.90.1 and update changelog
  • 4d95d5a Merge pull request #3802 from Zac-HD/testcase-subclass-settings
  • a3d9623 Events can have a payload now
  • 63c5298 get conjecturedata from runner
  • f032d00 Additional coverage pattern
  • 8a67dc7 refactor interesting_origin
  • 3962442 Note we support 3.12 now
  • beb18e3 Update pinned dependencies
  • Additional commits viewable in compare view

Updates ruff from 0.1.5 to 0.1.6

Release notes

Sourced from ruff's releases.

v0.1.6

Changes

0.1.6

Preview features

  • [flake8-boolean-trap] Extend boolean-type-hint-positional-argument (FBT001) to include booleans in unions (#7501)
  • [flake8-pie] Extend reimplemented-list-builtin (PIE807) to dict reimplementations (#8608)
  • [flake8-pie] Extend unnecessary-pass (PIE790) to include ellipses (...) (#8641)
  • [flake8-pie] Implement fix for unnecessary-spread (PIE800) (#8668)
  • [flake8-quotes] Implement unnecessary-escaped-quote (Q004) (#8630)
  • [pycodestyle] Implement fix for multiple-spaces-after-keyword (E271) and multiple-spaces-before-keyword (E272) (#8622)
  • [pycodestyle] Implement fix for multiple-spaces-after-operator (E222) and multiple-spaces-before-operator (E221) (#8623)
  • [pyflakes] Extend is-literal (F632) to include comparisons against mutable initializers (#8607)
  • [pylint] Implement redefined-argument-from-local (PLR1704) (#8159)
  • [pylint] Implement fix for unnecessary-lambda (PLW0108) (#8621)
  • [refurb] Implement if-expr-min-max (FURB136) (#8664)
  • [refurb] Implement math-constant (FURB152) (#8727)

Rule changes

  • [flake8-annotations] Add autotyping-like return type inference for annotation rules (#8643)
  • [flake8-future-annotations] Implement fix for future-required-type-annotation (FA102) (#8711)
  • [flake8-implicit-namespace-package] Avoid missing namespace violations in scripts with shebangs (#8710)
  • [pydocstyle] Update over-indentation (D208) to preserve indentation offsets when fixing overindented lines (#8699)
  • [pyupgrade] Refine timeout-error-alias (UP041) to remove false positives (#8587)

Formatter

  • Fix instability in await formatting with fluent style (#8676)
  • Compare formatted and unformatted ASTs during formatter tests (#8624)
  • Preserve trailing semicolon for Notebooks (#8590)

CLI

  • Improve debug printing for resolving origin of config settings (#8729)
  • Write unchanged, excluded files to stdout when read via stdin (#8596)

Configuration

  • [isort] Support disabling sections with no-sections = true (#8657)
  • [pep8-naming] Support local and dynamic class- and static-method decorators (#8592)
  • [pydocstyle] Allow overriding pydocstyle convention rules (#8586)

Bug fixes

  • Avoid syntax error via importing trio.lowlevel (#8730)
  • Omit unrolled augmented assignments in PIE794 (#8634)
  • Slice source code instead of generating it for EM fixes (#7746)

... (truncated)

Changelog

Sourced from ruff's changelog.

0.1.6

Preview features

  • [flake8-boolean-trap] Extend boolean-type-hint-positional-argument (FBT001) to include booleans in unions (#7501)
  • [flake8-pie] Extend reimplemented-list-builtin (PIE807) to dict reimplementations (#8608)
  • [flake8-pie] Extend unnecessary-pass (PIE790) to include ellipses (...) (#8641)
  • [flake8-pie] Implement fix for unnecessary-spread (PIE800) (#8668)
  • [flake8-quotes] Implement unnecessary-escaped-quote (Q004) (#8630)
  • [pycodestyle] Implement fix for multiple-spaces-after-keyword (E271) and multiple-spaces-before-keyword (E272) (#8622)
  • [pycodestyle] Implement fix for multiple-spaces-after-operator (E222) and multiple-spaces-before-operator (E221) (#8623)
  • [pyflakes] Extend is-literal (F632) to include comparisons against mutable initializers (#8607)
  • [pylint] Implement redefined-argument-from-local (PLR1704) (#8159)
  • [pylint] Implement fix for unnecessary-lambda (PLW0108) (#8621)
  • [refurb] Implement if-expr-min-max (FURB136) (#8664)
  • [refurb] Implement math-constant (FURB152) (#8727)

Rule changes

  • [flake8-annotations] Add autotyping-like return type inference for annotation rules (#8643)
  • [flake8-future-annotations] Implement fix for future-required-type-annotation (FA102) (#8711)
  • [flake8-implicit-namespace-package] Avoid missing namespace violations in scripts with shebangs (#8710)
  • [pydocstyle] Update over-indentation (D208) to preserve indentation offsets when fixing overindented lines (#8699)
  • [pyupgrade] Refine timeout-error-alias (UP041) to remove false positives (#8587)

Formatter

  • Fix instability in await formatting with fluent style (#8676)
  • Compare formatted and unformatted ASTs during formatter tests (#8624)
  • Preserve trailing semicolon for Notebooks (#8590)

CLI

  • Improve debug printing for resolving origin of config settings (#8729)
  • Write unchanged, excluded files to stdout when read via stdin (#8596)

Configuration

  • [isort] Support disabling sections with no-sections = true (#8657)
  • [pep8-naming] Support local and dynamic class- and static-method decorators (#8592)
  • [pydocstyle] Allow overriding pydocstyle convention rules (#8586)

Bug fixes

  • Avoid syntax error via importing trio.lowlevel (#8730)
  • Omit unrolled augmented assignments in PIE794 (#8634)
  • Slice source code instead of generating it for EM fixes (#7746)
  • Allow whitespace around colon in slices for whitespace-before-punctuation (E203) (#8654)
  • Use function range for no-self-use (#8637)
  • F-strings doesn't contain bytes literal for PLW0129 (#8675)

... (truncated)

Commits
  • f460f9c Bump version to v0.1.6 (#8744)
  • 2faac1e [refurb] Implement math-constant (FURB152) (#8727)
  • b7dbb90 Remove incorrect deprecation label for stdout and stderr (#8743)
  • 66794bc Remove erroneous bad-dunder-name reference (#8742)
  • dca430f Fix instability with await fluent style (#8676)
  • 841e6c8 Add River in "Who's Using Ruff?" section (#8740)
  • bd99175 Update D208 to preserve indentation offsets when fixing overindented lines ...
  • 4c86b15 Fix typo (#8735)
  • e2109c1 Improve debug printing for resolving origin of config settings (#8729)
  • 1fcccf8 Avoid syntax error via importing trio.lowlevel (#8730)
  • Additional commits viewable in compare view

Updates refurb from 1.23.0 to 1.24.0

Release notes

Sourced from refurb's releases.

Release v1.24.0

This release adds 2 new checks, some documentation updates, and allows for using Refurb with the new 1.7.0 release of Mypy. Thank you @​bzoracler for fixing this!

Unpin Mypy v1.7.0

Mypy v1.7.0 made an internal change that broke Refurb (see #305). A workaround has since been found meaning we no longer need to pin to Mypy <1.7.0. If you are still experiencing any issues with using older/newer versions of Mypy with Refurb, please open an issue!

Add use-hexdigest-hashlib check (FURB181)

Use .hexdigest() to get a hex digest from a hash.

Bad:

from hashlib import sha512
hashed = sha512(b"some data").digest().hex()

Good:

from hashlib import sha512
hashed = sha512(b"some data").hexdigest()

Add simplify-hashlib-ctor (FURB182)

You can pass data into hashlib constructors, so instead of creating a hash object and immediately updating it, pass the data directly.

Bad:

from hashlib import sha512
h = sha512()
h.update(b"data)

Good:

from hashlib import sha512
h = sha512(b"data")

What's Changed

... (truncated)

Commits
  • a25b5d6 Add simplify-hashlib-ctor check:
  • 3036094 Add use-hexdigest-hashlib check
  • ebbee78 Bump packages, increase line length to 99 columns
  • 3243e3d Use standalone AST visitor (#309)
  • 527ea01 Specify what Python version Refurb uses when version isn't set (#308):
  • 3f243b1 Fix incorrect grammar in README (#307)
  • See full diff in compare view

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 <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore <dependency name> 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 <dependency name> 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 <dependency name> 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 <dependency name> will remove all of the ignore conditions of the specified dependency
  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions

Bumps the dev-dependencies group with 3 updates: [hypothesis](https://github.com/HypothesisWorks/hypothesis), [ruff](https://github.com/astral-sh/ruff) and [refurb](https://github.com/dosisod/refurb).


Updates `hypothesis` from 6.88.4 to 6.91.0
- [Release notes](https://github.com/HypothesisWorks/hypothesis/releases)
- [Commits](HypothesisWorks/hypothesis@hypothesis-python-6.88.4...hypothesis-python-6.91.0)

Updates `ruff` from 0.1.5 to 0.1.6
- [Release notes](https://github.com/astral-sh/ruff/releases)
- [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md)
- [Commits](astral-sh/ruff@v0.1.5...v0.1.6)

Updates `refurb` from 1.23.0 to 1.24.0
- [Release notes](https://github.com/dosisod/refurb/releases)
- [Commits](dosisod/refurb@v1.23.0...v1.24.0)

---
updated-dependencies:
- dependency-name: hypothesis
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: dev-dependencies
- dependency-name: ruff
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: dev-dependencies
- dependency-name: refurb
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: dev-dependencies
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Dec 1, 2023
@insolor insolor merged commit d958a11 into main Dec 1, 2023
2 checks passed
@insolor insolor deleted the dependabot/pip/dev-dependencies-d997a3030c branch December 1, 2023 13:01
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.

1 participant