diff --git a/CHANGES.rst b/CHANGES.rst index a6e5b048f..c18916a05 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -3,10 +3,24 @@ Unreleased_ These features will be included in the next release: +Added +----- + +Fixed +----- + + +1.2.1_ - 2020-11-30 +=================== + Added ----- - Travis CI now runs Pylint_ on modified lines via pytest-darker_ - Darker can now be used as a pre-commit hook (see pre-commit_) +- Document integration with Vim +- Thank all contributors right in the ``README`` +- ``RevisionRange`` class and Git repository test fixture improvements in preparation + for a larger refactoring coming in `#80`_ Fixed ----- @@ -91,7 +105,8 @@ Added ----- - Initial implementation -.. _Unreleased: https://github.com/akaihola/darker/compare/1.2.0...HEAD +.. _Unreleased: https://github.com/akaihola/darker/compare/1.2.1...HEAD +.. _1.2.1: https://github.com/akaihola/darker/compare/1.2.0...1.2.1 .. _1.2.0: https://github.com/akaihola/darker/compare/1.1.0...1.2.0 .. _1.1.0: https://github.com/akaihola/darker/compare/1.0.0...1.1.0 .. _1.0.0: https://github.com/akaihola/darker/compare/0.2.0...1.0.0 @@ -99,6 +114,7 @@ Added .. _0.1.1: https://github.com/akaihola/darker/compare/0.1.0...0.1.1 .. _0.1.0: https://github.com/akaihola/darker/releases/tag/0.1.0 .. _pre-commit: https://pre-commit.com/ +.. _#80: https://github.com/akaihola/darker/issues/80 .. _pytest-darker: https://pypi.org/project/pytest-darker/ .. _Black 19.10: https://github.com/psf/black/blob/master/CHANGES.md#1910b0 .. _Black 20.8: https://github.com/psf/black/blob/master/CHANGES.md#208b0 diff --git a/README.rst b/README.rst index 7b123ff17..6d8f904d9 100644 --- a/README.rst +++ b/README.rst @@ -403,6 +403,8 @@ Vim should automatically reload the file. Using as a pre-commit hook ========================== +*New in version 1.2.1* + To use Darker locally as a Git pre-commit hook for a Python project, do the following: diff --git a/src/darker/version.py b/src/darker/version.py index a76bfb8ac..c238d8bc4 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.2.1.dev0" +__version__ = "1.2.1"