diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md index 962510ede..ead17bab6 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. 1.5.0] + - Darker version [e.g. 1.5.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 b3bb4d7b0..c61b3398e 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -3,6 +3,16 @@ Unreleased_ These features will be included in the next release: +Added +----- + +Fixed +----- + + +1.5.1_ - 2022-09-11 +=================== + Added ----- - Add a CI workflow which verifies that the ``darker --help`` output in ``README.rst`` diff --git a/README.rst b/README.rst index 5b8650345..c0f6e4715 100644 --- a/README.rst +++ b/README.rst @@ -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/15?color=red&label=release%201.5.1 +.. |next-milestone| image:: https://img.shields.io/github/milestones/progress/akaihola/darker/16?color=red&label=release%201.6.0 :alt: Next milestone -.. _next-milestone: https://github.com/akaihola/darker/milestone/15 +.. _next-milestone: https://github.com/akaihola/darker/milestone/16 What? @@ -571,7 +571,7 @@ do the following: 3. Append to the created ``.pre-commit-config.yaml`` the following lines:: - repo: https://github.com/akaihola/darker - rev: 1.5.0 + rev: 1.5.1 hooks: - id: darker @@ -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.5.0 + rev: 1.5.1 hooks: - id: darker args: [--isort] @@ -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.5.0 + - uses: akaihola/darker@1.5.1 with: options: "--check --diff --color" revision: "master..." src: "./src" - version: "1.5.0" + version: "1.5.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 6658ce073..0f0c1405b 100644 --- a/action.yml +++ b/action.yml @@ -14,9 +14,9 @@ inputs: required: false default: "." version: - description: 'Python Version specifier (PEP440) - e.g. "1.5.0"' + description: 'Python Version specifier (PEP440) - e.g. "1.5.1"' required: false - default: "1.5.0" + default: "1.5.1" revision: description: >- Git revision range to compare when determining modified lines. @@ -37,7 +37,7 @@ runs: steps: - name: Commit Range id: commit-range - uses: akaihola/darker/.github/actions/commit-range@1.5.0 + uses: akaihola/darker/.github/actions/commit-range@1.5.1 - name: Run Darker run: | # Exists since using github.action_path + path to main script doesn't diff --git a/src/darker/version.py b/src/darker/version.py index 8466c2944..33aa272f4 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__ = "1.5.0" +__version__ = "1.5.1"