Add pre-commit hooks

pull/3/head
Frazer McLean 4 years ago
parent db38d55890
commit fe6fc5f345
  1. 13
      .pre-commit-config.yaml
  2. 4
      CHANGELOG.md

@ -0,0 +1,13 @@
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v2.0.0
hooks:
- id: trailing-whitespace
args: [--markdown-linebreak-ext=md]
- id: end-of-file-fixer
- id: check-yaml
- repo: https://gitlab.com/pycqa/flake8
rev: 3.7.5
hooks:
- id: flake8
additional_dependencies: [pep8-naming]

@ -13,7 +13,7 @@
or uppercase letters.
- The local version was only being converted to lowercase when parsing with
`strict=False`. It is now always converted.
- The local version separators were not being normalized to use `.`.
- The local version separators were not being normalized to use `.`.
## [0.2.1][] - 2018-12-31
### Fixed
@ -33,7 +33,7 @@
### Fixed
- Deprecation warnings about invalid escape sequences in `_parse.py`.
[CalVer]: (https://calver.org)
## [0.1.1][] - 2018-06-19

Loading…
Cancel
Save