Skip to content

Commit

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

### Bug Fixes

* keys suggested in the order they are defined ([#442](#442)) ([09c30ab](09c30ab))
* pin attrs to >=20.1.0, change imports ([0696d08](0696d08))

### Features

* drop support for Python 3.6 ([#439](#439)) ([a02e0ce](a02e0ce))
  • Loading branch information
semantic-release-bot committed Jan 15, 2022
1 parent 7fb0afe commit 0ec4a13
Show file tree
Hide file tree
Showing 12 changed files with 57 additions and 46 deletions.
2 changes: 1 addition & 1 deletion .bumpversion.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[bumpversion]
current_version = 0.30.0
current_version = 0.31.0
commit = False
tag = False

Expand Down
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
4 changes: 2 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
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.30.0/nitpick-style.toml>`__.
file <https://github.com/andreoliwa/nitpick/blob/v0.31.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.30.0
rev: v0.31.0
hooks:
- id: nitpick

Expand Down
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
8 changes: 4 additions & 4 deletions docs/configuration.rst
Original file line number Diff line number Diff line change
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.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``:
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.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 <https://gist.github.com>`_:

Expand Down
64 changes: 32 additions & 32 deletions docs/examples.rst
Original file line number Diff line number Diff line change
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.30.0/resources/any/codeclimate.toml>`_:
Contents of `resources/any/codeclimate.toml <https://github.com/andreoliwa/nitpick/blob/v0.31.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.30.0/resources/any/commitizen.toml>`_:
Contents of `resources/any/commitizen.toml <https://github.com/andreoliwa/nitpick/blob/v0.31.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.30.0/resources/any/commitlint.toml>`_:
Contents of `resources/any/commitlint.toml <https://github.com/andreoliwa/nitpick/blob/v0.31.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.30.0/resources/any/editorconfig.toml>`_:
Contents of `resources/any/editorconfig.toml <https://github.com/andreoliwa/nitpick/blob/v0.31.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.30.0/resources/any/git-legal.toml>`_:
Contents of `resources/any/git-legal.toml <https://github.com/andreoliwa/nitpick/blob/v0.31.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.30.0/resources/any/hooks.toml>`_:
Contents of `resources/any/hooks.toml <https://github.com/andreoliwa/nitpick/blob/v0.31.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.30.0/resources/any/markdownlint.toml>`_:
Contents of `resources/any/markdownlint.toml <https://github.com/andreoliwa/nitpick/blob/v0.31.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.30.0/resources/any/prettier.toml>`_:
Contents of `resources/any/prettier.toml <https://github.com/andreoliwa/nitpick/blob/v0.31.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.30.0/resources/javascript/package-json.toml>`_:
Contents of `resources/javascript/package-json.toml <https://github.com/andreoliwa/nitpick/blob/v0.31.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.30.0/resources/python/310.toml>`_:
Contents of `resources/python/310.toml <https://github.com/andreoliwa/nitpick/blob/v0.31.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.7
----------

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

.. code-block:: toml
Expand All @@ -230,7 +230,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.30.0/resources/python/38.toml>`_:
Contents of `resources/python/38.toml <https://github.com/andreoliwa/nitpick/blob/v0.31.0/resources/python/38.toml>`_:

.. code-block:: toml
Expand All @@ -242,7 +242,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.30.0/resources/python/39.toml>`_:
Contents of `resources/python/39.toml <https://github.com/andreoliwa/nitpick/blob/v0.31.0/resources/python/39.toml>`_:

.. code-block:: toml
Expand All @@ -254,7 +254,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.30.0/resources/python/absent.toml>`_:
Contents of `resources/python/absent.toml <https://github.com/andreoliwa/nitpick/blob/v0.31.0/resources/python/absent.toml>`_:

.. code-block:: toml
Expand All @@ -271,7 +271,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.30.0/resources/python/autoflake.toml>`_:
Contents of `resources/python/autoflake.toml <https://github.com/andreoliwa/nitpick/blob/v0.31.0/resources/python/autoflake.toml>`_:

.. code-block:: toml
Expand All @@ -287,7 +287,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.30.0/resources/python/bandit.toml>`_:
Contents of `resources/python/bandit.toml <https://github.com/andreoliwa/nitpick/blob/v0.31.0/resources/python/bandit.toml>`_:

.. code-block:: toml
Expand All @@ -308,7 +308,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.30.0/resources/python/black.toml>`_:
Contents of `resources/python/black.toml <https://github.com/andreoliwa/nitpick/blob/v0.31.0/resources/python/black.toml>`_:

.. code-block:: toml
Expand All @@ -334,7 +334,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.30.0/resources/python/flake8.toml>`_:
Contents of `resources/python/flake8.toml <https://github.com/andreoliwa/nitpick/blob/v0.31.0/resources/python/flake8.toml>`_:

.. code-block:: toml
Expand Down Expand Up @@ -365,7 +365,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.30.0/resources/python/github-workflow.toml>`_:
Contents of `resources/python/github-workflow.toml <https://github.com/andreoliwa/nitpick/blob/v0.31.0/resources/python/github-workflow.toml>`_:

.. code-block:: toml
Expand Down Expand Up @@ -407,7 +407,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.30.0/resources/python/hooks.toml>`_:
Contents of `resources/python/hooks.toml <https://github.com/andreoliwa/nitpick/blob/v0.31.0/resources/python/hooks.toml>`_:

.. code-block:: toml
Expand Down Expand Up @@ -447,7 +447,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.30.0/resources/python/ipython.toml>`_:
Contents of `resources/python/ipython.toml <https://github.com/andreoliwa/nitpick/blob/v0.31.0/resources/python/ipython.toml>`_:

.. code-block:: toml
Expand All @@ -460,7 +460,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.30.0/resources/python/isort.toml>`_:
Contents of `resources/python/isort.toml <https://github.com/andreoliwa/nitpick/blob/v0.31.0/resources/python/isort.toml>`_:

.. code-block:: toml
Expand Down Expand Up @@ -488,7 +488,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.30.0/resources/python/mypy.toml>`_:
Contents of `resources/python/mypy.toml <https://github.com/andreoliwa/nitpick/blob/v0.31.0/resources/python/mypy.toml>`_:

.. code-block:: toml
Expand Down Expand Up @@ -522,7 +522,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.30.0/resources/python/poetry.toml>`_:
Contents of `resources/python/poetry.toml <https://github.com/andreoliwa/nitpick/blob/v0.31.0/resources/python/poetry.toml>`_:

.. code-block:: toml
Expand All @@ -534,7 +534,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.30.0/resources/python/pylint.toml>`_:
Contents of `resources/python/pylint.toml <https://github.com/andreoliwa/nitpick/blob/v0.31.0/resources/python/pylint.toml>`_:

.. code-block:: toml
Expand Down Expand Up @@ -616,7 +616,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.30.0/resources/python/radon.toml>`_:
Contents of `resources/python/radon.toml <https://github.com/andreoliwa/nitpick/blob/v0.31.0/resources/python/radon.toml>`_:

.. code-block:: toml
Expand All @@ -631,7 +631,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.30.0/resources/python/readthedocs.toml>`_:
Contents of `resources/python/readthedocs.toml <https://github.com/andreoliwa/nitpick/blob/v0.31.0/resources/python/readthedocs.toml>`_:

.. code-block:: toml
Expand All @@ -653,7 +653,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.30.0/resources/python/sonar-python.toml>`_:
Contents of `resources/python/sonar-python.toml <https://github.com/andreoliwa/nitpick/blob/v0.31.0/resources/python/sonar-python.toml>`_:

.. code-block:: toml
Expand All @@ -666,7 +666,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.30.0/resources/python/stable.toml>`_:
Contents of `resources/python/stable.toml <https://github.com/andreoliwa/nitpick/blob/v0.31.0/resources/python/stable.toml>`_:

.. code-block:: toml
Expand All @@ -680,7 +680,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.30.0/resources/python/tox.toml>`_:
Contents of `resources/python/tox.toml <https://github.com/andreoliwa/nitpick/blob/v0.31.0/resources/python/tox.toml>`_:

.. code-block:: toml
Expand Down Expand Up @@ -718,7 +718,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.30.0/resources/shell/bashate.toml>`_:
Contents of `resources/shell/bashate.toml <https://github.com/andreoliwa/nitpick/blob/v0.31.0/resources/shell/bashate.toml>`_:

.. code-block:: toml
Expand All @@ -736,7 +736,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.30.0/resources/shell/shellcheck.toml>`_:
Contents of `resources/shell/shellcheck.toml <https://github.com/andreoliwa/nitpick/blob/v0.31.0/resources/shell/shellcheck.toml>`_:

.. code-block:: toml
Expand Down
2 changes: 1 addition & 1 deletion docs/quickstart.rst
Original file line number Diff line number Diff line change
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.30.0
rev: v0.31.0
hooks:
- id: nitpick
Expand Down
2 changes: 1 addition & 1 deletion docs/targets.rst
Original file line number Diff line number Diff line change
@@ -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):
Expand Down
2 changes: 1 addition & 1 deletion nitpick-style.toml
Original file line number Diff line number Diff line change
@@ -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"
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "nitpick",
"version": "0.30.0",
"version": "0.31.0",
"repository": {
"type": "git",
"url": "https://github.com/andreoliwa/nitpick.git"
Expand Down
Loading

0 comments on commit 0ec4a13

Please sign in to comment.