-
Notifications
You must be signed in to change notification settings - Fork 55
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #332 from akaihola/release-1.4.2
Release 1.4.2
- Loading branch information
Showing
7 changed files
with
35 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,9 +22,9 @@ | |
.. |changelog-badge| image:: https://img.shields.io/badge/-change%20log-purple | ||
:alt: Change log | ||
.. _changelog-badge: https://github.com/akaihola/darker/blob/master/CHANGES.rst | ||
.. |next-milestone| image:: https://img.shields.io/github/milestones/progress/akaihola/darker/14?color=red&label=release%201.4.2 | ||
.. |next-milestone| image:: https://img.shields.io/github/milestones/progress/akaihola/darker/13?color=red&label=release%201.5.0 | ||
:alt: Next milestone | ||
.. _next-milestone: https://github.com/akaihola/darker/milestone/14 | ||
.. _next-milestone: https://github.com/akaihola/darker/milestone/13 | ||
|
||
|
||
What? | ||
|
@@ -505,7 +505,7 @@ do the following: | |
1. Append to the created ``.pre-commit-config.yaml`` the following lines:: | ||
|
||
- repo: https://github.com/akaihola/darker | ||
rev: 1.4.1 | ||
rev: 1.4.2 | ||
hooks: | ||
- id: darker | ||
|
||
|
@@ -524,7 +524,7 @@ You can provide arguments, such as enabling isort, by specifying ``args``. | |
Note the inclusion of the isort Python package under ``additional_dependencies``:: | ||
|
||
- repo: https://github.com/akaihola/darker | ||
rev: 1.4.1 | ||
rev: 1.4.2 | ||
hooks: | ||
- id: darker | ||
args: [--isort] | ||
|
@@ -564,12 +564,12 @@ Create a file named ``.github/workflows/darker.yml`` inside your repository with | |
- uses: actions/checkout@v2 | ||
with: | ||
fetch-depth: 0 | ||
- uses: akaihola/[email protected].1 | ||
- uses: akaihola/[email protected].2 | ||
with: | ||
options: "--check --diff" | ||
revision: "master..." | ||
src: "./src" | ||
version: "1.4.1" | ||
version: "1.4.2" | ||
``"uses:"`` specifies which Darker release to get the GitHub Action definition from. | ||
We recommend to pin this to a specific release. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,9 +14,9 @@ inputs: | |
required: false | ||
default: "." | ||
version: | ||
description: 'Python Version specifier (PEP440) - e.g. "1.4.1"' | ||
description: 'Python Version specifier (PEP440) - e.g. "1.4.2"' | ||
required: false | ||
default: "1.4.1" | ||
default: "1.4.2" | ||
revision: | ||
description: >- | ||
Git revision range to compare when determining modified lines. | ||
|
@@ -30,7 +30,7 @@ runs: | |
steps: | ||
- name: Commit Range | ||
id: commit-range | ||
uses: akaihola/darker/.github/actions/[email protected].1 | ||
uses: akaihola/darker/.github/actions/[email protected].2 | ||
- name: Run Darker | ||
run: | | ||
# Exists since using github.action_path + path to main script doesn't | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
"""The version number for Darker is governed by this file""" | ||
|
||
__version__ = "1.4.1" | ||
__version__ = "1.4.2" |