-
Notifications
You must be signed in to change notification settings - Fork 8
/
hatch.toml
40 lines (38 loc) · 726 Bytes
/
hatch.toml
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
[envs.default]
dependencies = [
"coverage[toml]>=6.2",
"pytest",
"pytest-cov",
"pytest-mock",
"tomli"
]
[envs.default.scripts]
cov = "pytest --cov-report=term-missing --cov-config=pyproject.toml --cov=hatch_conda --cov=tests"
no-cov = "cov --no-cov"
[envs.lint]
skip-install = true
dependencies = [
"flake8>=4.0.1",
"flake8-bugbear>=22.3.23",
"flake8-quotes>=3.3.1",
"Flake8-pyproject>=1.2.3",
"black>=22.3.0",
"isort>=5.10.1",
"mypy>=0.942",
]
[envs.lint.scripts]
typing = "mypy hatch_conda tests --install-types --non-interactive"
style = [
"flake8 .",
"black --check --diff .",
"isort --check-only --diff .",
]
fmt = [
"isort .",
"black .",
"style",
]
all = [
"style",
"typing",
]