Skip to content

Commit

Permalink
chore(release): 0.30.0 [skip ci]
Browse files Browse the repository at this point in the history
# [0.30.0](v0.29.0...v0.30.0) (2022-01-14)

### Bug Fixes

* style override on Windows ([#422](#422)) ([e7d2897](e7d2897))
* use current dir; don't climb dirs to find the project root ([#421](#421)) ([3c82e8c](3c82e8c))

### Features

* default pre-commit hook now runs "nitpick fix" ([cb4c242](cb4c242))
* **json:** autofix JSON files ([#429](#429)) ([4b58a03](4b58a03))
* nitpick init adds a [tool.nitpick] section ([36f4065](36f4065))
* **yaml:** autofix .pre-commit-config.yaml (note: style changed!) ([#434](#434)) ([352b53d](352b53d))
* **yaml:** autofix GitHub Workflow files ([#437](#437)) ([6af77c4](6af77c4))
* **yaml:** autofix YAML files ([#431](#431)) ([d8cc4b1](d8cc4b1))
  • Loading branch information
semantic-release-bot committed Jan 14, 2022
1 parent 59a0cd1 commit 8a1d2bd
Show file tree
Hide file tree
Showing 12 changed files with 65 additions and 47 deletions.
2 changes: 1 addition & 1 deletion .bumpversion.cfg
@@ -1,5 +1,5 @@
[bumpversion]
current_version = 0.29.0
current_version = 0.30.0
commit = False
tag = False

Expand Down
18 changes: 18 additions & 0 deletions CHANGELOG.md
@@ -1,3 +1,21 @@
# [0.30.0](https://github.com/andreoliwa/nitpick/compare/v0.29.0...v0.30.0) (2022-01-14)


### Bug Fixes

* style override on Windows ([#422](https://github.com/andreoliwa/nitpick/issues/422)) ([e7d2897](https://github.com/andreoliwa/nitpick/commit/e7d2897096df3ab868c97b68d915191b488e83bf))
* use current dir; don't climb dirs to find the project root ([#421](https://github.com/andreoliwa/nitpick/issues/421)) ([3c82e8c](https://github.com/andreoliwa/nitpick/commit/3c82e8c4d019a5b25e1c0d9db1792f72cf800305))


### Features

* default pre-commit hook now runs "nitpick fix" ([cb4c242](https://github.com/andreoliwa/nitpick/commit/cb4c242607c6810c629dc7f5604920c1b64a070e))
* **json:** autofix JSON files ([#429](https://github.com/andreoliwa/nitpick/issues/429)) ([4b58a03](https://github.com/andreoliwa/nitpick/commit/4b58a0380f88b01c99945817e7ff9b595ea362aa))
* nitpick init adds a [tool.nitpick] section ([36f4065](https://github.com/andreoliwa/nitpick/commit/36f4065483b1ec4308bc28b815c82aa0abac104c))
* **yaml:** autofix .pre-commit-config.yaml (note: style changed!) ([#434](https://github.com/andreoliwa/nitpick/issues/434)) ([352b53d](https://github.com/andreoliwa/nitpick/commit/352b53d574e49ca683666fd40de3462d1396e575))
* **yaml:** autofix GitHub Workflow files ([#437](https://github.com/andreoliwa/nitpick/issues/437)) ([6af77c4](https://github.com/andreoliwa/nitpick/commit/6af77c4293d8f964ccd249626d47c82440e6412f))
* **yaml:** autofix YAML files ([#431](https://github.com/andreoliwa/nitpick/issues/431)) ([d8cc4b1](https://github.com/andreoliwa/nitpick/commit/d8cc4b1e80366d475c08316c54dc35393b4430dd))

# [0.29.0](https://github.com/andreoliwa/nitpick/compare/v0.28.0...v0.29.0) (2021-11-08)

### Bug Fixes
Expand Down
4 changes: 2 additions & 2 deletions README.rst
Expand Up @@ -210,7 +210,7 @@ with at least one Python (``.py``) file::
flake8 .

Nitpick will download and use the opinionated `default style
file <https://github.com/andreoliwa/nitpick/blob/v0.29.0/nitpick-style.toml>`__.
file <https://github.com/andreoliwa/nitpick/blob/v0.30.0/nitpick-style.toml>`__.

You can use it as a template to configure your own style.

Expand All @@ -222,7 +222,7 @@ this to the ``.pre-commit-config.yaml`` in your repository::

repos:
- repo: https://github.com/andreoliwa/nitpick
rev: v0.29.0
rev: v0.30.0
hooks:
- id: nitpick

Expand Down
2 changes: 1 addition & 1 deletion docs/conf.py
Expand Up @@ -18,7 +18,7 @@
author = "W. Augusto Andreoli"

# The short X.Y version
version = "0.29.0"
version = "0.30.0"
# The full version, including alpha/beta/rc tags
release = version

Expand Down
8 changes: 4 additions & 4 deletions docs/configuration.rst
Expand Up @@ -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.29.0/nitpick-style.toml"
style = "github://andreoliwa/nitpick@v0.30.0/nitpick-style.toml"
# or
style = "gh://andreoliwa/nitpick@v0.29.0/nitpick-style.toml"
style = "gh://andreoliwa/nitpick@v0.30.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``:
Expand All @@ -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.29.0/nitpick-style.toml"
style = "https://github.com/andreoliwa/nitpick/blob/v0.30.0/nitpick-style.toml"
Or use the raw GitHub URL directly:

.. code-block:: toml
[tool.nitpick]
style = "https://raw.githubusercontent.com/andreoliwa/nitpick/v0.29.0/nitpick-style.toml"
style = "https://raw.githubusercontent.com/andreoliwa/nitpick/v0.30.0/nitpick-style.toml"
You can also use the raw URL of a `GitHub Gist <https://gist.github.com>`_:

Expand Down
66 changes: 33 additions & 33 deletions docs/examples.rst
Expand Up @@ -18,7 +18,7 @@ You can use these examples directly with their URL (see :ref:`multiple_styles`),
codeclimate_
------------

Contents of `resources/any/codeclimate.toml <https://github.com/andreoliwa/nitpick/blob/v0.29.0/resources/any/codeclimate.toml>`_:
Contents of `resources/any/codeclimate.toml <https://github.com/andreoliwa/nitpick/blob/v0.30.0/resources/any/codeclimate.toml>`_:

.. code-block:: toml
Expand All @@ -44,7 +44,7 @@ Contents of `resources/any/codeclimate.toml <https://github.com/andreoliwa/nitpi
commitizen_
-----------

Contents of `resources/any/commitizen.toml <https://github.com/andreoliwa/nitpick/blob/v0.29.0/resources/any/commitizen.toml>`_:
Contents of `resources/any/commitizen.toml <https://github.com/andreoliwa/nitpick/blob/v0.30.0/resources/any/commitizen.toml>`_:

.. code-block:: toml
Expand All @@ -60,7 +60,7 @@ Contents of `resources/any/commitizen.toml <https://github.com/andreoliwa/nitpic
commitlint_
-----------

Contents of `resources/any/commitlint.toml <https://github.com/andreoliwa/nitpick/blob/v0.29.0/resources/any/commitlint.toml>`_:
Contents of `resources/any/commitlint.toml <https://github.com/andreoliwa/nitpick/blob/v0.30.0/resources/any/commitlint.toml>`_:

.. code-block::
Expand All @@ -86,7 +86,7 @@ Contents of `resources/any/commitlint.toml <https://github.com/andreoliwa/nitpic
EditorConfig_
-------------

Contents of `resources/any/editorconfig.toml <https://github.com/andreoliwa/nitpick/blob/v0.29.0/resources/any/editorconfig.toml>`_:
Contents of `resources/any/editorconfig.toml <https://github.com/andreoliwa/nitpick/blob/v0.30.0/resources/any/editorconfig.toml>`_:

.. code-block:: toml
Expand Down Expand Up @@ -129,7 +129,7 @@ Contents of `resources/any/editorconfig.toml <https://github.com/andreoliwa/nitp
git-legal_
----------

Contents of `resources/any/git-legal.toml <https://github.com/andreoliwa/nitpick/blob/v0.29.0/resources/any/git-legal.toml>`_:
Contents of `resources/any/git-legal.toml <https://github.com/andreoliwa/nitpick/blob/v0.30.0/resources/any/git-legal.toml>`_:

.. code-block:: toml
Expand All @@ -141,7 +141,7 @@ Contents of `resources/any/git-legal.toml <https://github.com/andreoliwa/nitpick
pre-commit_ hooks for any language
----------------------------------

Contents of `resources/any/hooks.toml <https://github.com/andreoliwa/nitpick/blob/v0.29.0/resources/any/hooks.toml>`_:
Contents of `resources/any/hooks.toml <https://github.com/andreoliwa/nitpick/blob/v0.30.0/resources/any/hooks.toml>`_:

.. code-block:: toml
Expand All @@ -165,7 +165,7 @@ Contents of `resources/any/hooks.toml <https://github.com/andreoliwa/nitpick/blo
markdownlint_
-------------

Contents of `resources/any/markdownlint.toml <https://github.com/andreoliwa/nitpick/blob/v0.29.0/resources/any/markdownlint.toml>`_:
Contents of `resources/any/markdownlint.toml <https://github.com/andreoliwa/nitpick/blob/v0.30.0/resources/any/markdownlint.toml>`_:

.. code-block:: toml
Expand All @@ -178,7 +178,7 @@ Contents of `resources/any/markdownlint.toml <https://github.com/andreoliwa/nitp
Prettier_
---------

Contents of `resources/any/prettier.toml <https://github.com/andreoliwa/nitpick/blob/v0.29.0/resources/any/prettier.toml>`_:
Contents of `resources/any/prettier.toml <https://github.com/andreoliwa/nitpick/blob/v0.30.0/resources/any/prettier.toml>`_:

.. code-block:: toml
Expand All @@ -194,7 +194,7 @@ Contents of `resources/any/prettier.toml <https://github.com/andreoliwa/nitpick/
package.json_
-------------

Contents of `resources/javascript/package-json.toml <https://github.com/andreoliwa/nitpick/blob/v0.29.0/resources/javascript/package-json.toml>`_:
Contents of `resources/javascript/package-json.toml <https://github.com/andreoliwa/nitpick/blob/v0.30.0/resources/javascript/package-json.toml>`_:

.. code-block:: toml
Expand All @@ -206,7 +206,7 @@ Contents of `resources/javascript/package-json.toml <https://github.com/andreoli
Python 3.10
-----------

Contents of `resources/python/310.toml <https://github.com/andreoliwa/nitpick/blob/v0.29.0/resources/python/310.toml>`_:
Contents of `resources/python/310.toml <https://github.com/andreoliwa/nitpick/blob/v0.30.0/resources/python/310.toml>`_:

.. code-block:: toml
Expand All @@ -218,7 +218,7 @@ Contents of `resources/python/310.toml <https://github.com/andreoliwa/nitpick/bl
Python 3.6
----------

Contents of `resources/python/36.toml <https://github.com/andreoliwa/nitpick/blob/v0.29.0/resources/python/36.toml>`_:
Contents of `resources/python/36.toml <https://github.com/andreoliwa/nitpick/blob/v0.30.0/resources/python/36.toml>`_:

.. code-block:: toml
Expand All @@ -230,7 +230,7 @@ Contents of `resources/python/36.toml <https://github.com/andreoliwa/nitpick/blo
Python 3.7
----------

Contents of `resources/python/37.toml <https://github.com/andreoliwa/nitpick/blob/v0.29.0/resources/python/37.toml>`_:
Contents of `resources/python/37.toml <https://github.com/andreoliwa/nitpick/blob/v0.30.0/resources/python/37.toml>`_:

.. code-block:: toml
Expand All @@ -242,7 +242,7 @@ Contents of `resources/python/37.toml <https://github.com/andreoliwa/nitpick/blo
Python 3.8
----------

Contents of `resources/python/38.toml <https://github.com/andreoliwa/nitpick/blob/v0.29.0/resources/python/38.toml>`_:
Contents of `resources/python/38.toml <https://github.com/andreoliwa/nitpick/blob/v0.30.0/resources/python/38.toml>`_:

.. code-block:: toml
Expand All @@ -254,7 +254,7 @@ Contents of `resources/python/38.toml <https://github.com/andreoliwa/nitpick/blo
Python 3.9
----------

Contents of `resources/python/39.toml <https://github.com/andreoliwa/nitpick/blob/v0.29.0/resources/python/39.toml>`_:
Contents of `resources/python/39.toml <https://github.com/andreoliwa/nitpick/blob/v0.30.0/resources/python/39.toml>`_:

.. code-block:: toml
Expand All @@ -266,7 +266,7 @@ Contents of `resources/python/39.toml <https://github.com/andreoliwa/nitpick/blo
Absent files
------------

Contents of `resources/python/absent.toml <https://github.com/andreoliwa/nitpick/blob/v0.29.0/resources/python/absent.toml>`_:
Contents of `resources/python/absent.toml <https://github.com/andreoliwa/nitpick/blob/v0.30.0/resources/python/absent.toml>`_:

.. code-block:: toml
Expand All @@ -283,7 +283,7 @@ Contents of `resources/python/absent.toml <https://github.com/andreoliwa/nitpick
autoflake_
----------

Contents of `resources/python/autoflake.toml <https://github.com/andreoliwa/nitpick/blob/v0.29.0/resources/python/autoflake.toml>`_:
Contents of `resources/python/autoflake.toml <https://github.com/andreoliwa/nitpick/blob/v0.30.0/resources/python/autoflake.toml>`_:

.. code-block:: toml
Expand All @@ -299,7 +299,7 @@ Contents of `resources/python/autoflake.toml <https://github.com/andreoliwa/nitp
bandit_
-------

Contents of `resources/python/bandit.toml <https://github.com/andreoliwa/nitpick/blob/v0.29.0/resources/python/bandit.toml>`_:
Contents of `resources/python/bandit.toml <https://github.com/andreoliwa/nitpick/blob/v0.30.0/resources/python/bandit.toml>`_:

.. code-block:: toml
Expand All @@ -320,7 +320,7 @@ Contents of `resources/python/bandit.toml <https://github.com/andreoliwa/nitpick
black_
------

Contents of `resources/python/black.toml <https://github.com/andreoliwa/nitpick/blob/v0.29.0/resources/python/black.toml>`_:
Contents of `resources/python/black.toml <https://github.com/andreoliwa/nitpick/blob/v0.30.0/resources/python/black.toml>`_:

.. code-block:: toml
Expand All @@ -346,7 +346,7 @@ Contents of `resources/python/black.toml <https://github.com/andreoliwa/nitpick/
flake8_
-------

Contents of `resources/python/flake8.toml <https://github.com/andreoliwa/nitpick/blob/v0.29.0/resources/python/flake8.toml>`_:
Contents of `resources/python/flake8.toml <https://github.com/andreoliwa/nitpick/blob/v0.30.0/resources/python/flake8.toml>`_:

.. code-block:: toml
Expand Down Expand Up @@ -377,7 +377,7 @@ Contents of `resources/python/flake8.toml <https://github.com/andreoliwa/nitpick
GitHub Workflow (Python)
------------------------

Contents of `resources/python/github-workflow.toml <https://github.com/andreoliwa/nitpick/blob/v0.29.0/resources/python/github-workflow.toml>`_:
Contents of `resources/python/github-workflow.toml <https://github.com/andreoliwa/nitpick/blob/v0.30.0/resources/python/github-workflow.toml>`_:

.. code-block:: toml
Expand Down Expand Up @@ -419,7 +419,7 @@ Contents of `resources/python/github-workflow.toml <https://github.com/andreoliw
pre-commit_ hooks for Python
----------------------------

Contents of `resources/python/hooks.toml <https://github.com/andreoliwa/nitpick/blob/v0.29.0/resources/python/hooks.toml>`_:
Contents of `resources/python/hooks.toml <https://github.com/andreoliwa/nitpick/blob/v0.30.0/resources/python/hooks.toml>`_:

.. code-block:: toml
Expand Down Expand Up @@ -458,7 +458,7 @@ Contents of `resources/python/hooks.toml <https://github.com/andreoliwa/nitpick/
IPython_
--------

Contents of `resources/python/ipython.toml <https://github.com/andreoliwa/nitpick/blob/v0.29.0/resources/python/ipython.toml>`_:
Contents of `resources/python/ipython.toml <https://github.com/andreoliwa/nitpick/blob/v0.30.0/resources/python/ipython.toml>`_:

.. code-block:: toml
Expand All @@ -471,7 +471,7 @@ Contents of `resources/python/ipython.toml <https://github.com/andreoliwa/nitpic
isort_
------

Contents of `resources/python/isort.toml <https://github.com/andreoliwa/nitpick/blob/v0.29.0/resources/python/isort.toml>`_:
Contents of `resources/python/isort.toml <https://github.com/andreoliwa/nitpick/blob/v0.30.0/resources/python/isort.toml>`_:

.. code-block:: toml
Expand Down Expand Up @@ -499,7 +499,7 @@ Contents of `resources/python/isort.toml <https://github.com/andreoliwa/nitpick/
mypy_
-----

Contents of `resources/python/mypy.toml <https://github.com/andreoliwa/nitpick/blob/v0.29.0/resources/python/mypy.toml>`_:
Contents of `resources/python/mypy.toml <https://github.com/andreoliwa/nitpick/blob/v0.30.0/resources/python/mypy.toml>`_:

.. code-block:: toml
Expand Down Expand Up @@ -533,7 +533,7 @@ Contents of `resources/python/mypy.toml <https://github.com/andreoliwa/nitpick/b
Poetry_
-------

Contents of `resources/python/poetry.toml <https://github.com/andreoliwa/nitpick/blob/v0.29.0/resources/python/poetry.toml>`_:
Contents of `resources/python/poetry.toml <https://github.com/andreoliwa/nitpick/blob/v0.30.0/resources/python/poetry.toml>`_:

.. code-block:: toml
Expand All @@ -545,7 +545,7 @@ Contents of `resources/python/poetry.toml <https://github.com/andreoliwa/nitpick
Pylint_
-------

Contents of `resources/python/pylint.toml <https://github.com/andreoliwa/nitpick/blob/v0.29.0/resources/python/pylint.toml>`_:
Contents of `resources/python/pylint.toml <https://github.com/andreoliwa/nitpick/blob/v0.30.0/resources/python/pylint.toml>`_:

.. code-block:: toml
Expand Down Expand Up @@ -627,7 +627,7 @@ Contents of `resources/python/pylint.toml <https://github.com/andreoliwa/nitpick
radon_
------

Contents of `resources/python/radon.toml <https://github.com/andreoliwa/nitpick/blob/v0.29.0/resources/python/radon.toml>`_:
Contents of `resources/python/radon.toml <https://github.com/andreoliwa/nitpick/blob/v0.30.0/resources/python/radon.toml>`_:

.. code-block:: toml
Expand All @@ -642,7 +642,7 @@ Contents of `resources/python/radon.toml <https://github.com/andreoliwa/nitpick/
ReadTheDocs_
------------

Contents of `resources/python/readthedocs.toml <https://github.com/andreoliwa/nitpick/blob/v0.29.0/resources/python/readthedocs.toml>`_:
Contents of `resources/python/readthedocs.toml <https://github.com/andreoliwa/nitpick/blob/v0.30.0/resources/python/readthedocs.toml>`_:

.. code-block:: toml
Expand All @@ -664,7 +664,7 @@ Contents of `resources/python/readthedocs.toml <https://github.com/andreoliwa/ni
sonar-python_
-------------

Contents of `resources/python/sonar-python.toml <https://github.com/andreoliwa/nitpick/blob/v0.29.0/resources/python/sonar-python.toml>`_:
Contents of `resources/python/sonar-python.toml <https://github.com/andreoliwa/nitpick/blob/v0.30.0/resources/python/sonar-python.toml>`_:

.. code-block:: toml
Expand All @@ -677,7 +677,7 @@ Contents of `resources/python/sonar-python.toml <https://github.com/andreoliwa/n
Python (stable version)
-----------------------

Contents of `resources/python/stable.toml <https://github.com/andreoliwa/nitpick/blob/v0.29.0/resources/python/stable.toml>`_:
Contents of `resources/python/stable.toml <https://github.com/andreoliwa/nitpick/blob/v0.30.0/resources/python/stable.toml>`_:

.. code-block:: toml
Expand All @@ -692,7 +692,7 @@ Contents of `resources/python/stable.toml <https://github.com/andreoliwa/nitpick
tox_
----

Contents of `resources/python/tox.toml <https://github.com/andreoliwa/nitpick/blob/v0.29.0/resources/python/tox.toml>`_:
Contents of `resources/python/tox.toml <https://github.com/andreoliwa/nitpick/blob/v0.30.0/resources/python/tox.toml>`_:

.. code-block:: toml
Expand Down Expand Up @@ -730,7 +730,7 @@ Contents of `resources/python/tox.toml <https://github.com/andreoliwa/nitpick/bl
bashate_
--------

Contents of `resources/shell/bashate.toml <https://github.com/andreoliwa/nitpick/blob/v0.29.0/resources/shell/bashate.toml>`_:
Contents of `resources/shell/bashate.toml <https://github.com/andreoliwa/nitpick/blob/v0.30.0/resources/shell/bashate.toml>`_:

.. code-block:: toml
Expand All @@ -748,7 +748,7 @@ Contents of `resources/shell/bashate.toml <https://github.com/andreoliwa/nitpick
shellcheck_
-----------

Contents of `resources/shell/shellcheck.toml <https://github.com/andreoliwa/nitpick/blob/v0.29.0/resources/shell/shellcheck.toml>`_:
Contents of `resources/shell/shellcheck.toml <https://github.com/andreoliwa/nitpick/blob/v0.30.0/resources/shell/shellcheck.toml>`_:

.. code-block:: toml
Expand Down
2 changes: 1 addition & 1 deletion docs/quickstart.rst
Expand Up @@ -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.29.0
rev: v0.30.0
hooks:
- id: nitpick
Expand Down
2 changes: 1 addition & 1 deletion 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.29.0/nitpick-style.toml
.. _default style file: https://github.com/andreoliwa/nitpick/blob/v0.30.0/nitpick-style.toml

.. Keep items sorted alphabetically from here (using Pycharm, even tough it's case-sensitive):
Expand Down

0 comments on commit 8a1d2bd

Please sign in to comment.