diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 00000000..65128f3a --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,25 @@ + +# [0.2.0](https://github.com/andreoliwa/flake8-nitpick/compare/v0.1.1...v0.2.0) (2018-12-23) + + +### Features + +* Check missing key/value pairs in pyproject.toml ([190aa6c](https://github.com/andreoliwa/flake8-nitpick/commit/190aa6c)) +* Compare setup.cfg configuration ([2bf144a](https://github.com/andreoliwa/flake8-nitpick/commit/2bf144a)) +* First warning, only on the main Python file ([0b30506](https://github.com/andreoliwa/flake8-nitpick/commit/0b30506)) +* Read config from pyproject.toml, cache data, run only on one Python file ([265daa5](https://github.com/andreoliwa/flake8-nitpick/commit/265daa5)) +* Read style from TOML file/URL (or climb directory tree) ([84f19d6](https://github.com/andreoliwa/flake8-nitpick/commit/84f19d6)) +* Respect the files section on nitpick.toml ([9e36a02](https://github.com/andreoliwa/flake8-nitpick/commit/9e36a02)) +* Use nitpick's own default style file if none is provided ([4701b86](https://github.com/andreoliwa/flake8-nitpick/commit/4701b86)) + + + + +## [0.1.1](https://github.com/andreoliwa/flake8-nitpick/compare/v0.1.0...v0.1.1) (2018-03-23) + +README badges. + + +# 0.1.0 (2018-03-23) + +First release. diff --git a/flake8_nitpick/__version__.py b/flake8_nitpick/__version__.py index 345684d9..dc6f9137 100644 --- a/flake8_nitpick/__version__.py +++ b/flake8_nitpick/__version__.py @@ -1,4 +1,2 @@ """Package version.""" -VERSION = (0, 1, 1) - -__version__ = ".".join(map(str, VERSION)) +__version__ = "0.2.0" diff --git a/package.json b/package.json new file mode 100644 index 00000000..2a2f7f42 --- /dev/null +++ b/package.json @@ -0,0 +1,8 @@ +{ + "name": "flake8-nitpick", + "version": "0.2.0", + "repository": { + "type": "git", + "url": "https://github.com/andreoliwa/flake8-nitpick.git" + } +} diff --git a/setup.cfg b/setup.cfg index 110bd60d..2aede9b6 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,12 +1,18 @@ +[bumpversion] +current_version = 0.2.0 + +[bumpversion:file:flake8_nitpick/__version__.py] +search = __version__ = "{current_version}" +replace = __version__ = "{new_version}" + +[bumpversion:file:package.json] +search = "version": "{current_version}", +replace = "version": "{new_version}", + [flake8] -# http://www.pydocstyle.org/en/2.1.1/error_codes.html ignore = D107,D401,D202,D203,E203,E402,E501,W503 max-line-length = 120 exclude = docs - -# Uncomment this to analyze and refactor complex code. -# Turning this on now will already raise warnings on our code. -# See https://github.com/PyCQA/mccabe max-complexity = 10 [isort] @@ -19,18 +25,10 @@ combine_as_imports = True [mypy] python_version = 3.6 - ignore_missing_imports = True - -# do not follow imports (except for ones found in typeshed) follow_imports = skip - -# treat Optional per PEP 484 strict_optional = True - -# ensure all execution paths are returning warn_no_return = True - -# lint-style cleanliness for typing warn_redundant_casts = True warn_unused_ignores = True +