From f8d93a8ebba07a40b3cc11a0991bac2c000d5bf2 Mon Sep 17 00:00:00 2001 From: Hugo Locurcio Date: Mon, 3 Dec 2018 20:20:35 +0100 Subject: [PATCH] Add pre-commit hooks See https://pre-commit.com/ for more information. --- .pre-commit-config.yaml | 6 ++++++ LICENSE.md | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 .pre-commit-config.yaml diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml new file mode 100644 index 0000000..a87c913 --- /dev/null +++ b/.pre-commit-config.yaml @@ -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 diff --git a/LICENSE.md b/LICENSE.md index 1dec0b0..e655c68 100644 --- a/LICENSE.md +++ b/LICENSE.md @@ -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 -``` \ No newline at end of file +```