From 58ca530686bc3a37996c9b3715e10a59aaa795f7 Mon Sep 17 00:00:00 2001 From: Gideon Shaked Date: Sat, 10 Jul 2021 11:51:45 -0400 Subject: [PATCH] Add trailing newlines --- .bumpversion.cfg | 2 +- .pre-commit-config.yaml | 3 +++ README.md | 2 +- src/server/install.sh | 2 +- 4 files changed, 6 insertions(+), 3 deletions(-) diff --git a/.bumpversion.cfg b/.bumpversion.cfg index 21e3242..7436439 100644 --- a/.bumpversion.cfg +++ b/.bumpversion.cfg @@ -6,4 +6,4 @@ sign_tags = True [bumpversion:file:src/server/setup.py] -[bumpversion:file:src/server/server/__init__.py] \ No newline at end of file +[bumpversion:file:src/server/server/__init__.py] diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index f285f92..3bd7b3b 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -18,6 +18,9 @@ repos: - id: check-executables-have-shebangs - id: check-toml - id: check-yaml + - id: end-of-file-fixer + - id: mixed-line-ending + - id: trailing-whitespace - repo: https://github.com/codespell-project/codespell rev: v2.1.0 hooks: diff --git a/README.md b/README.md index f9a65f8..5bd0e55 100644 --- a/README.md +++ b/README.md @@ -77,4 +77,4 @@ As a last resort, try restarting it: ```shell sudo systemctl restart palms.service -``` \ No newline at end of file +``` diff --git a/src/server/install.sh b/src/server/install.sh index 0e8cbe6..d70c743 100755 --- a/src/server/install.sh +++ b/src/server/install.sh @@ -66,4 +66,4 @@ main() { rm_server_dir } -main \ No newline at end of file +main