Add pre-commit hooks

See https://pre-commit.com/ for more information.
This commit is contained in:
Hugo Locurcio 2018-12-03 20:20:35 +01:00
parent 6c3b3edfcc
commit f8d93a8ebb
No known key found for this signature in database
GPG Key ID: 39E8F8BE30B0A49C
2 changed files with 7 additions and 1 deletions

6
.pre-commit-config.yaml Normal file
View File

@ -0,0 +1,6 @@
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v2.0.0
hooks:
- id: end-of-file-fixer
- id: mixed-line-ending
- id: trailing-whitespace

View File

@ -158,4 +158,4 @@ d. Nothing in this Public License constitutes or may be interpreted as a limitat
Creative Commons is not a party to its public licenses. Notwithstanding, Creative Commons may elect to apply one of its public licenses to material it publishes and in those instances will be considered the “Licensor.” Except for the limited purpose of indicating that material is shared under a Creative Commons public license or as otherwise permitted by the Creative Commons policies published at [creativecommons.org/policies](http://creativecommons.org/policies), Creative Commons does not authorize the use of the trademark “Creative Commons” or any other trademark or logo of Creative Commons without its prior written consent including, without limitation, in connection with any unauthorized modifications to any of its public licenses or any other arrangements, understandings, or agreements concerning use of licensed material. For the avoidance of doubt, this paragraph does not form part of the public licenses.
Creative Commons may be contacted at creativecommons.org
```
```