-
-
Notifications
You must be signed in to change notification settings - Fork 59
Expand file tree
/
Copy pathpyproject.toml
More file actions
23 lines (19 loc) · 658 Bytes
/
pyproject.toml
File metadata and controls
23 lines (19 loc) · 658 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
[project]
name = "custom-hook"
version = "0.1.0"
authors = [{name = "TODO", email = "TODO@TODO"},]
description = "A pre-commit hook created during the workshop."
readme = "README.md"
requires-python = ">=3.10"
dependencies = [] # TODO: declare any dependencies
# TODO: update `your-script-name` with the name of your choice
# TODO: update `pkg.module:function` to point to your function
scripts.your-script-name = "pkg.module:function"
[dependency-groups]
dev = [
"pre-commit", # so you can run hooks on the codebase
# "pytest", # remember to add tests for your hook
]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"