From 0353ac0b3fcf3f440dca1f511ae90575a6609c40 Mon Sep 17 00:00:00 2001 From: ireaml Date: Wed, 13 Sep 2023 10:29:03 +0200 Subject: [PATCH] cleanup --- .pre-commit-config.yaml | 10 ++++++++++ .vscode/settings.json | 13 ------------- 2 files changed, 10 insertions(+), 13 deletions(-) create mode 100644 .pre-commit-config.yaml delete mode 100644 .vscode/settings.json diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml new file mode 100644 index 0000000..fd16ba2 --- /dev/null +++ b/.pre-commit-config.yaml @@ -0,0 +1,10 @@ +# 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: v3.2.0 + hooks: + - id: trailing-whitespace + - id: end-of-file-fixer + - id: check-yaml + - id: check-added-large-files diff --git a/.vscode/settings.json b/.vscode/settings.json deleted file mode 100644 index 2428947..0000000 --- a/.vscode/settings.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "python.testing.unittestArgs": [ - "-v", - "-s", - "./tests", - "-p", - "*test*.py" - ], - "python.testing.pytestEnabled": false, - "python.testing.unittestEnabled": true, - "python.linting.flake8Enabled": true, - "python.linting.enabled": true -} \ No newline at end of file