-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Expand file tree
/
Copy pathhatch.toml
More file actions
40 lines (34 loc) · 3.34 KB
/
hatch.toml
File metadata and controls
40 lines (34 loc) · 3.34 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# Root-level hatch.toml - warns users to run from core/ directory
# The actual hatch configuration is in core/hatch.toml
[envs.default]
skip-install = true
dependencies = []
[envs.default.scripts]
setup = "echo '⚠️ Error: hatch must be run from the core/ directory, not the repo root.\n\nRun:\n cd core && hatch run setup' && exit 1"
dev-req = "echo '⚠️ Error: hatch must be run from the core/ directory, not the repo root.\n\nRun:\n cd core && hatch run dev-req' && exit 1"
code-quality = "echo '⚠️ Error: hatch must be run from the core/ directory, not the repo root.\n\nRun:\n cd core && hatch run code-quality' && exit 1"
lint = "echo '⚠️ Error: hatch must be run from the core/ directory, not the repo root.\n\nRun:\n cd core && hatch run lint' && exit 1"
flake8 = "echo '⚠️ Error: hatch must be run from the core/ directory, not the repo root.\n\nRun:\n cd core && hatch run flake8' && exit 1"
mypy = "echo '⚠️ Error: hatch must be run from the core/ directory, not the repo root.\n\nRun:\n cd core && hatch run mypy' && exit 1"
black = "echo '⚠️ Error: hatch must be run from the core/ directory, not the repo root.\n\nRun:\n cd core && hatch run black' && exit 1"
unit-tests = "echo '⚠️ Error: hatch must be run from the core/ directory, not the repo root.\n\nRun:\n cd core && hatch run unit-tests' && exit 1"
integration-tests = "echo '⚠️ Error: hatch must be run from the core/ directory, not the repo root.\n\nRun:\n cd core && hatch run integration-tests' && exit 1"
integration-tests-fail-fast = "echo '⚠️ Error: hatch must be run from the core/ directory, not the repo root.\n\nRun:\n cd core && hatch run integration-tests-fail-fast' && exit 1"
test = "echo '⚠️ Error: hatch must be run from the core/ directory, not the repo root.\n\nRun:\n cd core && hatch run test' && exit 1"
setup-db = "echo '⚠️ Error: hatch must be run from the core/ directory, not the repo root.\n\nRun:\n cd core && hatch run setup-db' && exit 1"
clean = "echo '⚠️ Error: hatch must be run from the core/ directory, not the repo root.\n\nRun:\n cd core && hatch run clean' && exit 1"
json-schema = "echo '⚠️ Error: hatch must be run from the core/ directory, not the repo root.\n\nRun:\n cd core && hatch run json-schema' && exit 1"
[envs.build]
skip-install = true
dependencies = []
[envs.build.scripts]
check-all = "echo '⚠️ Error: hatch must be run from the core/ directory, not the repo root.\n\nRun:\n cd core && hatch run build:check-all' && exit 1"
check-wheel = "echo '⚠️ Error: hatch must be run from the core/ directory, not the repo root.\n\nRun:\n cd core && hatch run build:check-wheel' && exit 1"
check-sdist = "echo '⚠️ Error: hatch must be run from the core/ directory, not the repo root.\n\nRun:\n cd core && hatch run build:check-sdist' && exit 1"
[envs.ci]
skip-install = true
dependencies = []
[envs.ci.scripts]
unit-tests = "echo '⚠️ Error: hatch must be run from the core/ directory, not the repo root.\n\nRun:\n cd core && hatch run ci:unit-tests' && exit 1"
code-quality = "echo '⚠️ Error: hatch must be run from the core/ directory, not the repo root.\n\nRun:\n cd core && hatch run ci:code-quality' && exit 1"
integration-tests = "echo '⚠️ Error: hatch must be run from the core/ directory, not the repo root.\n\nRun:\n cd core && hatch run ci:integration-tests' && exit 1"