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.1 #59

Closed

Conversation

dependabot[bot]
Copy link

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

Bumps akaihola/darker from 1.6.1 to 1.7.1.

Release notes

Sourced from akaihola/darker's releases.

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.
  • Add a work-around for cleaning up temporary directories. Needed for Python 3.7 on Windows.
  • Split and join command lines using shlex from the Python standard library. This deals with quoting correctly.
  • Configure coverage to use relative paths in the Darker repository. This enables use of cov_to_lint.py
  • Satisfy Pylint's use-dict-literal check in Darker's code base.
  • Use !r to quote values in format strings as suggested by recent Flake8 versions.
Changelog

Sourced from akaihola/darker's changelog.

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 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)

Commits
  • 959cc56 Merge pull request #482 from akaihola/release-1.7.1
  • 68fc891 Bump version number to 1.7.1
  • 67f5291 Update the change log
  • 7a3127d Merge pull request #483 from akaihola/local-commit-range
  • 639ccb7 Run commit-range action from local checkout
  • e2d0d45 Merge pull request #474 from akaihola/flynt-0.77-or-older
  • 9d23a63 Update the change log
  • 6f8f702 Temporarily limit Flynt to versions before 0.78
  • af760d3 Merge pull request #475 from akaihola/milestone-name
  • 0ea18b7 bump_version to accept Darker x.y.z milestones
  • Additional commits viewable in compare view

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.1.
- [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.1)

---
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 Mar 27, 2023
@dependabot @github
Copy link
Author

dependabot bot commented on behalf of github Jul 13, 2023

Superseded by #130.

@dependabot dependabot bot closed this Jul 13, 2023
@dependabot dependabot bot deleted the dependabot/github_actions/akaihola/darker-1.7.1 branch July 13, 2023 07:52
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