diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md index b56186ca8..83facb2e5 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -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. 2.1.0] + - Darker version [e.g. 2.1.1] - Black version [e.g. 22.3.0] - other reformatter and linter versions [e.g. `isort==5.10.1`, `mypy==0.942` diff --git a/CHANGES.rst b/CHANGES.rst index 74ed0f39d..e660e44fb 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -3,6 +3,16 @@ Unreleased_ These features will be included in the next release: +Added +----- + +Fixed +----- + + +2.1.1_ - 2024-04-16 +=================== + Added ----- - In the Darker configuration file under ``[tool.darker]``, the Black configuration diff --git a/README.rst b/README.rst index be17755c1..52839d2f9 100644 --- a/README.rst +++ b/README.rst @@ -22,7 +22,7 @@ .. |changelog-badge| image:: https://img.shields.io/badge/-change%20log-purple :alt: Change log :target: https://github.com/akaihola/darker/blob/master/CHANGES.rst -.. |next-milestone| image:: https://img.shields.io/github/milestones/progress/akaihola/darker/24?color=red&label=release%202.1.1 +.. |next-milestone| image:: https://img.shields.io/github/milestones/progress/akaihola/darker/25?color=red&label=release%202.1.2 :alt: Next milestone :target: https://github.com/akaihola/darker/milestone/24 @@ -137,11 +137,11 @@ How? To install or upgrade, use:: - pip install --upgrade darker~=2.1.0 + pip install --upgrade darker~=2.1.1 Or, if you're using Conda_ for package management:: - conda install -c conda-forge darker~=2.1.0 isort + conda install -c conda-forge darker~=2.1.1 isort conda update -c conda-forge darker .. @@ -656,7 +656,7 @@ do the following: .. code-block:: yaml - repo: https://github.com/akaihola/darker - rev: v2.1.0 + rev: v2.1.1 hooks: - id: darker @@ -675,7 +675,7 @@ other reformatter/linter tools you use to known compatible versions, for example .. code-block:: yaml - repo: https://github.com/akaihola/darker - rev: v2.1.0 + rev: v2.1.1 hooks: - id: darker args: @@ -706,7 +706,7 @@ Note the inclusion of the isort Python package under ``additional_dependencies`` .. code-block:: yaml - repo: https://github.com/akaihola/darker - rev: v2.1.0 + rev: v2.1.1 hooks: - id: darker args: [--isort] @@ -751,11 +751,11 @@ Create a file named ``.github/workflows/darker.yml`` inside your repository with with: fetch-depth: 0 - uses: actions/setup-python@v5 - - uses: akaihola/darker@2.1.0 + - uses: akaihola/darker@2.1.1 with: options: "--check --diff --isort --color" src: "./src" - version: "~=2.1.0" + version: "~=2.1.1" lint: "flake8,pylint==2.13.1" There needs to be a working Python environment, set up using ``actions/setup-python`` diff --git a/action.yml b/action.yml index 0de2a7f67..1fc6b8bf6 100644 --- a/action.yml +++ b/action.yml @@ -14,9 +14,9 @@ inputs: required: false default: "." version: - description: 'Version of Darker to use, e.g. "~=2.1.0", "2.1.0", "@master"' + description: 'Version of Darker to use, e.g. "~=2.1.1", "2.1.1", "@master"' required: false - default: "~=2.1.0" + default: "~=2.1.1" revision: description: >- Git revision range to compare when determining modified lines. diff --git a/src/darker/version.py b/src/darker/version.py index 2bbf29504..eb43a826d 100644 --- a/src/darker/version.py +++ b/src/darker/version.py @@ -1,3 +1,3 @@ """The version number for Darker is governed by this file""" -__version__ = "2.1.0" +__version__ = "2.1.1"