Skip to content

Commit

Permalink
Merge pull request #360 from akaihola/release-1.5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
akaihola authored Apr 23, 2022
2 parents 332ed9b + e171e97 commit 05a0ce7
Show file tree
Hide file tree
Showing 5 changed files with 30 additions and 19 deletions.
10 changes: 5 additions & 5 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,11 @@ If applicable, add copy/paste the output or attach a screenshots to help explain

**Environment (please complete the following information):**
- OS: [e.g. Windows / macos / Linux distribution & version]
- Python version [e.g. 3.10.0]
- Git version [e.g. 2.33.1]
- Darker version [e.g. 1.4.2]
- Black version [e.g. 22.1.0]
- other reformatter and linter versions [e.g. `isort==5.10.0`, `mypy==0.931`
- Python version [e.g. 3.10.4]
- Git version [e.g. 2.36.0]
- Darker version [e.g. 1.5.0]
- Black version [e.g. 22.3.0]
- other reformatter and linter versions [e.g. `isort==5.10.1`, `mypy==0.942`

**Additional context**
Add any other context about the problem here.
13 changes: 12 additions & 1 deletion CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,16 @@ Unreleased_

These features will be included in the next release:

Added
-----

Fixed
-----


1.5.0_ - 2022-04-23
===================

Added
-----
- The ``--workers``/``-W`` option now specifies how many Darker jobs are used to
Expand Down Expand Up @@ -328,7 +338,8 @@ Added
-----
- Initial implementation

.. _Unreleased: https://github.com/akaihola/darker/compare/1.4.2...HEAD
.. _Unreleased: https://github.com/akaihola/darker/compare/1.5.0...HEAD
.. _1.5.0: https://github.com/akaihola/darker/compare/1.4.2...1.5.0
.. _1.4.2: https://github.com/akaihola/darker/compare/1.4.1...1.4.2
.. _1.4.1: https://github.com/akaihola/darker/compare/1.4.0...1.4.1
.. _1.4.0: https://github.com/akaihola/darker/compare/1.3.2...1.4.0
Expand Down
18 changes: 9 additions & 9 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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/13?color=red&label=release%201.5.0
.. |next-milestone| image:: https://img.shields.io/github/milestones/progress/akaihola/darker/15?color=red&label=release%201.5.1
:alt: Next milestone
.. _next-milestone: https://github.com/akaihola/darker/milestone/13
.. _next-milestone: https://github.com/akaihola/darker/milestone/15


What?
Expand Down Expand Up @@ -564,18 +564,18 @@ do the following:
1. Install pre-commit_ in your environment
(see `pre-commit Installation`_ for details).

1. Create a base pre-commit configuration::
2. Create a base pre-commit configuration::

pre-commit sample-config >.pre-commit-config.yaml

1. Append to the created ``.pre-commit-config.yaml`` the following lines::
3. Append to the created ``.pre-commit-config.yaml`` the following lines::

- repo: https://github.com/akaihola/darker
rev: 1.4.2
rev: 1.5.0
hooks:
- id: darker

2. install the Git hook scripts::
4. install the Git hook scripts::

pre-commit install

Expand All @@ -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.4.2
rev: 1.5.0
hooks:
- id: darker
args: [--isort]
Expand Down Expand Up @@ -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/darker@1.4.2
- uses: akaihola/darker@1.5.0
with:
options: "--check --diff --color"
revision: "master..."
src: "./src"
version: "1.4.2"
version: "1.5.0"
lint: "flake8,pylint==2.13.1"
There needs to be a working Python environment, set up using ``actions/setup-python``
Expand Down
6 changes: 3 additions & 3 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ inputs:
required: false
default: "."
version:
description: 'Python Version specifier (PEP440) - e.g. "1.4.2"'
description: 'Python Version specifier (PEP440) - e.g. "1.5.0"'
required: false
default: "1.4.2"
default: "1.5.0"
revision:
description: >-
Git revision range to compare when determining modified lines.
Expand All @@ -37,7 +37,7 @@ runs:
steps:
- name: Commit Range
id: commit-range
uses: akaihola/darker/.github/actions/commit-range@1.4.2
uses: akaihola/darker/.github/actions/commit-range@1.5.0
- name: Run Darker
run: |
# Exists since using github.action_path + path to main script doesn't
Expand Down
2 changes: 1 addition & 1 deletion src/darker/version.py
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.2"
__version__ = "1.5.0"

0 comments on commit 05a0ce7

Please sign in to comment.