-
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 #392 from akaihola/release-1.5.1
- Loading branch information
Showing
5 changed files
with
21 additions
and
11 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
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/15?color=red&label=release%201.5.1 | ||
.. |next-milestone| image:: https://img.shields.io/github/milestones/progress/akaihola/darker/16?color=red&label=release%201.6.0 | ||
:alt: Next milestone | ||
.. _next-milestone: https://github.com/akaihola/darker/milestone/15 | ||
.. _next-milestone: https://github.com/akaihola/darker/milestone/16 | ||
|
||
|
||
What? | ||
|
@@ -571,7 +571,7 @@ do the following: | |
3. Append to the created ``.pre-commit-config.yaml`` the following lines:: | ||
|
||
- repo: https://github.com/akaihola/darker | ||
rev: 1.5.0 | ||
rev: 1.5.1 | ||
hooks: | ||
- id: darker | ||
|
||
|
@@ -590,7 +590,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.5.0 | ||
rev: 1.5.1 | ||
hooks: | ||
- id: darker | ||
args: [--isort] | ||
|
@@ -631,12 +631,12 @@ Create a file named ``.github/workflows/darker.yml`` inside your repository with | |
with: | ||
fetch-depth: 0 | ||
- uses: actions/setup-python@v2 | ||
- uses: akaihola/[email protected].0 | ||
- uses: akaihola/[email protected].1 | ||
with: | ||
options: "--check --diff --color" | ||
revision: "master..." | ||
src: "./src" | ||
version: "1.5.0" | ||
version: "1.5.1" | ||
lint: "flake8,pylint==2.13.1" | ||
There needs to be a working Python environment, set up using ``actions/setup-python`` | ||
|
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.5.0"' | ||
description: 'Python Version specifier (PEP440) - e.g. "1.5.1"' | ||
required: false | ||
default: "1.5.0" | ||
default: "1.5.1" | ||
revision: | ||
description: >- | ||
Git revision range to compare when determining modified lines. | ||
|
@@ -37,7 +37,7 @@ runs: | |
steps: | ||
- name: Commit Range | ||
id: commit-range | ||
uses: akaihola/darker/.github/actions/[email protected].0 | ||
uses: akaihola/darker/.github/actions/[email protected].1 | ||
- 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
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.5.0" | ||
__version__ = "1.5.1" |