From 092c8eda87c4638a9ebc03330eb5d1ecb94fd398 Mon Sep 17 00:00:00 2001 From: semantic-release-bot Date: Tue, 16 Mar 2021 21:47:05 +0000 Subject: [PATCH] chore(release): 0.26.0 [skip ci] # [0.26.0](https://github.com/andreoliwa/nitpick/compare/v0.25.0...v0.26.0) (2021-03-16) ### Features * cache remote styles to avoid HTTP requests ([#312](https://github.com/andreoliwa/nitpick/issues/312)) ([08104d8](https://github.com/andreoliwa/nitpick/commit/08104d83d753a32d1438b79d7a100e10895ab79c)) --- .bumpversion.cfg | 2 +- CHANGELOG.md | 6 ++++++ README.md | 4 ++-- docs/conf.py | 2 +- docs/configuration.rst | 2 +- docs/examples.rst | 40 ++++++++++++++++++++-------------------- 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, 37 insertions(+), 31 deletions(-) diff --git a/.bumpversion.cfg b/.bumpversion.cfg index f082fac9..f698dc75 100644 --- a/.bumpversion.cfg +++ b/.bumpversion.cfg @@ -1,5 +1,5 @@ [bumpversion] -current_version = 0.25.0 +current_version = 0.26.0 commit = False tag = False diff --git a/CHANGELOG.md b/CHANGELOG.md index e5f06dc9..c17bb97b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,9 @@ +# [0.26.0](https://github.com/andreoliwa/nitpick/compare/v0.25.0...v0.26.0) (2021-03-16) + +### Features + +- cache remote styles to avoid HTTP requests ([#312](https://github.com/andreoliwa/nitpick/issues/312)) ([08104d8](https://github.com/andreoliwa/nitpick/commit/08104d83d753a32d1438b79d7a100e10895ab79c)) + # [0.25.0](https://github.com/andreoliwa/nitpick/compare/v0.24.1...v0.25.0) (2021-03-09) ### Features diff --git a/README.md b/README.md index 5e371520..bcc543ec 100644 --- a/README.md +++ b/README.md @@ -66,7 +66,7 @@ To try the package, simply install it (in a virtualenv or globally) and run `fla $ flake8 . -Nitpick will download and use the opinionated [default style file](https://raw.githubusercontent.com/andreoliwa/nitpick/v0.25.0/nitpick-style.toml). +Nitpick will download and use the opinionated [default style file](https://raw.githubusercontent.com/andreoliwa/nitpick/v0.26.0/nitpick-style.toml). You can use it as a template to configure your own style. @@ -76,7 +76,7 @@ If you use [pre-commit](https://pre-commit.com/) on your project (you should), a repos: - repo: https://github.com/andreoliwa/nitpick - rev: v0.25.0 + rev: v0.26.0 hooks: - id: nitpick diff --git a/docs/conf.py b/docs/conf.py index a6402e43..9a578f9b 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -18,7 +18,7 @@ author = "W. Augusto Andreoli" # The short X.Y version -version = "0.25.0" +version = "0.26.0" # The full version, including alpha/beta/rc tags release = version diff --git a/docs/configuration.rst b/docs/configuration.rst index 1da120e7..84bcd925 100644 --- a/docs/configuration.rst +++ b/docs/configuration.rst @@ -22,7 +22,7 @@ Use the URL of the remote file. If it's hosted on GitHub, use the raw GitHub URL .. code-block:: toml [tool.nitpick] - style = "https://raw.githubusercontent.com/andreoliwa/nitpick/v0.25.0/nitpick-style.toml" + style = "https://raw.githubusercontent.com/andreoliwa/nitpick/v0.26.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 9f2c37d8..91b179f1 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`), Absent files ------------ -Contents of `styles/absent-files.toml `_: +Contents of `styles/absent-files.toml `_: .. code-block:: toml @@ -35,7 +35,7 @@ Contents of `styles/absent-files.toml `_: +Contents of `styles/black.toml `_: .. code-block:: toml @@ -69,7 +69,7 @@ Contents of `styles/black.toml `_: +Contents of `styles/editorconfig.toml `_: .. code-block:: toml @@ -109,7 +109,7 @@ Contents of `styles/editorconfig.toml `_: +Contents of `styles/flake8.toml `_: .. code-block:: toml @@ -153,7 +153,7 @@ Contents of `styles/flake8.toml `_: +Contents of `styles/ipython.toml `_: .. code-block:: toml @@ -166,7 +166,7 @@ Contents of `styles/ipython.toml `_: +Contents of `styles/isort.toml `_: .. code-block:: toml @@ -196,7 +196,7 @@ Contents of `styles/isort.toml `_: +Contents of `styles/mypy.toml `_: .. code-block:: toml @@ -230,7 +230,7 @@ Contents of `styles/mypy.toml `_: +Contents of `styles/package-json.toml `_: .. code-block:: @@ -251,7 +251,7 @@ Contents of `styles/package-json.toml `_: +Contents of `styles/poetry.toml `_: .. code-block:: toml @@ -263,7 +263,7 @@ Contents of `styles/poetry.toml `_: +Contents of `styles/pre-commit/bash.toml `_: .. code-block:: toml @@ -280,7 +280,7 @@ Contents of `styles/pre-commit/bash.toml `_: +Contents of `styles/pre-commit/commitlint.toml `_: .. code-block:: toml @@ -299,7 +299,7 @@ Contents of `styles/pre-commit/commitlint.toml `_: +Contents of `styles/pre-commit/general.toml `_: .. code-block:: toml @@ -322,7 +322,7 @@ Contents of `styles/pre-commit/general.toml `_: +Contents of `styles/pre-commit/main.toml `_: .. code-block:: toml @@ -337,7 +337,7 @@ Contents of `styles/pre-commit/main.toml `_: +Contents of `styles/pre-commit/python.toml `_: .. code-block:: toml @@ -358,7 +358,7 @@ Contents of `styles/pre-commit/python.toml `_: +Contents of `styles/pylint.toml `_: .. code-block:: toml @@ -422,7 +422,7 @@ Contents of `styles/pylint.toml `_: +Contents of `styles/python36.toml `_: .. code-block:: toml @@ -434,7 +434,7 @@ Contents of `styles/python36.toml `_: +Contents of `styles/python37.toml `_: .. code-block:: toml @@ -446,7 +446,7 @@ Contents of `styles/python37.toml `_: +Contents of `styles/python38.toml `_: .. code-block:: toml @@ -458,7 +458,7 @@ Contents of `styles/python38.toml `_: +Contents of `styles/python39.toml `_: .. code-block:: toml @@ -470,7 +470,7 @@ Contents of `styles/python39.toml `_: +Contents of `styles/tox.toml `_: .. code-block:: toml diff --git a/docs/quickstart.rst b/docs/quickstart.rst index 91147f2e..c7238b96 100644 --- a/docs/quickstart.rst +++ b/docs/quickstart.rst @@ -33,7 +33,7 @@ If you use pre-commit_ on your project (you should), add this to the ``.pre-comm repos: - repo: https://github.com/andreoliwa/nitpick - rev: v0.25.0 + rev: v0.26.0 hooks: - id: nitpick diff --git a/docs/targets.rst b/docs/targets.rst index f243bd3d..2b03fb08 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.25.0/nitpick-style.toml +.. _default style file: https://github.com/andreoliwa/nitpick/blob/v0.26.0/nitpick-style.toml .. Sort alphabetically from here: diff --git a/nitpick-style.toml b/nitpick-style.toml index dd6e3897..50f567b5 100644 --- a/nitpick-style.toml +++ b/nitpick-style.toml @@ -1,5 +1,5 @@ # Default style file for nitpick -# https://raw.githubusercontent.com/andreoliwa/nitpick/v0.25.0/nitpick-style.toml +# https://raw.githubusercontent.com/andreoliwa/nitpick/v0.26.0/nitpick-style.toml [nitpick] minimum_version = "0.10.0" diff --git a/package.json b/package.json index b06cd4b8..17f48b30 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "nitpick", - "version": "0.25.0", + "version": "0.26.0", "repository": { "type": "git", "url": "https://github.com/andreoliwa/nitpick.git" diff --git a/pyproject.toml b/pyproject.toml index ca1bfb9a..9a816589 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -7,7 +7,7 @@ line-length = 120 [tool.poetry] name = "nitpick" -version = "0.25.0" +version = "0.26.0" description = "Enforce the same configuration across multiple projects" authors = ["W. Augusto Andreoli "] license = "MIT" diff --git a/src/nitpick/__init__.py b/src/nitpick/__init__.py index 6fe6471c..47731a0c 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.25.0" +__version__ = "0.26.0" logger.disable(PROJECT_NAME)