diff --git a/CHANGELOG.md b/CHANGELOG.md index a655de81..261d0a83 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,10 @@ +## [0.23.1](https://github.com/andreoliwa/nitpick/compare/v0.23.0...v0.23.1) (2020-11-02) + + +### Bug Fixes + +* upgrade toml to 0.10.2 (fixes [#200](https://github.com/andreoliwa/nitpick/issues/200)) ([3331e76](https://github.com/andreoliwa/nitpick/commit/3331e7621ccece6c2fb04aa0f50b802fd0a3367c)) + # [0.23.0](https://github.com/andreoliwa/nitpick/compare/v0.22.2...v0.23.0) (2020-09-18) diff --git a/README.md b/README.md index 3d0fd79d..36835a56 100644 --- a/README.md +++ b/README.md @@ -60,7 +60,7 @@ To try the package, simply install it (in a virtualenv or globally) and run `fla $ flake8 . -Nitpick will download and use the opinionated [default style file](https://raw.githubusercontent.com/andreoliwa/nitpick/v0.23.0/nitpick-style.toml). +Nitpick will download and use the opinionated [default style file](https://raw.githubusercontent.com/andreoliwa/nitpick/v0.23.1/nitpick-style.toml). You can use it as a template to configure your own style. @@ -70,7 +70,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.23.0 + rev: v0.23.1 hooks: - id: nitpick diff --git a/docs/conf.py b/docs/conf.py index 7f366f34..c5ce685a 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -18,7 +18,7 @@ author = "W. Augusto Andreoli" # The short X.Y version -version = "0.23.0" +version = "0.23.1" # The full version, including alpha/beta/rc tags release = version diff --git a/docs/installation_guide.rst b/docs/installation_guide.rst index e86f2fc0..1cd4102b 100644 --- a/docs/installation_guide.rst +++ b/docs/installation_guide.rst @@ -35,7 +35,7 @@ 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.23.0 + rev: v0.23.1 hooks: - id: nitpick diff --git a/docs/targets.rst b/docs/targets.rst index 743ec6e9..1b06aad0 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.23.0/nitpick-style.toml +.. _default style file: https://raw.githubusercontent.com/andreoliwa/nitpick/v0.23.1/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 a8eba704..e72d038c 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.23.0/nitpick-style.toml +# https://raw.githubusercontent.com/andreoliwa/nitpick/v0.23.1/nitpick-style.toml [nitpick] minimum_version = "0.10.0" diff --git a/package.json b/package.json index f4e7b620..4e4f4e26 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "nitpick", - "version": "0.23.0", + "version": "0.23.1", "repository": { "type": "git", "url": "https://github.com/andreoliwa/nitpick.git" diff --git a/pyproject.toml b/pyproject.toml index ad2c57e1..5cf69ad3 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -7,7 +7,7 @@ line-length = 120 [tool.poetry] name = "nitpick" -version = "0.23.0" +version = "0.23.1" 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 ce513a01..ba06c30a 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,5 +1,5 @@ [bumpversion] -current_version = 0.23.0 +current_version = 0.23.1 commit = False tag = False @@ -66,7 +66,7 @@ norecursedirs = .* build dist CVS _darcs {arch} *.egg venv var docs [tox:tox] isolated_build = True -requires = +requires = tox-travis tox-venv tox-pyenv @@ -76,12 +76,12 @@ envlist = clean,lint,py39,py38,py37,py36,py35,report description = Run tests with pytest and coverage deps = pytest-cov extras = test -depends = +depends = {py39,py38,py37,py36,py35}: clean report: py39,py38,py37,py36,py35 -setenv = +setenv = PY_IGNORE_IMPORTMISMATCH = 1 -commands = +commands = python -m pip --version python -m pytest --cov-config=setup.cfg --cov --cov-append --cov-report=term-missing --doctest-modules {posargs:-vv} @@ -95,13 +95,13 @@ commands = coverage erase description = Lint all files with pre-commit basepython = python3.7 platform = linux|darwin -extras = +extras = lint test -deps = +deps = pre-commit safety -commands = +commands = pre-commit run --all-files safety check @@ -109,14 +109,14 @@ commands = description = Coverage report skip_install = true deps = coverage -commands = +commands = coverage report coverage html [coverage:run] branch = true parallel = true -omit = +omit = tests/* .tox/* /home/travis/virtualenv/* @@ -135,12 +135,12 @@ sort = Cover description = Build the HTML docs using Sphinx (sphinx-build, API docs, link checks) basepython = python3.7 extras = doc -commands = +commands = sphinx-apidoc --force --module-first --separate --implicit-namespaces --output-dir docs/source src/nitpick/ python3 docs/generate_rst.py - + sphinx-build --color -b linkcheck docs "{toxworkdir}/docs_out" - + sphinx-build -d "{toxworkdir}/docs_doctree" --color -b html docs "{toxworkdir}/docs_out" {posargs} [bandit] diff --git a/src/nitpick/__init__.py b/src/nitpick/__init__.py index 792031b1..12324130 100644 --- a/src/nitpick/__init__.py +++ b/src/nitpick/__init__.py @@ -1,2 +1,2 @@ """Main module.""" -__version__ = "0.23.0" +__version__ = "0.23.1"