diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 6a225f4..e4609d9 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -17,3 +17,11 @@ repos: - id: check-merge-conflict - id: end-of-file-fixer - id: trailing-whitespace +- repo: local + hooks: + - id: run-tests + name: Run tests + entry: python3 -m unittest + language: system + pass_filenames: false + stages: [commit] diff --git a/test_processing.py b/test_processing.py new file mode 100644 index 0000000..a458e34 --- /dev/null +++ b/test_processing.py @@ -0,0 +1,5 @@ +import unittest + +class RealityTests(unittest.TestCase): + def assert_mathworks(self, tags): + self.assertEqual(2 + 1, 3)