diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml new file mode 100644 index 0000000..806dfb9 --- /dev/null +++ b/.pre-commit-config.yaml @@ -0,0 +1,10 @@ +# - your tests are in a folder called tests +- repo: local + hooks: + - id: pytest + name: pytest + entry: ./.venv/bin/pytest tests + language: system + types: [python] + pass_filenames: false + always_run: true \ No newline at end of file diff --git a/tests.py b/tests/tests.py similarity index 100% rename from tests.py rename to tests/tests.py