From 1be4b81ccece8f3ab17d9baf7d41771f79606760 Mon Sep 17 00:00:00 2001 From: semantic-release-bot Date: Thu, 31 Oct 2019 23:12:23 +0000 Subject: [PATCH] chore(release): 0.21.2 [skip ci] ## [0.21.2](https://github.com/andreoliwa/nitpick/compare/v0.21.1...v0.21.2) (2019-10-31) ### Bug Fixes * infinite loop when climbing directories on Windows ([9915c74](https://github.com/andreoliwa/nitpick/commit/9915c74d52ab10d34b88733abb12958779e00ba8)), closes [#108](https://github.com/andreoliwa/nitpick/issues/108) --- CHANGELOG.md | 7 +++++++ README.md | 4 ++-- docs/conf.py | 2 +- docs/installation_guide.rst | 2 +- docs/targets.rst | 2 +- nitpick-style.toml | 2 +- package.json | 2 +- pyproject.toml | 2 +- setup.cfg | 2 +- setup.py | 4 ++-- src/nitpick/__init__.py | 2 +- 11 files changed, 19 insertions(+), 12 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ca263013..6129104c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,10 @@ +## [0.21.2](https://github.com/andreoliwa/nitpick/compare/v0.21.1...v0.21.2) (2019-10-31) + + +### Bug Fixes + +* infinite loop when climbing directories on Windows ([9915c74](https://github.com/andreoliwa/nitpick/commit/9915c74d52ab10d34b88733abb12958779e00ba8)), closes [#108](https://github.com/andreoliwa/nitpick/issues/108) + ## [0.21.1](https://github.com/andreoliwa/nitpick/compare/v0.21.0...v0.21.1) (2019-09-23) diff --git a/README.md b/README.md index 3b96551b..ed62fdd4 100644 --- a/README.md +++ b/README.md @@ -55,7 +55,7 @@ To try the package, simply install it (in a virtualenv or globally, wherever) an $ pip install -U nitpick $ flake8 -Nitpick will download and use the opinionated [default style file](https://raw.githubusercontent.com/andreoliwa/nitpick/v0.21.1/nitpick-style.toml). +Nitpick will download and use the opinionated [default style file](https://raw.githubusercontent.com/andreoliwa/nitpick/v0.21.2/nitpick-style.toml). You can use it as a template to configure your own style. @@ -65,7 +65,7 @@ If you use [pre-commit](https://pre-commit.com/) on your project (you should), a repos: - repo: https://github.com/andreoliwa/nitpick - rev: v0.21.1 + rev: v0.21.2 hooks: - id: nitpick diff --git a/docs/conf.py b/docs/conf.py index 28a4d07f..8d9f1ea4 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -18,7 +18,7 @@ author = "W. Augusto Andreoli" # The short X.Y version -version = "0.21.1" +version = "0.21.2" # The full version, including alpha/beta/rc tags release = version diff --git a/docs/installation_guide.rst b/docs/installation_guide.rst index 4246fb3f..7444031c 100644 --- a/docs/installation_guide.rst +++ b/docs/installation_guide.rst @@ -28,6 +28,6 @@ If you use pre-commit_ on your project (you should), add this to the ``.pre-comm repos: - repo: https://github.com/andreoliwa/nitpick - rev: v0.21.1 + rev: v0.21.2 hooks: - id: nitpick diff --git a/docs/targets.rst b/docs/targets.rst index aa9e2eef..46a77b1d 100644 --- a/docs/targets.rst +++ b/docs/targets.rst @@ -1,5 +1,5 @@ .. _nitpick-style.toml: -.. _default style file: https://raw.githubusercontent.com/andreoliwa/nitpick/v0.21.1/nitpick-style.toml +.. _default style file: https://raw.githubusercontent.com/andreoliwa/nitpick/v0.21.2/nitpick-style.toml .. _black: https://github.com/psf/black .. _Django: https://www.djangoproject.com diff --git a/nitpick-style.toml b/nitpick-style.toml index e4e8a095..14aaf3b8 100644 --- a/nitpick-style.toml +++ b/nitpick-style.toml @@ -1,5 +1,5 @@ # Default style file for nitpick -# https://raw.githubusercontent.com/andreoliwa/nitpick/v0.21.1/nitpick-style.toml +# https://raw.githubusercontent.com/andreoliwa/nitpick/v0.21.2/nitpick-style.toml [nitpick] minimum_version = "0.10.0" diff --git a/package.json b/package.json index 675f49bf..d84487f7 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "nitpick", - "version": "0.21.1", + "version": "0.21.2", "repository": { "type": "git", "url": "https://github.com/andreoliwa/nitpick.git" diff --git a/pyproject.toml b/pyproject.toml index 16a069c3..06cadb10 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -7,7 +7,7 @@ line-length = 120 [tool.poetry] name = "nitpick" -version = "0.21.1" +version = "0.21.2" description = "Flake8 plugin to enforce the same lint configuration (flake8, isort, mypy, pylint) across multiple Python projects" authors = ["W. Augusto Andreoli "] license = "MIT" diff --git a/setup.cfg b/setup.cfg index b8f5116b..a129254d 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,5 +1,5 @@ [bumpversion] -current_version = 0.21.1 +current_version = 0.21.2 commit = False tag = False diff --git a/setup.py b/setup.py index 79da55fc..04e84b39 100644 --- a/setup.py +++ b/setup.py @@ -37,9 +37,9 @@ setup_kwargs = { "name": "nitpick", - "version": "0.21.1", + "version": "0.21.2", "description": "Flake8 plugin to enforce the same lint configuration (flake8, isort, mypy, pylint) across multiple Python projects", - "long_description": '# Nitpick\n\n[![PyPI](https://img.shields.io/pypi/v/nitpick.svg)](https://pypi.org/project/nitpick)\n[![Travis CI](https://api.travis-ci.com/andreoliwa/nitpick.svg)](https://travis-ci.com/andreoliwa/nitpick)\n[![Documentation Status](https://readthedocs.org/projects/nitpick/badge/?version=latest)](https://nitpick.rtfd.io/en/latest/?badge=latest)\n[![Coveralls](https://coveralls.io/repos/github/andreoliwa/nitpick/badge.svg)](https://coveralls.io/github/andreoliwa/nitpick)\n[![Maintainability](https://api.codeclimate.com/v1/badges/61e0cdc48e24e76a0460/maintainability)](https://codeclimate.com/github/andreoliwa/nitpick)\n[![Test Coverage](https://api.codeclimate.com/v1/badges/61e0cdc48e24e76a0460/test_coverage)](https://codeclimate.com/github/andreoliwa/nitpick)\n[![Supported Python versions](https://img.shields.io/pypi/pyversions/nitpick.svg)](https://pypi.org/project/nitpick/)\n[![Project License](https://img.shields.io/pypi/l/nitpick.svg)](https://pypi.org/project/nitpick/)\n[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)\n[![Dependabot Status](https://api.dependabot.com/badges/status?host=github&repo=andreoliwa/nitpick)](https://dependabot.com)\n[![semantic-release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg)](https://github.com/semantic-release/semantic-release)\n\nFlake8 plugin to enforce the same tool configuration ([flake8](https://gitlab.com/pycqa/flake8), [isort](https://github.com/timothycrosley/isort), [mypy](http://mypy-lang.org/), [Pylint](https://www.pylint.org)...) across multiple Python projects.\n\nUseful if you maintain multiple projects and want to use the same configs in all of them.\n\n## Style file\n\nA "nitpick code style" is a [TOML](https://github.com/toml-lang/toml) file with the settings that should be present in config files from other tools.\n\nExample of a style:\n\n```\n["pyproject.toml".tool.black]\nline-length = 120\n\n["pyproject.toml".tool.poetry.dev-dependencies]\npylint = "*"\n\n["setup.cfg".flake8]\nignore = "D107,D202,D203,D401"\nmax-line-length = 120\ninline-quotes = "double"\n\n["setup.cfg".isort]\nline_length = 120\nmulti_line_output = 3\ninclude_trailing_comma = true\nforce_grid_wrap = 0\ncombine_as_imports = true\n```\n\nThis style will assert that:\n\n- ... [black](https://github.com/psf/black), [isort](https://github.com/timothycrosley/isort) and [flake8](https://gitlab.com/pycqa/flake8) have a line length of 120;\n- ... [flake8](https://gitlab.com/pycqa/flake8) and [isort](https://github.com/timothycrosley/isort) are configured as above in `setup.cfg`;\n- ... [Pylint](https://www.pylint.org) is present as a [Poetry](https://github.com/sdispater/poetry/) dev dependency in `pyproject.toml`).\n\n## Quick setup\n\nTo try the package, simply install it (in a virtualenv or globally, wherever) and run `flake8`:\n\n $ pip install -U nitpick\n $ flake8\n\nNitpick will download and use the opinionated [default style file](https://raw.githubusercontent.com/andreoliwa/nitpick/v0.21.1/nitpick-style.toml).\n\nYou can use it as a template to configure your own style.\n\n### Run as a pre-commit hook (recommended)\n\nIf you use [pre-commit](https://pre-commit.com/) on your project (you should), add this to the `.pre-commit-config.yaml` in your repository:\n\n repos:\n - repo: https://github.com/andreoliwa/nitpick\n rev: v0.21.1\n hooks:\n - id: nitpick\n\n---\n\nFor more details on styles and which configuration files are currently supported, [see the full documentation](https://nitpick.rtfd.io/).\n', + "long_description": '# Nitpick\n\n[![PyPI](https://img.shields.io/pypi/v/nitpick.svg)](https://pypi.org/project/nitpick)\n[![Travis CI](https://api.travis-ci.com/andreoliwa/nitpick.svg)](https://travis-ci.com/andreoliwa/nitpick)\n[![Documentation Status](https://readthedocs.org/projects/nitpick/badge/?version=latest)](https://nitpick.rtfd.io/en/latest/?badge=latest)\n[![Coveralls](https://coveralls.io/repos/github/andreoliwa/nitpick/badge.svg)](https://coveralls.io/github/andreoliwa/nitpick)\n[![Maintainability](https://api.codeclimate.com/v1/badges/61e0cdc48e24e76a0460/maintainability)](https://codeclimate.com/github/andreoliwa/nitpick)\n[![Test Coverage](https://api.codeclimate.com/v1/badges/61e0cdc48e24e76a0460/test_coverage)](https://codeclimate.com/github/andreoliwa/nitpick)\n[![Supported Python versions](https://img.shields.io/pypi/pyversions/nitpick.svg)](https://pypi.org/project/nitpick/)\n[![Project License](https://img.shields.io/pypi/l/nitpick.svg)](https://pypi.org/project/nitpick/)\n[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)\n[![Dependabot Status](https://api.dependabot.com/badges/status?host=github&repo=andreoliwa/nitpick)](https://dependabot.com)\n[![semantic-release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg)](https://github.com/semantic-release/semantic-release)\n\nFlake8 plugin to enforce the same tool configuration ([flake8](https://gitlab.com/pycqa/flake8), [isort](https://github.com/timothycrosley/isort), [mypy](http://mypy-lang.org/), [Pylint](https://www.pylint.org)...) across multiple Python projects.\n\nUseful if you maintain multiple projects and want to use the same configs in all of them.\n\n## Style file\n\nA "nitpick code style" is a [TOML](https://github.com/toml-lang/toml) file with the settings that should be present in config files from other tools.\n\nExample of a style:\n\n```\n["pyproject.toml".tool.black]\nline-length = 120\n\n["pyproject.toml".tool.poetry.dev-dependencies]\npylint = "*"\n\n["setup.cfg".flake8]\nignore = "D107,D202,D203,D401"\nmax-line-length = 120\ninline-quotes = "double"\n\n["setup.cfg".isort]\nline_length = 120\nmulti_line_output = 3\ninclude_trailing_comma = true\nforce_grid_wrap = 0\ncombine_as_imports = true\n```\n\nThis style will assert that:\n\n- ... [black](https://github.com/psf/black), [isort](https://github.com/timothycrosley/isort) and [flake8](https://gitlab.com/pycqa/flake8) have a line length of 120;\n- ... [flake8](https://gitlab.com/pycqa/flake8) and [isort](https://github.com/timothycrosley/isort) are configured as above in `setup.cfg`;\n- ... [Pylint](https://www.pylint.org) is present as a [Poetry](https://github.com/sdispater/poetry/) dev dependency in `pyproject.toml`).\n\n## Quick setup\n\nTo try the package, simply install it (in a virtualenv or globally, wherever) and run `flake8`:\n\n $ pip install -U nitpick\n $ flake8\n\nNitpick will download and use the opinionated [default style file](https://raw.githubusercontent.com/andreoliwa/nitpick/v0.21.2/nitpick-style.toml).\n\nYou can use it as a template to configure your own style.\n\n### Run as a pre-commit hook (recommended)\n\nIf you use [pre-commit](https://pre-commit.com/) on your project (you should), add this to the `.pre-commit-config.yaml` in your repository:\n\n repos:\n - repo: https://github.com/andreoliwa/nitpick\n rev: v0.21.2\n hooks:\n - id: nitpick\n\n---\n\nFor more details on styles and which configuration files are currently supported, [see the full documentation](https://nitpick.rtfd.io/).\n', "author": "W. Augusto Andreoli", "author_email": "andreoliwa@gmail.com", "url": "https://github.com/andreoliwa/nitpick", diff --git a/src/nitpick/__init__.py b/src/nitpick/__init__.py index 13f4d7ba..0fb5c255 100644 --- a/src/nitpick/__init__.py +++ b/src/nitpick/__init__.py @@ -1,6 +1,6 @@ """Main module.""" from nitpick.app import Nitpick -__version__ = "0.21.1" +__version__ = "0.21.2" Nitpick.create_app()