Skip to content

Bump akaihola/darker from 1.4.0 to 1.5.1 - #384

Open
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/github_actions/akaihola/darker-1.5.1
Open

Bump akaihola/darker from 1.4.0 to 1.5.1#384
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/github_actions/akaihola/darker-1.5.1

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Sep 12, 2022

Copy link
Copy Markdown

Bumps akaihola/darker from 1.4.0 to 1.5.1.

Release notes

Sourced from akaihola/darker's releases.

Release 1.5.1

Added

  • Add a CI workflow which verifies that the darker --help output in README.rst is up to date.
  • Only run linters, security checks and package builds once in the CI build.
  • Small simplification: It doesn't matter whether isort was run or not, only whether changes were made.
  • Refactor Black and isort file exclusions into one data structure.

Fixed

  • darker --revision=a..b . now works since the repository root is now always considered to have existed in all historical commits.
  • Ignore linter lines which refer to non-Python files or files outside the common root of paths on the command line. Fixes a failure when Pylint notifies about obsolete options in .pylintrc.
  • For linting Darker's own code base, require Pylint 2.6.0 or newer. This avoids the need to skip the obsolete bad-continuation check now removed from Pylint.
  • Fix linter output parsing for full Windows paths which include a drive letter.
  • Stricter rules for linter output parsing.

Release 1.5.0

Added

  • The --workers/-W option now specifies how many Darker jobs are used to process files in parallel to complete reformatting/linting faster.
  • Linters can now be installed and run in the GitHub Action using the lint: option.
  • Sort imports only if the range of modified lines overlaps with changes resulting from sorting the imports.
  • Allow force enabling/disabling of syntax highlighting using the color option in pyproject.toml, the PY_COLORS and NO_COLOR environment variables, and the --color/--no-color command line options.
  • Syntax highlighting is now enabled by default in the GitHub Action.
  • pytest>=6.2.0 now required for the test suite due to type hinting issues.

Fixed

  • Avoid memory leak from using @lru_cache on a method.
  • Handle files encoded with an encoding other than UTF-8 without an exception.
  • The GitHub Action now handles missing revision: correctly.
  • Update cachix/install-nix-action to v17 to fix macOS build error.
  • Downgrade Python from 3.10 to 3.9 in the macOS NixOS build on GitHub due to a build error with Python 3.10.
  • Darker now reads its own configuration from the file specified using -c/--config, or in case a directory is specified, from pyproject.toml inside that directory.

Version 1.4.2

Added

... (truncated)

Changelog

Sourced from akaihola/darker's changelog.

1.5.1_ - 2022-09-11

Added

  • Add a CI workflow which verifies that the darker --help output in README.rst is up to date.
  • Only run linters, security checks and package builds once in the CI build.
  • Small simplification: It doesn't matter whether isort was run or not, only whether changes were made.
  • Refactor Black and isort file exclusions into one data structure.

Fixed

  • darker --revision=a..b . now works since the repository root is now always considered to have existed in all historical commits.
  • Ignore linter lines which refer to non-Python files or files outside the common root of paths on the command line. Fixes a failure when Pylint notifies about obsolete options in .pylintrc.
  • For linting Darker's own code base, require Pylint 2.6.0 or newer. This avoids the need to skip the obsolete bad-continuation check now removed from Pylint.
  • Fix linter output parsing for full Windows paths which include a drive letter.
  • Stricter rules for linter output parsing.

1.5.0_ - 2022-04-23

Added

  • The --workers/-W option now specifies how many Darker jobs are used to process files in parallel to complete reformatting/linting faster.
  • Linters can now be installed and run in the GitHub Action using the lint: option.
  • Sort imports only if the range of modified lines overlaps with changes resulting from sorting the imports.
  • Allow force enabling/disabling of syntax highlighting using the color option in pyproject.toml, the PY_COLORS and NO_COLOR environment variables, and the --color/--no-color command line options.
  • Syntax highlighting is now enabled by default in the GitHub Action.
  • pytest>=6.2.0 now required for the test suite due to type hinting issues.

Fixed

  • Avoid memory leak from using @lru_cache on a method.
  • Handle files encoded with an encoding other than UTF-8 without an exception.
  • The GitHub Action now handles missing revision: correctly.
  • Update cachix/install-nix-action to v17 to fix macOS build error.
  • Downgrade Python from 3.10 to 3.9 in the macOS NixOS build on GitHub due to a build error with Python 3.10.
  • Darker now reads its own configuration from the file specified using

... (truncated)

Commits
  • 45463a5 Merge pull request #392 from akaihola/release-1.5.1
  • c964955 Bump version number to 1.5.1
  • 450271d Merge pull request #378 from akaihola/linter-output-full-path
  • 611fffd Update the change log
  • 25152a1 Custom outside-root test for Windows
  • c5621f3 Skip lint messages: non-py and outside root files
  • 4836d20 Make linter output parsing stricter
  • b52e9f1 Handle Windows path specially in linter parser
  • 01d95bf Enforce absolute paths in test case
  • 6e602fb Use OS-dependent separator in test
  • 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)

Bumps [akaihola/darker](https://github.com/akaihola/darker) from 1.4.0 to 1.5.1.
- [Release notes](https://github.com/akaihola/darker/releases)
- [Changelog](https://github.com/akaihola/darker/blob/master/CHANGES.rst)
- [Commits](akaihola/darker@1.4.0...1.5.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 Sep 12, 2022
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