From 0ec4a137403b94244d479833f730d3de54f7f926 Mon Sep 17 00:00:00 2001 From: semantic-release-bot Date: Sat, 15 Jan 2022 04:40:48 +0000 Subject: [PATCH] chore(release): 0.31.0 [skip ci] # [0.31.0](https://github.com/andreoliwa/nitpick/compare/v0.30.0...v0.31.0) (2022-01-15) ### Bug Fixes * keys suggested in the order they are defined ([#442](https://github.com/andreoliwa/nitpick/issues/442)) ([09c30ab](https://github.com/andreoliwa/nitpick/commit/09c30aba1b3438c286f2a2fc143044ff62126b2d)) * pin attrs to >=20.1.0, change imports ([0696d08](https://github.com/andreoliwa/nitpick/commit/0696d0813f2dd8e4e2776f506d31d1aff4ecb413)) ### Features * drop support for Python 3.6 ([#439](https://github.com/andreoliwa/nitpick/issues/439)) ([a02e0ce](https://github.com/andreoliwa/nitpick/commit/a02e0ce16e3e8fdbcc1caf23c33194ecd39a5dd3)) --- .bumpversion.cfg | 2 +- CHANGELOG.md | 11 +++++++ README.rst | 4 +-- docs/conf.py | 2 +- docs/configuration.rst | 8 +++--- docs/examples.rst | 64 ++++++++++++++++++++--------------------- docs/quickstart.rst | 2 +- docs/targets.rst | 2 +- nitpick-style.toml | 2 +- package.json | 2 +- pyproject.toml | 2 +- src/nitpick/__init__.py | 2 +- 12 files changed, 57 insertions(+), 46 deletions(-) diff --git a/.bumpversion.cfg b/.bumpversion.cfg index 78fd1e0b..c038a3ab 100644 --- a/.bumpversion.cfg +++ b/.bumpversion.cfg @@ -1,5 +1,5 @@ [bumpversion] -current_version = 0.30.0 +current_version = 0.31.0 commit = False tag = False diff --git a/CHANGELOG.md b/CHANGELOG.md index cd1a0a17..1548c8db 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,14 @@ +# [0.31.0](https://github.com/andreoliwa/nitpick/compare/v0.30.0...v0.31.0) (2022-01-15) + +### Bug Fixes + +- keys suggested in the order they are defined ([#442](https://github.com/andreoliwa/nitpick/issues/442)) ([09c30ab](https://github.com/andreoliwa/nitpick/commit/09c30aba1b3438c286f2a2fc143044ff62126b2d)) +- pin attrs to >=20.1.0, change imports ([0696d08](https://github.com/andreoliwa/nitpick/commit/0696d0813f2dd8e4e2776f506d31d1aff4ecb413)) + +### Features + +- drop support for Python 3.6 ([#439](https://github.com/andreoliwa/nitpick/issues/439)) ([a02e0ce](https://github.com/andreoliwa/nitpick/commit/a02e0ce16e3e8fdbcc1caf23c33194ecd39a5dd3)) + # [0.30.0](https://github.com/andreoliwa/nitpick/compare/v0.29.0...v0.30.0) (2022-01-14) ### Bug Fixes diff --git a/README.rst b/README.rst index bb2eb6c7..65b6972c 100644 --- a/README.rst +++ b/README.rst @@ -210,7 +210,7 @@ with at least one Python (``.py``) file:: flake8 . Nitpick will download and use the opinionated `default style -file `__. +file `__. You can use it as a template to configure your own style. @@ -222,7 +222,7 @@ this to the ``.pre-commit-config.yaml`` in your repository:: repos: - repo: https://github.com/andreoliwa/nitpick - rev: v0.30.0 + rev: v0.31.0 hooks: - id: nitpick diff --git a/docs/conf.py b/docs/conf.py index 698f98b7..0ffcada7 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -18,7 +18,7 @@ author = "W. Augusto Andreoli" # The short X.Y version -version = "0.30.0" +version = "0.31.0" # The full version, including alpha/beta/rc tags release = version diff --git a/docs/configuration.rst b/docs/configuration.rst index 335011d3..7c90eb5f 100644 --- a/docs/configuration.rst +++ b/docs/configuration.rst @@ -39,9 +39,9 @@ GitHub URL scheme (``github://`` or ``gh://``) pinned to a specific version: .. code-block:: toml [tool.nitpick] - style = "github://andreoliwa/nitpick@v0.30.0/nitpick-style.toml" + style = "github://andreoliwa/nitpick@v0.31.0/nitpick-style.toml" # or - style = "gh://andreoliwa/nitpick@v0.30.0/nitpick-style.toml" + style = "gh://andreoliwa/nitpick@v0.31.0/nitpick-style.toml" The ``@`` syntax is used to get a Git reference (commit, tag, branch). It is similar to the syntax used by ``pip`` and ``pipx``: @@ -68,14 +68,14 @@ A regular GitHub URL also works. The corresponding raw URL will be used. .. code-block:: toml [tool.nitpick] - style = "https://github.com/andreoliwa/nitpick/blob/v0.30.0/nitpick-style.toml" + style = "https://github.com/andreoliwa/nitpick/blob/v0.31.0/nitpick-style.toml" Or use the raw GitHub URL directly: .. code-block:: toml [tool.nitpick] - style = "https://raw.githubusercontent.com/andreoliwa/nitpick/v0.30.0/nitpick-style.toml" + style = "https://raw.githubusercontent.com/andreoliwa/nitpick/v0.31.0/nitpick-style.toml" You can also use the raw URL of a `GitHub Gist `_: diff --git a/docs/examples.rst b/docs/examples.rst index 0422a6dc..fc652b8c 100644 --- a/docs/examples.rst +++ b/docs/examples.rst @@ -18,7 +18,7 @@ You can use these examples directly with their URL (see :ref:`multiple_styles`), codeclimate_ ------------ -Contents of `resources/any/codeclimate.toml `_: +Contents of `resources/any/codeclimate.toml `_: .. code-block:: toml @@ -44,7 +44,7 @@ Contents of `resources/any/codeclimate.toml `_: +Contents of `resources/any/commitizen.toml `_: .. code-block:: toml @@ -60,7 +60,7 @@ Contents of `resources/any/commitizen.toml `_: +Contents of `resources/any/commitlint.toml `_: .. code-block:: @@ -86,7 +86,7 @@ Contents of `resources/any/commitlint.toml `_: +Contents of `resources/any/editorconfig.toml `_: .. code-block:: toml @@ -129,7 +129,7 @@ Contents of `resources/any/editorconfig.toml `_: +Contents of `resources/any/git-legal.toml `_: .. code-block:: toml @@ -141,7 +141,7 @@ Contents of `resources/any/git-legal.toml `_: +Contents of `resources/any/hooks.toml `_: .. code-block:: toml @@ -165,7 +165,7 @@ Contents of `resources/any/hooks.toml `_: +Contents of `resources/any/markdownlint.toml `_: .. code-block:: toml @@ -178,7 +178,7 @@ Contents of `resources/any/markdownlint.toml `_: +Contents of `resources/any/prettier.toml `_: .. code-block:: toml @@ -194,7 +194,7 @@ Contents of `resources/any/prettier.toml `_: +Contents of `resources/javascript/package-json.toml `_: .. code-block:: toml @@ -206,7 +206,7 @@ Contents of `resources/javascript/package-json.toml `_: +Contents of `resources/python/310.toml `_: .. code-block:: toml @@ -218,7 +218,7 @@ Contents of `resources/python/310.toml `_: +Contents of `resources/python/37.toml `_: .. code-block:: toml @@ -230,7 +230,7 @@ Contents of `resources/python/37.toml `_: +Contents of `resources/python/38.toml `_: .. code-block:: toml @@ -242,7 +242,7 @@ Contents of `resources/python/38.toml `_: +Contents of `resources/python/39.toml `_: .. code-block:: toml @@ -254,7 +254,7 @@ Contents of `resources/python/39.toml `_: +Contents of `resources/python/absent.toml `_: .. code-block:: toml @@ -271,7 +271,7 @@ Contents of `resources/python/absent.toml `_: +Contents of `resources/python/autoflake.toml `_: .. code-block:: toml @@ -287,7 +287,7 @@ Contents of `resources/python/autoflake.toml `_: +Contents of `resources/python/bandit.toml `_: .. code-block:: toml @@ -308,7 +308,7 @@ Contents of `resources/python/bandit.toml `_: +Contents of `resources/python/black.toml `_: .. code-block:: toml @@ -334,7 +334,7 @@ Contents of `resources/python/black.toml `_: +Contents of `resources/python/flake8.toml `_: .. code-block:: toml @@ -365,7 +365,7 @@ Contents of `resources/python/flake8.toml `_: +Contents of `resources/python/github-workflow.toml `_: .. code-block:: toml @@ -407,7 +407,7 @@ Contents of `resources/python/github-workflow.toml `_: +Contents of `resources/python/hooks.toml `_: .. code-block:: toml @@ -447,7 +447,7 @@ Contents of `resources/python/hooks.toml `_: +Contents of `resources/python/ipython.toml `_: .. code-block:: toml @@ -460,7 +460,7 @@ Contents of `resources/python/ipython.toml `_: +Contents of `resources/python/isort.toml `_: .. code-block:: toml @@ -488,7 +488,7 @@ Contents of `resources/python/isort.toml `_: +Contents of `resources/python/mypy.toml `_: .. code-block:: toml @@ -522,7 +522,7 @@ Contents of `resources/python/mypy.toml `_: +Contents of `resources/python/poetry.toml `_: .. code-block:: toml @@ -534,7 +534,7 @@ Contents of `resources/python/poetry.toml `_: +Contents of `resources/python/pylint.toml `_: .. code-block:: toml @@ -616,7 +616,7 @@ Contents of `resources/python/pylint.toml `_: +Contents of `resources/python/radon.toml `_: .. code-block:: toml @@ -631,7 +631,7 @@ Contents of `resources/python/radon.toml `_: +Contents of `resources/python/readthedocs.toml `_: .. code-block:: toml @@ -653,7 +653,7 @@ Contents of `resources/python/readthedocs.toml `_: +Contents of `resources/python/sonar-python.toml `_: .. code-block:: toml @@ -666,7 +666,7 @@ Contents of `resources/python/sonar-python.toml `_: +Contents of `resources/python/stable.toml `_: .. code-block:: toml @@ -680,7 +680,7 @@ Contents of `resources/python/stable.toml `_: +Contents of `resources/python/tox.toml `_: .. code-block:: toml @@ -718,7 +718,7 @@ Contents of `resources/python/tox.toml `_: +Contents of `resources/shell/bashate.toml `_: .. code-block:: toml @@ -736,7 +736,7 @@ Contents of `resources/shell/bashate.toml `_: +Contents of `resources/shell/shellcheck.toml `_: .. code-block:: toml diff --git a/docs/quickstart.rst b/docs/quickstart.rst index 7a384570..08b7ca75 100644 --- a/docs/quickstart.rst +++ b/docs/quickstart.rst @@ -61,7 +61,7 @@ If you use pre-commit_ on your project, add this to the ``.pre-commit-config.yam repos: - repo: https://github.com/andreoliwa/nitpick - rev: v0.30.0 + rev: v0.31.0 hooks: - id: nitpick diff --git a/docs/targets.rst b/docs/targets.rst index 64e94cae..e666906d 100644 --- a/docs/targets.rst +++ b/docs/targets.rst @@ -1,7 +1,7 @@ .. Different anchors pointing to the same URL: .. _nitpick-style.toml: -.. _default style file: https://github.com/andreoliwa/nitpick/blob/v0.30.0/nitpick-style.toml +.. _default style file: https://github.com/andreoliwa/nitpick/blob/v0.31.0/nitpick-style.toml .. Keep items sorted alphabetically from here (using Pycharm, even tough it's case-sensitive): diff --git a/nitpick-style.toml b/nitpick-style.toml index f9f59c31..ebf5a9f3 100644 --- a/nitpick-style.toml +++ b/nitpick-style.toml @@ -1,5 +1,5 @@ # Default style file for nitpick -# https://github.com/andreoliwa/nitpick/blob/v0.30.0/nitpick-style.toml +# https://github.com/andreoliwa/nitpick/blob/v0.31.0/nitpick-style.toml [nitpick] minimum_version = "0.10.0" diff --git a/package.json b/package.json index 6ed87219..4f33a79b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "nitpick", - "version": "0.30.0", + "version": "0.31.0", "repository": { "type": "git", "url": "https://github.com/andreoliwa/nitpick.git" diff --git a/pyproject.toml b/pyproject.toml index 8b4ac863..8e67125a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -11,7 +11,7 @@ line-length = 120 [tool.poetry] name = "nitpick" -version = "0.30.0" +version = "0.31.0" description = "Enforce the same settings across multiple language-independent projects" authors = ["W. Augusto Andreoli "] license = "MIT" diff --git a/src/nitpick/__init__.py b/src/nitpick/__init__.py index 1c09d762..5e34ade9 100644 --- a/src/nitpick/__init__.py +++ b/src/nitpick/__init__.py @@ -5,6 +5,6 @@ from nitpick.core import Nitpick # noqa: F401 __all__ = ("Nitpick",) -__version__ = "0.30.0" +__version__ = "0.31.0" logger.disable(PROJECT_NAME)