Skip to content

Commit

Permalink
chore(release): 0.29.0 [skip ci]
Browse files Browse the repository at this point in the history
# [0.29.0](v0.28.0...v0.29.0) (2021-11-08)

### Bug Fixes

* convert ?token=xx into HTTP Basic creds for github style urls ([9b882a2](9b882a2))

### Features

* add Python 3.10 ([#410](#410)) ([050d2b9](050d2b9))
* add support for private Github repos for style sources ([49dc12d](49dc12d))
* make generic.is_url() accept dollar-quoted userinfo fragments ([ef99acd](ef99acd))
  • Loading branch information
semantic-release-bot authored and andreoliwa committed Nov 28, 2021
1 parent 0560352 commit 68a79f9
Show file tree
Hide file tree
Showing 12 changed files with 47 additions and 35 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.28.0
current_version = 0.29.0
commit = False
tag = False

Expand Down
12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
# [0.29.0](https://github.com/andreoliwa/nitpick/compare/v0.28.0...v0.29.0) (2021-11-08)

### Bug Fixes

- convert ?token=xx into HTTP Basic creds for github style urls ([9b882a2](https://github.com/andreoliwa/nitpick/commit/9b882a26806431ec3c571fc5b130370b07539385))

### Features

- add Python 3.10 ([#410](https://github.com/andreoliwa/nitpick/issues/410)) ([050d2b9](https://github.com/andreoliwa/nitpick/commit/050d2b9642ca07e25300d12a2530311f18938972))
- add support for private Github repos for style sources ([49dc12d](https://github.com/andreoliwa/nitpick/commit/49dc12d9c5da7e1e71cb1a49d20a951a54d5e033))
- make generic.is_url() accept dollar-quoted userinfo fragments ([ef99acd](https://github.com/andreoliwa/nitpick/commit/ef99acd80fe11f827ca3edc744d31816eb242fe6))

# [0.28.0](https://github.com/andreoliwa/nitpick/compare/v0.27.0...v0.28.0) (2021-10-27)

### Bug Fixes
Expand Down
4 changes: 2 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,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.28.0/nitpick-style.toml>`__.
file <https://github.com/andreoliwa/nitpick/blob/v0.29.0/nitpick-style.toml>`__.

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

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

repos:
- repo: https://github.com/andreoliwa/nitpick
rev: v0.28.0
rev: v0.29.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.28.0"
version = "0.29.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.28.0/nitpick-style.toml"
style = "github://andreoliwa/nitpick@v0.29.0/nitpick-style.toml"
# or
style = "gh://andreoliwa/nitpick@v0.28.0/nitpick-style.toml"
style = "gh://andreoliwa/nitpick@v0.29.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.28.0/nitpick-style.toml"
style = "https://github.com/andreoliwa/nitpick/blob/v0.29.0/nitpick-style.toml"
Or use the raw GitHub URL directly:

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

Expand Down
42 changes: 21 additions & 21 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`),
Absent files
------------

Contents of `styles/absent-files.toml <https://github.com/andreoliwa/nitpick/blob/v0.28.0/styles/absent-files.toml>`_:
Contents of `styles/absent-files.toml <https://github.com/andreoliwa/nitpick/blob/v0.29.0/styles/absent-files.toml>`_:

.. code-block:: toml
Expand All @@ -35,7 +35,7 @@ Contents of `styles/absent-files.toml <https://github.com/andreoliwa/nitpick/blo
black_
------

Contents of `styles/black.toml <https://github.com/andreoliwa/nitpick/blob/v0.28.0/styles/black.toml>`_:
Contents of `styles/black.toml <https://github.com/andreoliwa/nitpick/blob/v0.29.0/styles/black.toml>`_:

.. code-block:: toml
Expand Down Expand Up @@ -67,7 +67,7 @@ Contents of `styles/black.toml <https://github.com/andreoliwa/nitpick/blob/v0.28
EditorConfig_
-------------

Contents of `styles/editorconfig.toml <https://github.com/andreoliwa/nitpick/blob/v0.28.0/styles/editorconfig.toml>`_:
Contents of `styles/editorconfig.toml <https://github.com/andreoliwa/nitpick/blob/v0.29.0/styles/editorconfig.toml>`_:

.. code-block:: toml
Expand Down Expand Up @@ -107,7 +107,7 @@ Contents of `styles/editorconfig.toml <https://github.com/andreoliwa/nitpick/blo
flake8_
-------

Contents of `styles/flake8.toml <https://github.com/andreoliwa/nitpick/blob/v0.28.0/styles/flake8.toml>`_:
Contents of `styles/flake8.toml <https://github.com/andreoliwa/nitpick/blob/v0.29.0/styles/flake8.toml>`_:

.. code-block:: toml
Expand Down Expand Up @@ -150,7 +150,7 @@ Contents of `styles/flake8.toml <https://github.com/andreoliwa/nitpick/blob/v0.2
IPython_
--------

Contents of `styles/ipython.toml <https://github.com/andreoliwa/nitpick/blob/v0.28.0/styles/ipython.toml>`_:
Contents of `styles/ipython.toml <https://github.com/andreoliwa/nitpick/blob/v0.29.0/styles/ipython.toml>`_:

.. code-block:: toml
Expand All @@ -163,7 +163,7 @@ Contents of `styles/ipython.toml <https://github.com/andreoliwa/nitpick/blob/v0.
isort_
------

Contents of `styles/isort.toml <https://github.com/andreoliwa/nitpick/blob/v0.28.0/styles/isort.toml>`_:
Contents of `styles/isort.toml <https://github.com/andreoliwa/nitpick/blob/v0.29.0/styles/isort.toml>`_:

.. code-block:: toml
Expand Down Expand Up @@ -192,7 +192,7 @@ Contents of `styles/isort.toml <https://github.com/andreoliwa/nitpick/blob/v0.28
mypy_
-----

Contents of `styles/mypy.toml <https://github.com/andreoliwa/nitpick/blob/v0.28.0/styles/mypy.toml>`_:
Contents of `styles/mypy.toml <https://github.com/andreoliwa/nitpick/blob/v0.29.0/styles/mypy.toml>`_:

.. code-block:: toml
Expand Down Expand Up @@ -225,7 +225,7 @@ Contents of `styles/mypy.toml <https://github.com/andreoliwa/nitpick/blob/v0.28.
package.json_
-------------

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

.. code-block::
Expand All @@ -246,7 +246,7 @@ Contents of `styles/package-json.toml <https://github.com/andreoliwa/nitpick/blo
Poetry_
-------

Contents of `styles/poetry.toml <https://github.com/andreoliwa/nitpick/blob/v0.28.0/styles/poetry.toml>`_:
Contents of `styles/poetry.toml <https://github.com/andreoliwa/nitpick/blob/v0.29.0/styles/poetry.toml>`_:

.. code-block:: toml
Expand All @@ -258,7 +258,7 @@ Contents of `styles/poetry.toml <https://github.com/andreoliwa/nitpick/blob/v0.2
Bash_
-----

Contents of `styles/pre-commit/bash.toml <https://github.com/andreoliwa/nitpick/blob/v0.28.0/styles/pre-commit/bash.toml>`_:
Contents of `styles/pre-commit/bash.toml <https://github.com/andreoliwa/nitpick/blob/v0.29.0/styles/pre-commit/bash.toml>`_:

.. code-block:: toml
Expand All @@ -274,7 +274,7 @@ Contents of `styles/pre-commit/bash.toml <https://github.com/andreoliwa/nitpick/
commitlint_
-----------

Contents of `styles/pre-commit/commitlint.toml <https://github.com/andreoliwa/nitpick/blob/v0.28.0/styles/pre-commit/commitlint.toml>`_:
Contents of `styles/pre-commit/commitlint.toml <https://github.com/andreoliwa/nitpick/blob/v0.29.0/styles/pre-commit/commitlint.toml>`_:

.. code-block:: toml
Expand All @@ -293,7 +293,7 @@ Contents of `styles/pre-commit/commitlint.toml <https://github.com/andreoliwa/ni
pre-commit_ (hooks)
-------------------

Contents of `styles/pre-commit/general.toml <https://github.com/andreoliwa/nitpick/blob/v0.28.0/styles/pre-commit/general.toml>`_:
Contents of `styles/pre-commit/general.toml <https://github.com/andreoliwa/nitpick/blob/v0.29.0/styles/pre-commit/general.toml>`_:

.. code-block:: toml
Expand All @@ -311,7 +311,7 @@ Contents of `styles/pre-commit/general.toml <https://github.com/andreoliwa/nitpi
pre-commit_ (main)
------------------

Contents of `styles/pre-commit/main.toml <https://github.com/andreoliwa/nitpick/blob/v0.28.0/styles/pre-commit/main.toml>`_:
Contents of `styles/pre-commit/main.toml <https://github.com/andreoliwa/nitpick/blob/v0.29.0/styles/pre-commit/main.toml>`_:

.. code-block:: toml
Expand All @@ -326,7 +326,7 @@ Contents of `styles/pre-commit/main.toml <https://github.com/andreoliwa/nitpick/
pre-commit_ (Python hooks)
--------------------------

Contents of `styles/pre-commit/python.toml <https://github.com/andreoliwa/nitpick/blob/v0.28.0/styles/pre-commit/python.toml>`_:
Contents of `styles/pre-commit/python.toml <https://github.com/andreoliwa/nitpick/blob/v0.29.0/styles/pre-commit/python.toml>`_:

.. code-block:: toml
Expand All @@ -352,7 +352,7 @@ Contents of `styles/pre-commit/python.toml <https://github.com/andreoliwa/nitpic
Pylint_
-------

Contents of `styles/pylint.toml <https://github.com/andreoliwa/nitpick/blob/v0.28.0/styles/pylint.toml>`_:
Contents of `styles/pylint.toml <https://github.com/andreoliwa/nitpick/blob/v0.29.0/styles/pylint.toml>`_:

.. code-block:: toml
Expand Down Expand Up @@ -416,7 +416,7 @@ Contents of `styles/pylint.toml <https://github.com/andreoliwa/nitpick/blob/v0.2
Python 3.10
-----------

Contents of `styles/python310.toml <https://github.com/andreoliwa/nitpick/blob/v0.28.0/styles/python310.toml>`_:
Contents of `styles/python310.toml <https://github.com/andreoliwa/nitpick/blob/v0.29.0/styles/python310.toml>`_:

.. code-block:: toml
Expand All @@ -428,7 +428,7 @@ Contents of `styles/python310.toml <https://github.com/andreoliwa/nitpick/blob/v
Python 3.6
----------

Contents of `styles/python36.toml <https://github.com/andreoliwa/nitpick/blob/v0.28.0/styles/python36.toml>`_:
Contents of `styles/python36.toml <https://github.com/andreoliwa/nitpick/blob/v0.29.0/styles/python36.toml>`_:

.. code-block:: toml
Expand All @@ -440,7 +440,7 @@ Contents of `styles/python36.toml <https://github.com/andreoliwa/nitpick/blob/v0
Python 3.7
----------

Contents of `styles/python37.toml <https://github.com/andreoliwa/nitpick/blob/v0.28.0/styles/python37.toml>`_:
Contents of `styles/python37.toml <https://github.com/andreoliwa/nitpick/blob/v0.29.0/styles/python37.toml>`_:

.. code-block:: toml
Expand All @@ -452,7 +452,7 @@ Contents of `styles/python37.toml <https://github.com/andreoliwa/nitpick/blob/v0
Python 3.8
----------

Contents of `styles/python38.toml <https://github.com/andreoliwa/nitpick/blob/v0.28.0/styles/python38.toml>`_:
Contents of `styles/python38.toml <https://github.com/andreoliwa/nitpick/blob/v0.29.0/styles/python38.toml>`_:

.. code-block:: toml
Expand All @@ -464,7 +464,7 @@ Contents of `styles/python38.toml <https://github.com/andreoliwa/nitpick/blob/v0
Python 3.9
----------

Contents of `styles/python39.toml <https://github.com/andreoliwa/nitpick/blob/v0.28.0/styles/python39.toml>`_:
Contents of `styles/python39.toml <https://github.com/andreoliwa/nitpick/blob/v0.29.0/styles/python39.toml>`_:

.. code-block:: toml
Expand All @@ -476,7 +476,7 @@ Contents of `styles/python39.toml <https://github.com/andreoliwa/nitpick/blob/v0
tox_
----

Contents of `styles/tox.toml <https://github.com/andreoliwa/nitpick/blob/v0.28.0/styles/tox.toml>`_:
Contents of `styles/tox.toml <https://github.com/andreoliwa/nitpick/blob/v0.29.0/styles/tox.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.28.0
rev: v0.29.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.28.0/nitpick-style.toml
.. _default style file: https://github.com/andreoliwa/nitpick/blob/v0.29.0/nitpick-style.toml

.. Sort alphabetically from here:
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.28.0/nitpick-style.toml
# https://github.com/andreoliwa/nitpick/blob/v0.29.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.28.0",
"version": "0.29.0",
"repository": {
"type": "git",
"url": "https://github.com/andreoliwa/nitpick.git"
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ line-length = 120

[tool.poetry]
name = "nitpick"
version = "0.28.0"
version = "0.29.0"
description = "Enforce the same settings across multiple language-independent projects"
authors = ["W. Augusto Andreoli <[email protected]>"]
license = "MIT"
Expand Down
2 changes: 1 addition & 1 deletion src/nitpick/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@
from nitpick.core import Nitpick # noqa: F401

__all__ = ("Nitpick",)
__version__ = "0.28.0"
__version__ = "0.29.0"

logger.disable(PROJECT_NAME)

0 comments on commit 68a79f9

Please sign in to comment.