diff --git a/CHANGELOG.md b/CHANGELOG.md index 7d4ee887..a80dc3a9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,23 +1,21 @@ # [0.24.0](https://github.com/andreoliwa/nitpick/compare/v0.23.1...v0.24.0) (2021-02-23) - ### Bug Fixes -* check a YAML file with the text plugin ([#249](https://github.com/andreoliwa/nitpick/issues/249)) ([1821962](https://github.com/andreoliwa/nitpick/commit/1821962a2a1fce898d93a9e81a8663d9ae7c2aed)) -* override a remote style with "./your-local-style.toml" ([#295](https://github.com/andreoliwa/nitpick/issues/295)) ([fe5f085](https://github.com/andreoliwa/nitpick/commit/fe5f085ef5200111ce4f4a2288a84091a96438e2)) -* toml module now accepts keys beginning with dot (fix [#183](https://github.com/andreoliwa/nitpick/issues/183)) ([b086a24](https://github.com/andreoliwa/nitpick/commit/b086a24c5503c09e26ca429455bd4fea54cf01bb)) -* validate sections in comma_separated_values (fix [#227](https://github.com/andreoliwa/nitpick/issues/227)) ([f1be98f](https://github.com/andreoliwa/nitpick/commit/f1be98f985ebcfc7e402f22271b428452a2f140b)) - +- check a YAML file with the text plugin ([#249](https://github.com/andreoliwa/nitpick/issues/249)) ([1821962](https://github.com/andreoliwa/nitpick/commit/1821962a2a1fce898d93a9e81a8663d9ae7c2aed)) +- override a remote style with "./your-local-style.toml" ([#295](https://github.com/andreoliwa/nitpick/issues/295)) ([fe5f085](https://github.com/andreoliwa/nitpick/commit/fe5f085ef5200111ce4f4a2288a84091a96438e2)) +- toml module now accepts keys beginning with dot (fix [#183](https://github.com/andreoliwa/nitpick/issues/183)) ([b086a24](https://github.com/andreoliwa/nitpick/commit/b086a24c5503c09e26ca429455bd4fea54cf01bb)) +- validate sections in comma_separated_values (fix [#227](https://github.com/andreoliwa/nitpick/issues/227)) ([f1be98f](https://github.com/andreoliwa/nitpick/commit/f1be98f985ebcfc7e402f22271b428452a2f140b)) ### Features -* apply changes to pyproject.toml ([#287](https://github.com/andreoliwa/nitpick/issues/287)) ([4b79f81](https://github.com/andreoliwa/nitpick/commit/4b79f81f98430b749e7fa9ee5c192506d6ed5cf7)) -* apply changes to setup.cfg ([#288](https://github.com/andreoliwa/nitpick/issues/288)) ([f878630](https://github.com/andreoliwa/nitpick/commit/f87863066642cdab112d3145c488c9a780e7c98d)) -* **cli:** add 'ls' command to list configured files ([cfc031b](https://github.com/andreoliwa/nitpick/commit/cfc031bdf30105dec9a8952bfb9657aec939b3b6)) -* **cli:** add 'run' command to display violations ([a67bfa8](https://github.com/andreoliwa/nitpick/commit/a67bfa8bdaef2461853a237819cd35622c5935e9)) -* **cli:** filter only the desired files on ls/run commands ([#265](https://github.com/andreoliwa/nitpick/issues/265)) ([f5e4a9c](https://github.com/andreoliwa/nitpick/commit/f5e4a9c47583cd809941ca96ec2ffbdbf0c92c6f)) -* drop support for Python 3.5 ([#251](https://github.com/andreoliwa/nitpick/issues/251)) ([9f84a60](https://github.com/andreoliwa/nitpick/commit/9f84a608a4ca02e8a96ec8eaaf55e5cb207b35e3)), closes [#250](https://github.com/andreoliwa/nitpick/issues/250) -* experimental CLI interface (alpha version) ([#255](https://github.com/andreoliwa/nitpick/issues/255)) ([c9ca5dc](https://github.com/andreoliwa/nitpick/commit/c9ca5dc3cc4586b459e2c58fb2e61d80aa3f1e5d)) +- apply changes to pyproject.toml ([#287](https://github.com/andreoliwa/nitpick/issues/287)) ([4b79f81](https://github.com/andreoliwa/nitpick/commit/4b79f81f98430b749e7fa9ee5c192506d6ed5cf7)) +- apply changes to setup.cfg ([#288](https://github.com/andreoliwa/nitpick/issues/288)) ([f878630](https://github.com/andreoliwa/nitpick/commit/f87863066642cdab112d3145c488c9a780e7c98d)) +- **cli:** add 'ls' command to list configured files ([cfc031b](https://github.com/andreoliwa/nitpick/commit/cfc031bdf30105dec9a8952bfb9657aec939b3b6)) +- **cli:** add 'run' command to display violations ([a67bfa8](https://github.com/andreoliwa/nitpick/commit/a67bfa8bdaef2461853a237819cd35622c5935e9)) +- **cli:** filter only the desired files on ls/run commands ([#265](https://github.com/andreoliwa/nitpick/issues/265)) ([f5e4a9c](https://github.com/andreoliwa/nitpick/commit/f5e4a9c47583cd809941ca96ec2ffbdbf0c92c6f)) +- drop support for Python 3.5 ([#251](https://github.com/andreoliwa/nitpick/issues/251)) ([9f84a60](https://github.com/andreoliwa/nitpick/commit/9f84a608a4ca02e8a96ec8eaaf55e5cb207b35e3)), closes [#250](https://github.com/andreoliwa/nitpick/issues/250) +- experimental CLI interface (alpha version) ([#255](https://github.com/andreoliwa/nitpick/issues/255)) ([c9ca5dc](https://github.com/andreoliwa/nitpick/commit/c9ca5dc3cc4586b459e2c58fb2e61d80aa3f1e5d)) ## [0.23.1](https://github.com/andreoliwa/nitpick/compare/v0.23.0...v0.23.1) (2020-11-02) diff --git a/poetry.lock b/poetry.lock index 5f42374b..f3905e1c 100644 --- a/poetry.lock +++ b/poetry.lock @@ -588,7 +588,7 @@ python-versions = ">=3.5" [[package]] name = "pylint" -version = "2.7.0" +version = "2.7.1" description = "python code static checker" category = "main" optional = true @@ -1307,8 +1307,8 @@ pygments = [ {file = "Pygments-2.8.0.tar.gz", hash = "sha256:37a13ba168a02ac54cc5891a42b1caec333e59b66addb7fa633ea8a6d73445c0"}, ] pylint = [ - {file = "pylint-2.7.0-py3-none-any.whl", hash = "sha256:3ea3926700db399765db1faf53860f11e4e981a090646e9eacd01ca78e020579"}, - {file = "pylint-2.7.0.tar.gz", hash = "sha256:2e0c6749d809985e4f181c336a8f89b2b797340d8049160bf95f35a3f0ecf6fc"}, + {file = "pylint-2.7.1-py3-none-any.whl", hash = "sha256:a251b238db462b71d25948f940568bb5b3ae0e37dbaa05e10523f54f83e6cc7e"}, + {file = "pylint-2.7.1.tar.gz", hash = "sha256:81ce108f6342421169ea039ff1f528208c99d2e5a9c4ca95cfc5291be6dfd982"}, ] pyparsing = [ {file = "pyparsing-2.4.7-py2.py3-none-any.whl", hash = "sha256:ef9d7589ef3c200abe66653d3f1ab1033c3c419ae9b9bdb1240a85b024efc88b"}, diff --git a/setup.cfg b/setup.cfg index c0bf7c72..40018ef0 100644 --- a/setup.cfg +++ b/setup.cfg @@ -75,7 +75,7 @@ isolated_build = True envlist = clean,lint,py39,py38,py37,py36,docs,report [gh-actions] -python = +python = 3.9: py39 3.8: py38, clean, lint, docs, report 3.7: py37 @@ -85,12 +85,12 @@ python = description = Run tests with pytest and coverage deps = pytest-cov extras = test -depends = +depends = {py39,py38,py37,py36}: clean report: py39,py38,py37,py36 -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} @@ -105,13 +105,13 @@ commands = coverage erase description = Lint all files with pre-commit basepython = python3.8 platform = linux|darwin -extras = +extras = lint test -deps = +deps = pip>=19.2 safety -commands = +commands = flake8 --select=NIP pylint src/ safety check @@ -121,7 +121,7 @@ description = Coverage report platform = linux|darwin skip_install = true deps = coverage -commands = +commands = coverage report coverage html @@ -130,7 +130,7 @@ description = Build the HTML docs using Sphinx (sphinx-build, API docs, link che basepython = python3.8 platform = linux|darwin 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" @@ -139,7 +139,7 @@ commands = [coverage:run] branch = true parallel = true -omit = +omit = tests/* .tox/* relative_files = True @@ -153,7 +153,7 @@ precision = 2 skip_covered = true skip_empty = true sort = Cover -exclude_lines = +exclude_lines = pragma: no cover def __repr__ if self.debug: