diff --git a/.gitignore b/.gitignore index 123a6ee..4a59e5b 100644 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,4 @@ venv/** dist/** updatable.egg-info/** /.coverage +/.vscode diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml new file mode 100644 index 0000000..1adb6db --- /dev/null +++ b/.pre-commit-config.yaml @@ -0,0 +1,15 @@ +# See https://pre-commit.com for more information +# See https://pre-commit.com/hooks.html for more hooks +repos: +- repo: https://github.com/pre-commit/pre-commit-hooks + rev: v2.4.0 + hooks: + - id: check-docstring-first + - id: trailing-whitespace + - id: end-of-file-fixer + - id: check-yaml + - id: check-added-large-files +- repo: https://github.com/nezhar/pylama-pre-commit + rev: master + hooks: + - id: pylama diff --git a/CHANGELOG.md b/CHANGELOG.md index cce2f4b..25cd921 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,9 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [0.5.0 - Unreleased] + + ## [0.4.0] ### Added @@ -49,9 +52,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Added - Initial Release +[0.5.0 - Unreleased]: https://github.com/nezhar/updatable [0.4.0]: https://pypi.org/project/updatable/0.4.0/ [0.3.1]: https://pypi.org/project/updatable/0.3.1/ -[0.3.0]: https://pypi.org/project/updatable/0.3.0/ +[0.3.0]: https://pypi.org/project/updatable/0.3.0/ [0.2.0]: https://pypi.org/project/updatable/0.2.0/ [0.1.5]: https://pypi.org/project/updatable/0.1.5/ [0.1.4]: https://pypi.org/project/updatable/0.1.4/ diff --git a/README.rst b/README.rst index 44e81be..9d4b822 100644 --- a/README.rst +++ b/README.rst @@ -95,3 +95,17 @@ Prints: urllib3 (1.25.6) Patch releases: -- 1.25.7 on 2019-11-11 15:10:09 + + +Development +~~~~~~~~~~~ + +Add pre-commit package: +:: + + pip install pre-commit + +Install pre-commit hook: +:: + + pre-commit install diff --git a/updatable/__version__.py b/updatable/__version__.py index b0ace8b..588460d 100644 --- a/updatable/__version__.py +++ b/updatable/__version__.py @@ -1,2 +1,2 @@ # -*- coding: utf-8 -*- -__version__ = "0.4.0" +__version__ = "0.5.0"