diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md index a52c8d02f..962510ede 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -34,11 +34,11 @@ If applicable, add copy/paste the output or attach a screenshots to help explain **Environment (please complete the following information):** - OS: [e.g. Windows / macos / Linux distribution & version] - - Python version [e.g. 3.10.0] - - Git version [e.g. 2.33.1] - - Darker version [e.g. 1.4.2] - - Black version [e.g. 22.1.0] - - other reformatter and linter versions [e.g. `isort==5.10.0`, `mypy==0.931` + - Python version [e.g. 3.10.4] + - Git version [e.g. 2.36.0] + - Darker version [e.g. 1.5.0] + - Black version [e.g. 22.3.0] + - other reformatter and linter versions [e.g. `isort==5.10.1`, `mypy==0.942` **Additional context** Add any other context about the problem here. diff --git a/CHANGES.rst b/CHANGES.rst index 56ebbb417..606ed00f8 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.0_ - 2022-04-23 +=================== + Added ----- - The ``--workers``/``-W`` option now specifies how many Darker jobs are used to @@ -328,7 +338,8 @@ Added ----- - Initial implementation -.. _Unreleased: https://github.com/akaihola/darker/compare/1.4.2...HEAD +.. _Unreleased: https://github.com/akaihola/darker/compare/1.5.0...HEAD +.. _1.5.0: https://github.com/akaihola/darker/compare/1.4.2...1.5.0 .. _1.4.2: https://github.com/akaihola/darker/compare/1.4.1...1.4.2 .. _1.4.1: https://github.com/akaihola/darker/compare/1.4.0...1.4.1 .. _1.4.0: https://github.com/akaihola/darker/compare/1.3.2...1.4.0 diff --git a/README.rst b/README.rst index 3e9c8f067..de0f189a0 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/13?color=red&label=release%201.5.0 +.. |next-milestone| image:: https://img.shields.io/github/milestones/progress/akaihola/darker/15?color=red&label=release%201.5.1 :alt: Next milestone -.. _next-milestone: https://github.com/akaihola/darker/milestone/13 +.. _next-milestone: https://github.com/akaihola/darker/milestone/15 What? @@ -564,18 +564,18 @@ do the following: 1. Install pre-commit_ in your environment (see `pre-commit Installation`_ for details). -1. Create a base pre-commit configuration:: +2. Create a base pre-commit configuration:: pre-commit sample-config >.pre-commit-config.yaml -1. Append to the created ``.pre-commit-config.yaml`` the following lines:: +3. Append to the created ``.pre-commit-config.yaml`` the following lines:: - repo: https://github.com/akaihola/darker - rev: 1.4.2 + rev: 1.5.0 hooks: - id: darker -2. install the Git hook scripts:: +4. install the Git hook scripts:: pre-commit install @@ -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.4.2 + rev: 1.5.0 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.4.2 + - uses: akaihola/darker@1.5.0 with: options: "--check --diff --color" revision: "master..." src: "./src" - version: "1.4.2" + version: "1.5.0" 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 2a586df42..6658ce073 100644 --- a/action.yml +++ b/action.yml @@ -14,9 +14,9 @@ inputs: required: false default: "." version: - description: 'Python Version specifier (PEP440) - e.g. "1.4.2"' + description: 'Python Version specifier (PEP440) - e.g. "1.5.0"' required: false - default: "1.4.2" + default: "1.5.0" 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.4.2 + uses: akaihola/darker/.github/actions/commit-range@1.5.0 - 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 a14402a97..8466c2944 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.4.2" +__version__ = "1.5.0"