Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jan 6, 2026

Bumps akaihola/darker from 2.1.1 to 3.0.0.

Release notes

Sourced from akaihola/darker's releases.

3.0.0

Added

  • Ruff formatter support using the --formatter=ruff command line option or formatter = "ruff" configuration file option.
  • The --formatter=black option (the default) has been added.
  • pyupgrade is now supported as a formatter plugin (--formatter=pyupgrade on CLI, formatter = "pyupgrade" in config file). Note that changes from pyupgrade are applied on a per-fi>
  • --formatter=none now skips running Black, Ruff or pyupgrade. This is useful when you only want to run [isort](https://py>
  • The --preview configuration flag is now supported in the configuration files for Darker and Black.
  • Add official support for Python 3.13.
  • New exit codes 2 for file not found, 3 for invalid command line arguments, 4 for missing dependencies and 123 for unknown failures.
  • Display exit code in parentheses after error message.
  • Do not reformat renamed files.
  • Respect the skip_glob setting of isort.

Removed

  • Backwards incompatible change: Baseline linting support (-L/--lint option) has been removed. Use the Graylint tool instead.
  • Backwards incompatible change: Black is no longer installed by default. Use pip install 'darker[black]' to get Black support.
  • Drop support for Python 3.8.
  • In the Darker configuration file under [tool.darker], the Black configuration options skip_string_normalization and skip_magic_trailing_comma are no longer valid. Use [tool.black] instead.
  • Drop support for isort 5.1.x.
  • Drop support for Pylint earlier than 3.3.0.

Fixed

  • Update to Darkgraylib 2.4.0 to fix the configuration dump, the output of --version, the Git "dubious ownership" issue, and source code line splitting (see below).
  • In the configuration dump printed when -vv verbosity is used, the configuration section is now correctly named [tool.darker] instead of [tool.darkgraylib].
  • Pass Darker version to darkgraylib.command_line.make_argument_parser to make --version display the correct version number.
  • Pass full environment to Git to avoid the "dubious ownership" error.
  • Work around a pathlib.Path.resolve bug in Python 3.9 on Windows. The work-around should be removed when Python 3.9 is no longer supported.
  • Add missing configuration flag for Flynt.
  • Only split source code lines at Python's universal newlines (LF, CRLF, CR).
  • The Darker GitHub action now respects the working-directory input option.

Internal

  • CI workflow to post recent project activity in a discussion. Triggered manually.
  • CI "future" test now tests against main of Darkgraylib in addition to Black, Flynt and [isort](https://pycq>
  • Prevent Pylint from updating beyond version 3.2.7 due to dropped Python 3.8 support.
  • Invoking Black is now implemented as a plugin. This allows for easier integration of other formatters in the future. There's also a dummy none formatter plugin.
  • Update darkgray-dev-tools for Pip >= 24.1 compatibility.
  • Drop dependency on pip and distutils in the weekly CI "future" test. Use packaging instead.
  • No need to use [typing.Pattern]{.title-ref} instead of [re.Pattern]{.title-ref} in Python 3.9+.
  • Always use newest artifact upload/download actions from the v4 series in the CI build.
  • Use [datetime.datetime.now()]{.title-ref}, not .utcnow() to silence a deprecation warning.
  • Suppress logging about Flynt unless Flynt is enabled.
  • Update to Mypy 1.15+ and use the explicit-any ignore.
  • Switch from old defunct Bandit action to brunohaf/action-bandit.
  • Format YAML files to satisfy yaml-lint and fix workflow syntax.
  • Use UV across all CI workflow actions, and enable caching of packages.

... (truncated)

Changelog

Sourced from akaihola/darker's changelog.

3.0.0_ - 2025-09-01

Added

  • Ruff_ formatter support using the --formatter=ruff command line option or formatter = "ruff" configuration file option.
  • The --formatter=black option (the default) has been added.
  • pyupgrade_ is now supported as a formatter plugin (--formatter=pyupgrade on CLI, formatter = "pyupgrade" in config file). Note that changes from pyupgrade are applied on a per-file basis, not only for modified lines as with Black_ and Ruff_.
  • --formatter=none now skips running Black_, Ruff_ or pyupgrade_. This is useful when you only want to run isort_ or Flynt_.
  • The --preview configuration flag is now supported in the configuration files for Darker and Black_.
  • Add official support for Python 3.13.
  • New exit codes 2 for file not found, 3 for invalid command line arguments, 4 for missing dependencies and 123 for unknown failures.
  • Display exit code in parentheses after error message.
  • Do not reformat renamed files.
  • Respect the skip_glob setting of isort_.

Removed

  • Backwards incompatible change: Baseline linting support (-L/--lint option) has been removed. Use the Graylint_ tool instead.
  • Backwards incompatible change: Black_ is no longer installed by default. Use pip install 'darker[black]' to get Black support.
  • Drop support for Python 3.8.
  • In the Darker configuration file under [tool.darker], the Black configuration options skip_string_normalization and skip_magic_trailing_comma are no longer valid. Use [tool.black] instead.
  • Drop support for isort_ 5.1.x.
  • Drop support for Pylint earlier than 3.3.0.

Fixed

  • Update to Darkgraylib_ 2.4.0 to fix the configuration dump, the output of --version, the Git "dubious ownership" issue, and source code line splitting (see below).
  • In the configuration dump printed when -vv verbosity is used, the configuration section is now correctly named [tool.darker] instead of [tool.darkgraylib].
  • Pass Darker version to darkgraylib.command_line.make_argument_parser to make --version display the correct version number.
  • Pass full environment to Git to avoid the "dubious ownership" error.
  • Work around a pathlib.Path.resolve bug in Python 3.9 on Windows. The work-around should be removed when Python 3.9 is no longer supported.
  • Add missing configuration flag for Flynt_.
  • Only split source code lines at Python's universal newlines (LF, CRLF, CR).
  • The Darker GitHub action now respects the working-directory input option.

... (truncated)

Commits
  • 7f70a5b Merge pull request #843 from akaihola/release-3.0.0
  • b66232f docs: Additions to readme and change log
  • fe80d3a chore: bump version to 3.0.0
  • 0e8dbe2 Merge pull request #842 from akaihola/better-missing-black-error
  • 932a2d6 feat: in the run-time error, clarify Black dependency removal was in v3.0.0
  • c393977 Merge pull request #748 from akaihola/pylint-too-many-args
  • d350b9f ci: run Pylint through Graylint
  • 01256aa chore: annotate types in some test helpers and fixtures
  • 45f6643 style: avoid long lines with pylint ignores
  • d63b585 docs: update the change log
  • 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 show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @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 dependabot bot added dependencies Pull requests that update a dependency file github_actions Pull requests that update GitHub Actions code labels Jan 6, 2026
Bumps [akaihola/darker](https://github.com/akaihola/darker) from 2.1.1 to 3.0.0.
- [Release notes](https://github.com/akaihola/darker/releases)
- [Changelog](https://github.com/akaihola/darker/blob/master/CHANGES.rst)
- [Commits](akaihola/darker@v2.1.1...v3.0.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/github_actions/akaihola/darker-3.0.0 branch from 686498c to 714982a Compare January 13, 2026 20:33
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.

2 participants