]> git.sondrewold.no Git - reference_transformer.git/commitdiff
Add config files
authorSondre Wold <[email protected]>
Mon, 17 Jun 2024 11:43:34 +0000 (13:43 +0200)
committerSondre Wold <[email protected]>
Mon, 17 Jun 2024 11:43:34 +0000 (13:43 +0200)
reference_transformer/.pre-commit-config.yaml [new file with mode: 0644]
reference_transformer/pyproject.toml

diff --git a/reference_transformer/.pre-commit-config.yaml b/reference_transformer/.pre-commit-config.yaml
new file mode 100644 (file)
index 0000000..eabc05c
--- /dev/null
@@ -0,0 +1,6 @@
+repos:
+-   repo: https://github.com/psf/black
+    rev: 24.4.2
+    hooks:
+    - id: black
+      language_version: python3.12
index 288577b334d7017917e141f246bac2a2d3943588..7acc369f23f9024b2ee2679bfb5e7d2152fc12ef 100644 (file)
@@ -9,6 +9,8 @@ readme = "README.md"
 python = "^3.12"
 torch = "^2.3.1"
 numpy = "^2.0.0"
+pytest = "^8.2.2"
+pre-commit = "^3.7.1"
 
 
 [build-system]