summaryrefslogtreecommitdiff
path: root/src/hatch_django_collectstatic/hooks.py
diff options
context:
space:
mode:
authorCharles Roelli <charles@adnoto.net>2026-02-05 16:10:03 +0100
committerCharles Roelli <charles@adnoto.net>2026-02-05 16:10:03 +0100
commit4c12b29ef228c2cf5d5fd0b5964060935907d987 (patch)
treeb2e55722e4f2e9b87ce03a8d4b7a8a2a13c8ff07 /src/hatch_django_collectstatic/hooks.py
Version 0.0.2
Diffstat (limited to 'src/hatch_django_collectstatic/hooks.py')
-rw-r--r--src/hatch_django_collectstatic/hooks.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/hatch_django_collectstatic/hooks.py b/src/hatch_django_collectstatic/hooks.py
new file mode 100644
index 0000000..e36006e
--- /dev/null
+++ b/src/hatch_django_collectstatic/hooks.py
@@ -0,0 +1,8 @@
+from hatchling.plugin import hookimpl
+
+from .plugin import DjangoCollectstaticBuildHook
+
+
+@hookimpl
+def hatch_register_build_hook():
+ return DjangoCollectstaticBuildHook