Skip to content

Commit

Permalink
Bump version number to 1.7.2
Browse files Browse the repository at this point in the history
  • Loading branch information
akaihola committed Jul 12, 2023
1 parent 7aa3c9c commit 7708848
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ If applicable, add copy/paste the output or attach a screenshots to help explain
- OS: [e.g. Windows / macos / Linux distribution & version]
- Python version [e.g. 3.10.4]
- Git version [e.g. 2.36.0]
- Darker version [e.g. 1.7.1]
- Darker version [e.g. 1.7.2]
- Black version [e.g. 22.3.0]
- other reformatter and linter versions [e.g. `isort==5.10.1`, `mypy==0.942`

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


What?
Expand Down Expand Up @@ -137,11 +137,11 @@ How?

To install or upgrade, use::

pip install --upgrade darker~=1.7.1
pip install --upgrade darker~=1.7.2

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

conda install -c conda-forge darker~=1.7.1 isort
conda install -c conda-forge darker~=1.7.2 isort
conda update -c conda-forge darker

..
Expand Down Expand Up @@ -638,7 +638,7 @@ do the following:
.. code-block:: yaml
- repo: https://github.com/akaihola/darker
rev: 1.7.1
rev: 1.7.2
hooks:
- id: darker
Expand All @@ -657,7 +657,7 @@ other reformatter/linter tools you use to known compatible versions, for example
.. code-block:: yaml
- repo: https://github.com/akaihola/darker
rev: 1.7.1
rev: 1.7.2
hooks:
- id: darker
args:
Expand Down Expand Up @@ -685,7 +685,7 @@ Note the inclusion of the isort Python package under ``additional_dependencies``
.. code-block:: yaml
- repo: https://github.com/akaihola/darker
rev: 1.7.1
rev: 1.7.2
hooks:
- id: darker
args: [--isort]
Expand Down Expand Up @@ -730,11 +730,11 @@ Create a file named ``.github/workflows/darker.yml`` inside your repository with
with:
fetch-depth: 0
- uses: actions/setup-python@v4
- uses: akaihola/darker@1.7.1
- uses: akaihola/darker@1.7.2
with:
options: "--check --diff --isort --color"
src: "./src"
version: "~=1.7.1"
version: "~=1.7.2"
lint: "flake8,pylint==2.13.1"
There needs to be a working Python environment, set up using ``actions/setup-python``
Expand Down
4 changes: 2 additions & 2 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: 'Version of Darker to use, e.g. "~=1.7.1", "1.7.1", "@master"'
description: 'Version of Darker to use, e.g. "~=1.7.2", "1.7.2", "@master"'
required: false
default: "~=1.7.1"
default: "~=1.7.2"
revision:
description: >-
Git revision range to compare when determining modified lines.
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.7.1"
__version__ = "1.7.2"

0 comments on commit 7708848

Please sign in to comment.