Skip to content

Commit 36d4912

Browse files
chore(release): 0.35.0 [skip ci]
# [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))
1 parent d910da9 commit 36d4912

File tree

11 files changed

+39
-17
lines changed

11 files changed

+39
-17
lines changed

.bumpversion.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[bumpversion]
2-
current_version = 0.34.0
2+
current_version = 0.35.0
33
commit = False
44
tag = False
55

CHANGELOG.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,25 @@
1+
# [0.35.0](https://github.com/andreoliwa/nitpick/compare/v0.34.0...v0.35.0) (2023-12-31)
2+
3+
### Bug Fixes
4+
5+
- **deps:** update dependency click to v8.1.7 ([783741d](https://github.com/andreoliwa/nitpick/commit/783741dad71cf1a1e82faec55872dc347c297e35))
6+
- 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))
7+
- **style:** better .editorconfig ([0b779d9](https://github.com/andreoliwa/nitpick/commit/0b779d967ae14a0ae4e47b426767ea48426a4d31))
8+
- **style:** comma_separated_values for flake8/isort ([7336dbc](https://github.com/andreoliwa/nitpick/commit/7336dbc397416a17df278e096d7807a099e314aa))
9+
- **style:** move "build" to readthedocs.toml ([676ac24](https://github.com/andreoliwa/nitpick/commit/676ac2450ab6e7fce597a020b7b260fe90e18206))
10+
- **style:** remove Radon from the Nitpick preset ([126b1c1](https://github.com/andreoliwa/nitpick/commit/126b1c10db033e66b2f2d4386bf8d4342d6557c4))
11+
- **style:** tag markdownlint.toml as a markdown style ([578bfb5](https://github.com/andreoliwa/nitpick/commit/578bfb5795f543e8590e86bac6174391249675d1))
12+
- **style:** use black mirror that's 2x faster ([67dc163](https://github.com/andreoliwa/nitpick/commit/67dc16353edd0f275ac68bb5cc75159574b5f426))
13+
14+
### Features
15+
16+
- add Python 3.12 ([#616](https://github.com/andreoliwa/nitpick/issues/616)) ([90ced4c](https://github.com/andreoliwa/nitpick/commit/90ced4cd2e308c4f0be2a284d7acff7bdf1a8448))
17+
- set CLI options with environment variables ([3575b9a](https://github.com/andreoliwa/nitpick/commit/3575b9a542281810c1ce980df50053ea1ec6a290))
18+
- **style:** add toml-sort ([#626](https://github.com/andreoliwa/nitpick/issues/626)) ([a4aeef7](https://github.com/andreoliwa/nitpick/commit/a4aeef7c9eaac86d6a33ddbd3b5735de11c065b0))
19+
- **style:** default Python version on pre-commit ([3557c1f](https://github.com/andreoliwa/nitpick/commit/3557c1f18d6be6886f0642e11333f1dff52ae9b7))
20+
- **style:** Poetry (virtualenv in project) ([f002b8b](https://github.com/andreoliwa/nitpick/commit/f002b8ba6fc79ed00d50426d70193bad4065db95))
21+
- 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))
22+
123
# [0.34.0](https://github.com/andreoliwa/nitpick/compare/v0.33.2...v0.34.0) (2023-08-19)
224

325
### Features

README.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -373,11 +373,11 @@ Run
373373
~~~
374374

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

378378
nitpick init
379379

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

382382
To fix and modify your files directly::
383383

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

400400
repos:
401401
- repo: https://github.com/andreoliwa/nitpick
402-
rev: v0.34.0
402+
rev: v0.35.0
403403
hooks:
404404
- id: nitpick
405405

@@ -425,7 +425,7 @@ If you use `MegaLinter <https://megalinter.github.io/>`_ you can run Nitpick as
425425
.. code-block:: yaml
426426
427427
PLUGINS:
428-
- https://raw.githubusercontent.com/andreoliwa/nitpick/v0.34.0/mega-linter-plugin-nitpick/nitpick.megalinter-descriptor.yml
428+
- https://raw.githubusercontent.com/andreoliwa/nitpick/v0.35.0/mega-linter-plugin-nitpick/nitpick.megalinter-descriptor.yml
429429
ENABLE_LINTERS:
430430
- NITPICK
431431

docs/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
author = "W. Augusto Andreoli"
2020

2121
# The short X.Y version
22-
version = "0.34.0"
22+
version = "0.35.0"
2323
# The full version, including alpha/beta/rc tags
2424
release = version
2525

docs/configuration.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,9 @@ GitHub URL scheme (``github://`` or ``gh://``) pinned to a specific version:
4949
.. code-block:: toml
5050
5151
[tool.nitpick]
52-
style = "github://andreoliwa/nitpick@v0.34.0/nitpick-style.toml"
52+
style = "github://andreoliwa/nitpick@v0.35.0/nitpick-style.toml"
5353
# or
54-
style = "gh://andreoliwa/nitpick@v0.34.0/nitpick-style.toml"
54+
style = "gh://andreoliwa/nitpick@v0.35.0/nitpick-style.toml"
5555
5656
The ``@`` syntax is used to get a Git reference (commit, tag, branch).
5757
It is similar to the syntax used by ``pip`` and ``pipx``:
@@ -78,14 +78,14 @@ A regular GitHub URL also works. The corresponding raw URL will be used.
7878
.. code-block:: toml
7979
8080
[tool.nitpick]
81-
style = "https://github.com/andreoliwa/nitpick/blob/v0.34.0/nitpick-style.toml"
81+
style = "https://github.com/andreoliwa/nitpick/blob/v0.35.0/nitpick-style.toml"
8282
8383
Or use the raw GitHub URL directly:
8484

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

docs/quickstart.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ If you use pre-commit_ on your project, add this to the ``.pre-commit-config.yam
6464
6565
repos:
6666
- repo: https://github.com/andreoliwa/nitpick
67-
rev: v0.34.0
67+
rev: v0.35.0
6868
hooks:
6969
- id: nitpick-suggest
7070
- id: nitpick
@@ -107,7 +107,7 @@ If you use `MegaLinter <https://megalinter.github.io/>`_ you can run Nitpick as
107107
.. code-block:: yaml
108108
109109
PLUGINS:
110-
- https://raw.githubusercontent.com/andreoliwa/nitpick/v0.34.0/mega-linter-plugin-nitpick/nitpick.megalinter-descriptor.yml
110+
- https://raw.githubusercontent.com/andreoliwa/nitpick/v0.35.0/mega-linter-plugin-nitpick/nitpick.megalinter-descriptor.yml
111111
ENABLE_LINTERS:
112112
- NITPICK
113113

mega-linter-plugin-nitpick/nitpick.megalinter-descriptor.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ linters:
1313
name: NITPICK
1414
install:
1515
dockerfile:
16-
- RUN pip install nitpick==0.34.0
16+
- RUN pip install nitpick==0.35.0
1717
examples:
1818
- "nitpick check"
1919
- "nitpick fix"

nitpick-style.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Default style file for nitpick
2-
# https://github.com/andreoliwa/nitpick/blob/v0.34.0/nitpick-style.toml
2+
# https://github.com/andreoliwa/nitpick/blob/v0.35.0/nitpick-style.toml
33
# Kept here for compatibility, if someone is still accessing the file via GitHub URL.
44
# This style just includes the built-in preset shipped with Nitpick.
55

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "nitpick",
3-
"version": "0.34.0",
3+
"version": "0.35.0",
44
"repository": {
55
"type": "git",
66
"url": "https://github.com/andreoliwa/nitpick.git"

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ license = "MIT"
3030
name = "nitpick"
3131
readme = "README.rst"
3232
repository = "https://github.com/andreoliwa/nitpick"
33-
version = "0.34.0"
33+
version = "0.35.0"
3434

3535
[tool.poetry.dependencies]
3636
attrs = ">=20.1.0" # attr.define introduced in this version

0 commit comments

Comments
 (0)