Skip to content

Commit

Permalink
chore(release): 0.35.0 [skip ci]
Browse files Browse the repository at this point in the history
# [0.35.0](v0.34.0...v0.35.0) (2023-12-31)

### Bug Fixes

* **deps:** update dependency click to v8.1.7 ([783741d](783741d))
* fail when no style is explicitly configured (don't use the default style) ([#606](#606)) ([f309354](f309354))
* **style:** better .editorconfig ([0b779d9](0b779d9))
* **style:** comma_separated_values for flake8/isort ([7336dbc](7336dbc))
* **style:** move "build" to readthedocs.toml ([676ac24](676ac24))
* **style:** remove Radon from the Nitpick preset ([126b1c1](126b1c1))
* **style:** tag markdownlint.toml as a markdown style ([578bfb5](578bfb5))
* **style:** use black mirror that's 2x faster ([67dc163](67dc163))

### Features

* add Python 3.12 ([#616](#616)) ([90ced4c](90ced4c))
* set CLI options with environment variables ([3575b9a](3575b9a))
* **style:** add toml-sort ([#626](#626)) ([a4aeef7](a4aeef7))
* **style:** default Python version on pre-commit ([3557c1f](3557c1f))
* **style:** Poetry (virtualenv in project) ([f002b8b](f002b8b))
* suggest styles based on the file types in the project ([#629](#629)) ([e2bca24](e2bca24))
  • Loading branch information
semantic-release-bot committed Dec 31, 2023
1 parent d910da9 commit 36d4912
Show file tree
Hide file tree
Showing 11 changed files with 39 additions and 17 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.34.0
current_version = 0.35.0
commit = False
tag = False

Expand Down
22 changes: 22 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,25 @@
# [0.35.0](https://github.com/andreoliwa/nitpick/compare/v0.34.0...v0.35.0) (2023-12-31)

### Bug Fixes

- **deps:** update dependency click to v8.1.7 ([783741d](https://github.com/andreoliwa/nitpick/commit/783741dad71cf1a1e82faec55872dc347c297e35))
- fail when no style is explicitly configured (don't use the default style) ([#606](https://github.com/andreoliwa/nitpick/issues/606)) ([f309354](https://github.com/andreoliwa/nitpick/commit/f30935440c4d4a1e87413a0ce4d0a6e875dcfd06))
- **style:** better .editorconfig ([0b779d9](https://github.com/andreoliwa/nitpick/commit/0b779d967ae14a0ae4e47b426767ea48426a4d31))
- **style:** comma_separated_values for flake8/isort ([7336dbc](https://github.com/andreoliwa/nitpick/commit/7336dbc397416a17df278e096d7807a099e314aa))
- **style:** move "build" to readthedocs.toml ([676ac24](https://github.com/andreoliwa/nitpick/commit/676ac2450ab6e7fce597a020b7b260fe90e18206))
- **style:** remove Radon from the Nitpick preset ([126b1c1](https://github.com/andreoliwa/nitpick/commit/126b1c10db033e66b2f2d4386bf8d4342d6557c4))
- **style:** tag markdownlint.toml as a markdown style ([578bfb5](https://github.com/andreoliwa/nitpick/commit/578bfb5795f543e8590e86bac6174391249675d1))
- **style:** use black mirror that's 2x faster ([67dc163](https://github.com/andreoliwa/nitpick/commit/67dc16353edd0f275ac68bb5cc75159574b5f426))

### Features

- add Python 3.12 ([#616](https://github.com/andreoliwa/nitpick/issues/616)) ([90ced4c](https://github.com/andreoliwa/nitpick/commit/90ced4cd2e308c4f0be2a284d7acff7bdf1a8448))
- set CLI options with environment variables ([3575b9a](https://github.com/andreoliwa/nitpick/commit/3575b9a542281810c1ce980df50053ea1ec6a290))
- **style:** add toml-sort ([#626](https://github.com/andreoliwa/nitpick/issues/626)) ([a4aeef7](https://github.com/andreoliwa/nitpick/commit/a4aeef7c9eaac86d6a33ddbd3b5735de11c065b0))
- **style:** default Python version on pre-commit ([3557c1f](https://github.com/andreoliwa/nitpick/commit/3557c1f18d6be6886f0642e11333f1dff52ae9b7))
- **style:** Poetry (virtualenv in project) ([f002b8b](https://github.com/andreoliwa/nitpick/commit/f002b8ba6fc79ed00d50426d70193bad4065db95))
- suggest styles based on the file types in the project ([#629](https://github.com/andreoliwa/nitpick/issues/629)) ([e2bca24](https://github.com/andreoliwa/nitpick/commit/e2bca246e142b9e06766d0522e1cee24a8c1bc07))

# [0.34.0](https://github.com/andreoliwa/nitpick/compare/v0.33.2...v0.34.0) (2023-08-19)

### Features
Expand Down
8 changes: 4 additions & 4 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -373,11 +373,11 @@ Run
~~~

Nitpick_ will fail if no style is explicitly configured.
Run this command to download and use the opinionated :gitref:`default style file <nitpick-style.toml>`:
Run this command to download and use the opinionated `default style file <nitpick-style.toml>`:

nitpick init

You can use it as a template to :ref:`configure-your-own-style`.
You can use it as a template to `configure-your-own-style`.

To fix and modify your files directly::

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

repos:
- repo: https://github.com/andreoliwa/nitpick
rev: v0.34.0
rev: v0.35.0
hooks:
- id: nitpick

Expand All @@ -425,7 +425,7 @@ If you use `MegaLinter <https://megalinter.github.io/>`_ you can run Nitpick as
.. code-block:: yaml
PLUGINS:
- https://raw.githubusercontent.com/andreoliwa/nitpick/v0.34.0/mega-linter-plugin-nitpick/nitpick.megalinter-descriptor.yml
- https://raw.githubusercontent.com/andreoliwa/nitpick/v0.35.0/mega-linter-plugin-nitpick/nitpick.megalinter-descriptor.yml
ENABLE_LINTERS:
- NITPICK
Expand Down
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
author = "W. Augusto Andreoli"

# The short X.Y version
version = "0.34.0"
version = "0.35.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 @@ -49,9 +49,9 @@ GitHub URL scheme (``github://`` or ``gh://``) pinned to a specific version:
.. code-block:: toml
[tool.nitpick]
style = "github://andreoliwa/nitpick@v0.34.0/nitpick-style.toml"
style = "github://andreoliwa/nitpick@v0.35.0/nitpick-style.toml"
# or
style = "gh://andreoliwa/nitpick@v0.34.0/nitpick-style.toml"
style = "gh://andreoliwa/nitpick@v0.35.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 @@ -78,14 +78,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.34.0/nitpick-style.toml"
style = "https://github.com/andreoliwa/nitpick/blob/v0.35.0/nitpick-style.toml"
Or use the raw GitHub URL directly:

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

Expand Down
4 changes: 2 additions & 2 deletions docs/quickstart.rst
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,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.34.0
rev: v0.35.0
hooks:
- id: nitpick-suggest
- id: nitpick
Expand Down Expand Up @@ -107,7 +107,7 @@ If you use `MegaLinter <https://megalinter.github.io/>`_ you can run Nitpick as
.. code-block:: yaml
PLUGINS:
- https://raw.githubusercontent.com/andreoliwa/nitpick/v0.34.0/mega-linter-plugin-nitpick/nitpick.megalinter-descriptor.yml
- https://raw.githubusercontent.com/andreoliwa/nitpick/v0.35.0/mega-linter-plugin-nitpick/nitpick.megalinter-descriptor.yml
ENABLE_LINTERS:
- NITPICK
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ linters:
name: NITPICK
install:
dockerfile:
- RUN pip install nitpick==0.34.0
- RUN pip install nitpick==0.35.0
examples:
- "nitpick check"
- "nitpick fix"
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.34.0/nitpick-style.toml
# https://github.com/andreoliwa/nitpick/blob/v0.35.0/nitpick-style.toml
# Kept here for compatibility, if someone is still accessing the file via GitHub URL.
# This style just includes the built-in preset shipped with Nitpick.

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.34.0",
"version": "0.35.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 @@ -30,7 +30,7 @@ license = "MIT"
name = "nitpick"
readme = "README.rst"
repository = "https://github.com/andreoliwa/nitpick"
version = "0.34.0"
version = "0.35.0"

[tool.poetry.dependencies]
attrs = ">=20.1.0" # attr.define introduced in this version
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

__all__ = ("Nitpick",)
__version__ = "0.34.0"
__version__ = "0.35.0"

logger.disable(PROJECT_NAME)

0 comments on commit 36d4912

Please sign in to comment.