Skip to content

Commit e171e97

Browse files
committed
Bump to version 1.5.0
1 parent 332ed9b commit e171e97

File tree

5 files changed

+30
-19
lines changed

5 files changed

+30
-19
lines changed

.github/ISSUE_TEMPLATE/bug_report.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,11 @@ If applicable, add copy/paste the output or attach a screenshots to help explain
3434

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

4343
**Additional context**
4444
Add any other context about the problem here.

CHANGES.rst

+12-1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,16 @@ Unreleased_
33

44
These features will be included in the next release:
55

6+
Added
7+
-----
8+
9+
Fixed
10+
-----
11+
12+
13+
1.5.0_ - 2022-04-23
14+
===================
15+
616
Added
717
-----
818
- The ``--workers``/``-W`` option now specifies how many Darker jobs are used to
@@ -328,7 +338,8 @@ Added
328338
-----
329339
- Initial implementation
330340

331-
.. _Unreleased: https://github.com/akaihola/darker/compare/1.4.2...HEAD
341+
.. _Unreleased: https://github.com/akaihola/darker/compare/1.5.0...HEAD
342+
.. _1.5.0: https://github.com/akaihola/darker/compare/1.4.2...1.5.0
332343
.. _1.4.2: https://github.com/akaihola/darker/compare/1.4.1...1.4.2
333344
.. _1.4.1: https://github.com/akaihola/darker/compare/1.4.0...1.4.1
334345
.. _1.4.0: https://github.com/akaihola/darker/compare/1.3.2...1.4.0

README.rst

+9-9
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,9 @@
2222
.. |changelog-badge| image:: https://img.shields.io/badge/-change%20log-purple
2323
:alt: Change log
2424
.. _changelog-badge: https://github.com/akaihola/darker/blob/master/CHANGES.rst
25-
.. |next-milestone| image:: https://img.shields.io/github/milestones/progress/akaihola/darker/13?color=red&label=release%201.5.0
25+
.. |next-milestone| image:: https://img.shields.io/github/milestones/progress/akaihola/darker/15?color=red&label=release%201.5.1
2626
:alt: Next milestone
27-
.. _next-milestone: https://github.com/akaihola/darker/milestone/13
27+
.. _next-milestone: https://github.com/akaihola/darker/milestone/15
2828

2929

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

567-
1. Create a base pre-commit configuration::
567+
2. Create a base pre-commit configuration::
568568

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

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

573573
- repo: https://github.com/akaihola/darker
574-
rev: 1.4.2
574+
rev: 1.5.0
575575
hooks:
576576
- id: darker
577577

578-
2. install the Git hook scripts::
578+
4. install the Git hook scripts::
579579

580580
pre-commit install
581581

@@ -590,7 +590,7 @@ You can provide arguments, such as enabling isort, by specifying ``args``.
590590
Note the inclusion of the isort Python package under ``additional_dependencies``::
591591

592592
- repo: https://github.com/akaihola/darker
593-
rev: 1.4.2
593+
rev: 1.5.0
594594
hooks:
595595
- id: darker
596596
args: [--isort]
@@ -631,12 +631,12 @@ Create a file named ``.github/workflows/darker.yml`` inside your repository with
631631
with:
632632
fetch-depth: 0
633633
- uses: actions/setup-python@v2
634-
- uses: akaihola/darker@1.4.2
634+
- uses: akaihola/darker@1.5.0
635635
with:
636636
options: "--check --diff --color"
637637
revision: "master..."
638638
src: "./src"
639-
version: "1.4.2"
639+
version: "1.5.0"
640640
lint: "flake8,pylint==2.13.1"
641641
642642
There needs to be a working Python environment, set up using ``actions/setup-python``

action.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ inputs:
1414
required: false
1515
default: "."
1616
version:
17-
description: 'Python Version specifier (PEP440) - e.g. "1.4.2"'
17+
description: 'Python Version specifier (PEP440) - e.g. "1.5.0"'
1818
required: false
19-
default: "1.4.2"
19+
default: "1.5.0"
2020
revision:
2121
description: >-
2222
Git revision range to compare when determining modified lines.
@@ -37,7 +37,7 @@ runs:
3737
steps:
3838
- name: Commit Range
3939
id: commit-range
40-
uses: akaihola/darker/.github/actions/commit-range@1.4.2
40+
uses: akaihola/darker/.github/actions/commit-range@1.5.0
4141
- name: Run Darker
4242
run: |
4343
# Exists since using github.action_path + path to main script doesn't

src/darker/version.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
"""The version number for Darker is governed by this file"""
22

3-
__version__ = "1.4.2"
3+
__version__ = "1.5.0"

0 commit comments

Comments
 (0)