Skip to content

Commit ddcd430

Browse files
authored
Merge pull request #500 from akaihola/release-1.7.2
Release 1.7.2
2 parents 31c230a + 7708848 commit ddcd430

File tree

5 files changed

+27
-14
lines changed

5 files changed

+27
-14
lines changed

.github/ISSUE_TEMPLATE/bug_report.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ If applicable, add copy/paste the output or attach a screenshots to help explain
3636
- OS: [e.g. Windows / macos / Linux distribution & version]
3737
- Python version [e.g. 3.10.4]
3838
- Git version [e.g. 2.36.0]
39-
- Darker version [e.g. 1.7.1]
39+
- Darker version [e.g. 1.7.2]
4040
- Black version [e.g. 22.3.0]
4141
- other reformatter and linter versions [e.g. `isort==5.10.1`, `mypy==0.942`
4242

CHANGES.rst

+14-1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,17 @@ These features will be included in the next release:
55

66
Added
77
-----
8+
9+
Fixed
10+
-----
11+
12+
13+
1.7.2_ - 2023-07-12
14+
===================
15+
16+
Added
17+
-----
18+
- Add a ``News`` link on the PyPI page.
819
- Allow ``-`` as the single source filename when using the ``--stdin-filename`` option.
920
This makes the option compatible with Black.
1021
- Upgrade NixOS tests to use Python 3.11 on both Linux and macOS.
@@ -20,6 +31,7 @@ Fixed
2031
an ``__init__.py`` in the repository root.
2132
- Upgrade ``install-nix-action`` to version 22 in CI to fix an issue with macOS.
2233
- Allow ``--target-version=py312`` since newest Black supports it.
34+
- Allow a comment in milestone titles in the ``bump_version`` script.
2335

2436

2537
1.7.1_ - 2023-03-26
@@ -479,7 +491,8 @@ Added
479491
-----
480492
- Initial implementation
481493

482-
.. _Unreleased: https://github.com/akaihola/darker/compare/1.7.1...HEAD
494+
.. _Unreleased: https://github.com/akaihola/darker/compare/1.7.2...HEAD
495+
.. _1.7.2: https://github.com/akaihola/darker/compare/1.7.1...1.7.2
483496
.. _1.7.1: https://github.com/akaihola/darker/compare/1.7.0...1.7.1
484497
.. _1.7.0: https://github.com/akaihola/darker/compare/1.6.1...1.7.0
485498
.. _1.6.1: https://github.com/akaihola/darker/compare/1.6.0...1.6.1

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/23?color=red&label=release%201.7.2
25+
.. |next-milestone| image:: https://img.shields.io/github/milestones/progress/akaihola/darker/21?color=red&label=release%201.8.0
2626
:alt: Next milestone
27-
.. _next-milestone: https://github.com/akaihola/darker/milestone/23
27+
.. _next-milestone: https://github.com/akaihola/darker/milestone/21
2828

2929

3030
What?
@@ -137,11 +137,11 @@ How?
137137

138138
To install or upgrade, use::
139139

140-
pip install --upgrade darker~=1.7.1
140+
pip install --upgrade darker~=1.7.2
141141

142142
Or, if you're using Conda_ for package management::
143143

144-
conda install -c conda-forge darker~=1.7.1 isort
144+
conda install -c conda-forge darker~=1.7.2 isort
145145
conda update -c conda-forge darker
146146

147147
..
@@ -638,7 +638,7 @@ do the following:
638638
.. code-block:: yaml
639639
640640
- repo: https://github.com/akaihola/darker
641-
rev: 1.7.1
641+
rev: 1.7.2
642642
hooks:
643643
- id: darker
644644
@@ -657,7 +657,7 @@ other reformatter/linter tools you use to known compatible versions, for example
657657
.. code-block:: yaml
658658
659659
- repo: https://github.com/akaihola/darker
660-
rev: 1.7.1
660+
rev: 1.7.2
661661
hooks:
662662
- id: darker
663663
args:
@@ -685,7 +685,7 @@ Note the inclusion of the isort Python package under ``additional_dependencies``
685685
.. code-block:: yaml
686686
687687
- repo: https://github.com/akaihola/darker
688-
rev: 1.7.1
688+
rev: 1.7.2
689689
hooks:
690690
- id: darker
691691
args: [--isort]
@@ -730,11 +730,11 @@ Create a file named ``.github/workflows/darker.yml`` inside your repository with
730730
with:
731731
fetch-depth: 0
732732
- uses: actions/setup-python@v4
733-
- uses: akaihola/[email protected].1
733+
- uses: akaihola/[email protected].2
734734
with:
735735
options: "--check --diff --isort --color"
736736
src: "./src"
737-
version: "~=1.7.1"
737+
version: "~=1.7.2"
738738
lint: "flake8,pylint==2.13.1"
739739
740740
There needs to be a working Python environment, set up using ``actions/setup-python``

action.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ inputs:
1414
required: false
1515
default: "."
1616
version:
17-
description: 'Version of Darker to use, e.g. "~=1.7.1", "1.7.1", "@master"'
17+
description: 'Version of Darker to use, e.g. "~=1.7.2", "1.7.2", "@master"'
1818
required: false
19-
default: "~=1.7.1"
19+
default: "~=1.7.2"
2020
revision:
2121
description: >-
2222
Git revision range to compare when determining modified lines.

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.7.1"
3+
__version__ = "1.7.2"

0 commit comments

Comments
 (0)