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 akaihola/darker from 1.6.1 to 1.7.2 #130

Closed

Conversation

dependabot[bot]
Copy link

@dependabot dependabot bot commented on behalf of github Jul 13, 2023

Bumps akaihola/darker from 1.6.1 to 1.7.2.

Release notes

Sourced from akaihola/darker's releases.

1.7.2

Added

  • Add a News link on the PyPI page.
  • Allow - as the single source filename when using the --stdin-filename option. This makes the option compatible with Black.
  • Upgrade NixOS tests to use Python 3.11 on both Linux and macOS.

Fixed

  • Revert running commit-range from the repository itself. This broke the GitHub action.
  • Python 3.12 compatibility in multi-line string scanning.
  • Python 3.12 compatibility for the GitHub Action.
  • Use the original repository working directory name as the name of the temporary directory for getting the linter baseline. This avoids issues with Mypy when there's an __init__.py in the repository root.
  • Upgrade install-nix-action to version 22 in CI to fix an issue with macOS.
  • Allow --target-version=py312 since newest Black supports it.
  • Allow a comment in milestone titles in the bump_version script.

1.7.1

Added

  • Prefix GitHub milestones with Darker for clarity since we'll have two additional related repositories soon in the same project.

Fixed

  • Use git worktree to create a repository checkout for baseline linting. This avoids issues with the previous git clone and git checkout based approach.
  • Disallow Flynt version 0.78 and newer to avoid an internal API incompatibility.
  • In CI builds, run the commit-range action from the current checkout instead of pointing to a release tag. This fixes workflows when in a release branch.
  • Linting fixes: Use stacklevel=2 in warnings.warn() calls as suggested by Flake8; skip Bandit check for virtualenv creation in the GitHub Action; use ignore[method-assign] as suggested by Mypy.

1.7.0

Added

  • -f / --flynt option for converting old-style format strings to f-strings as supported in Python 3.6+.
  • Make unit tests compatible with pytest --log-cli-level==DEBUG. Doctests are still incompatible due to pytest#5908 <https://github.com/pytest-dev/pytest/issues/5908>_.
  • Black's target-version = configuration file option and -t / --target-version command line option
  • In README.rst, link to GitHub searches which find public repositories that use Darker.
  • Linters are now run twice: once for rev1 to get a baseline, and another time for rev2 to get the current situation. Old linter messages which fall on unmodified lines are hidden, so effectively the user gets new linter messages introduced by latest changes, as well as persistent linter messages on modified lines.
  • --stdin-filename=PATH now allows reading contents of a single file from standard input. This also makes :STDIN:, a new magic value, the default rev2 for --revision.
  • Add configuration for darglint and flake8-docstrings, preparing for enabling those linters in CI builds.

Fixed

  • Compatibility of highlighting unit tests with Pygments 2.14.0.
  • In the CI test workflow, don't use environment variables to add a Black version constraint to the pip command. This fixes the Windows builds.
  • Pass Git errors to stderr correctly both in raw and encoded subprocess output mode.

... (truncated)

Changelog

Sourced from akaihola/darker's changelog.

1.7.2_ - 2023-07-12

Added

  • Add a News link on the PyPI page.
  • Allow - as the single source filename when using the --stdin-filename option. This makes the option compatible with Black.
  • Upgrade NixOS tests to use Python 3.11 on both Linux and macOS.

Fixed

  • Revert running commit-range from the repository itself. This broke the GitHub action.
  • Python 3.12 compatibility in multi-line string scanning.
  • Python 3.12 compatibility for the GitHub Action.
  • Use the original repository working directory name as the name of the temporary directory for getting the linter baseline. This avoids issues with Mypy when there's an __init__.py in the repository root.
  • Upgrade install-nix-action to version 22 in CI to fix an issue with macOS.
  • Allow --target-version=py312 since newest Black supports it.
  • Allow a comment in milestone titles in the bump_version script.

1.7.1_ - 2023-03-26

Added

  • Prefix GitHub milestones with Darker for clarity since we'll have two additional related repositories soon in the same project.

Fixed

  • Use git worktree to create a repository checkout for baseline linting. This avoids issues with the previous git clone and git checkout based approach.
  • Disallow Flynt version 0.78 and newer to avoid an internal API incompatibility.
  • In CI builds, run the commit-range action from the current checkout instead of pointing to a release tag. This fixes workflows when in a release branch.
  • Linting fixes: Use stacklevel=2 in warnings.warn() calls as suggested by Flake8; skip Bandit check for virtualenv creation in the GitHub Action; use ignore[method-assign] as suggested by Mypy.

1.7.0_ - 2023-02-11

Added

  • -f / --flynt option for converting old-style format strings to f-strings as

... (truncated)

Commits

Dependabot compatibility score

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.

Bumps [akaihola/darker](https://github.com/akaihola/darker) from 1.6.1 to 1.7.2.
- [Release notes](https://github.com/akaihola/darker/releases)
- [Changelog](https://github.com/akaihola/darker/blob/master/CHANGES.rst)
- [Commits](akaihola/darker@1.6.1...1.7.2)

---
updated-dependencies:
- dependency-name: akaihola/darker
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file github_actions Pull requests that update GitHub Actions code labels Jul 13, 2023
Copy link
Author

dependabot bot commented on behalf of github Sep 25, 2024

Superseded by #135.

@dependabot dependabot bot closed this Sep 25, 2024
@dependabot dependabot bot deleted the dependabot/github_actions/akaihola/darker-1.7.2 branch September 25, 2024 07:13
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 github_actions Pull requests that update GitHub Actions code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants