Skip to content

Commit

Permalink
build: v0.2.0 (with conventional-changelog and bumpversion)
Browse files Browse the repository at this point in the history
  • Loading branch information
andreoliwa committed Dec 23, 2018
1 parent 4a1d221 commit bc8a8a8
Show file tree
Hide file tree
Showing 4 changed files with 46 additions and 17 deletions.
25 changes: 25 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
<a name="0.2.0"></a>
# [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))



<a name="0.1.1"></a>
## [0.1.1](https://github.com/andreoliwa/flake8-nitpick/compare/v0.1.0...v0.1.1) (2018-03-23)

README badges.

<a name="0.1.0"></a>
# 0.1.0 (2018-03-23)

First release.
4 changes: 1 addition & 3 deletions flake8_nitpick/__version__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,2 @@
"""Package version."""
VERSION = (0, 1, 1)

__version__ = ".".join(map(str, VERSION))
__version__ = "0.2.0"
8 changes: 8 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"name": "flake8-nitpick",
"version": "0.2.0",
"repository": {
"type": "git",
"url": "https://github.com/andreoliwa/flake8-nitpick.git"
}
}
26 changes: 12 additions & 14 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -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]
Expand All @@ -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

0 comments on commit bc8a8a8

Please sign in to comment.