Skip to content

Commit

Permalink
chore(release): 0.17.0 [skip ci]
Browse files Browse the repository at this point in the history
# [0.17.0](v0.16.1...v0.17.0) (2019-08-08)

### Bug Fixes

* **setup.cfg:** silently ignore invalid sections to avoid exceptions ([79cb441](79cb441)), closes [#69](#69)

### Features

* highlight suggested changes with color ([f49f456](f49f456))
* **json:** check if a JSON file contains the specified JSON data ([47fa133](47fa133))
* **json:** check if a JSON file contains the specified keys ([0f8a53c](0f8a53c))
* **json:** suggest content when file doesn't exist ([502eb3d](502eb3d))
* **pre-commit:** add commitlint hook to the default recommended style ([61f467c](61f467c))
  • Loading branch information
semantic-release-bot committed Aug 8, 2019
1 parent 79cb441 commit ab5b072
Show file tree
Hide file tree
Showing 8 changed files with 26 additions and 10 deletions.
16 changes: 16 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
# [0.17.0](https://github.com/andreoliwa/nitpick/compare/v0.16.1...v0.17.0) (2019-08-08)


### Bug Fixes

* **setup.cfg:** silently ignore invalid sections to avoid exceptions ([79cb441](https://github.com/andreoliwa/nitpick/commit/79cb441)), closes [#69](https://github.com/andreoliwa/nitpick/issues/69)


### Features

* highlight suggested changes with color ([f49f456](https://github.com/andreoliwa/nitpick/commit/f49f456))
* **json:** check if a JSON file contains the specified JSON data ([47fa133](https://github.com/andreoliwa/nitpick/commit/47fa133))
* **json:** check if a JSON file contains the specified keys ([0f8a53c](https://github.com/andreoliwa/nitpick/commit/0f8a53c))
* **json:** suggest content when file doesn't exist ([502eb3d](https://github.com/andreoliwa/nitpick/commit/502eb3d))
* **pre-commit:** add commitlint hook to the default recommended style ([61f467c](https://github.com/andreoliwa/nitpick/commit/61f467c))

## [0.16.1](https://github.com/andreoliwa/nitpick/compare/v0.16.0...v0.16.1) (2019-06-19)


Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,15 +35,15 @@ To try the package, simply install it (in a virtualenv or globally, wherever) an
$ pip install -U nitpick
$ flake8

You will see warnings if your project configuration is different than [the default style file](https://raw.githubusercontent.com/andreoliwa/nitpick/0.16.1/nitpick-style.toml/nitpick-style.toml).
You will see warnings if your project configuration is different than [the default style file](https://raw.githubusercontent.com/andreoliwa/nitpick/0.17.0/nitpick-style.toml/nitpick-style.toml).

### As a pre-commit hook

If you use [pre-commit](https://pre-commit.com/) on your project, add this to the `.pre-commit-config.yaml` in your repository:

repos:
- repo: https://github.com/andreoliwa/nitpick
rev: v0.16.1
rev: v0.17.0
hooks:
# Run nitpick and several other flake8 plugins
- id: nitpick-all
Expand All @@ -60,7 +60,7 @@ To check all the other flake8 plugins that are installed with `nitpick`, see the
Change your project config on `pyproject.toml`, and configure your own style like this:

[tool.nitpick]
style = "https://raw.githubusercontent.com/andreoliwa/nitpick/0.16.1/nitpick-style.toml/nitpick-style.toml"
style = "https://raw.githubusercontent.com/andreoliwa/nitpick/0.17.0/nitpick-style.toml/nitpick-style.toml"

You can set `style` with any local file or URL. E.g.: you can use the raw URL of a [GitHub Gist](https://gist.github.com).

Expand All @@ -78,7 +78,7 @@ If a key is defined in more than one file, the value from the last file will pre

2. Any `nitpick-style.toml` file found in the current directory (the one in which `flake8` runs from) or above.

3. If no style is found, then [the default style file from GitHub](https://raw.githubusercontent.com/andreoliwa/nitpick/0.16.1/nitpick-style.toml/nitpick-style.toml) is used.
3. If no style is found, then [the default style file from GitHub](https://raw.githubusercontent.com/andreoliwa/nitpick/0.17.0/nitpick-style.toml/nitpick-style.toml) is used.

### Style file syntax

Expand Down
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
author = "W. Augusto Andreoli"

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

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://raw.githubusercontent.com/andreoliwa/nitpick/0.16.1/nitpick-style.toml/nitpick-style.toml
# https://raw.githubusercontent.com/andreoliwa/nitpick/0.17.0/nitpick-style.toml/nitpick-style.toml

[nitpick]
minimum_version = "0.10.0"
Expand Down
2 changes: 1 addition & 1 deletion nitpick/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
"""Main module."""

__version__ = "0.16.1"
__version__ = "0.17.0"
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.16.1",
"version": "0.17.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.16.1"
version = "0.17.0"
description = "Flake8 plugin to enforce the same lint configuration (flake8, isort, mypy, pylint) across multiple Python projects"
authors = ["W. Augusto Andreoli <andreoliwa@gmail.com>"]
license = "MIT"
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[bumpversion]
current_version = 0.16.1
current_version = 0.17.0
commit = False
tag = False

Expand Down

0 comments on commit ab5b072

Please sign in to comment.