-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
67 lines (58 loc) · 1.4 KB
/
pyproject.toml
File metadata and controls
67 lines (58 loc) · 1.4 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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "gridfinity-invoke"
version = "0.1.0"
description = "Invoke tasks for generating Gridfinity storage components"
requires-python = ">=3.11"
license = "MIT"
authors = [
{ name = "Seth", email = "seth@example.com" }
]
dependencies = [
"invoke",
"colorama",
"cqgridfinity",
]
[project.optional-dependencies]
dev = [
"ruff",
"pytest",
"pytest-cov",
"pytest-bdd",
"pytest-html",
"mypy",
"pre-commit",
"pyrefly",
"prek",
]
[tool.hatch.build.targets.wheel]
packages = ["src/gridfinity_invoke"]
[tool.pytest.ini_options]
testpaths = ["tests"]
addopts = "--cov=src/gridfinity_invoke --cov-report=term-missing -p no:xdist"
markers = [
"serial: mark test to run serially (not in parallel)",
]
bdd_features_base_dir = "tests/features/"
[tool.ruff]
line-length = 88
target-version = "py311"
src = ["src", "tests"]
[tool.ruff.lint]
select = ["E", "F", "I"]
[tool.mypy]
python_version = "3.11"
strict = true
disallow_untyped_defs = true
mypy_path = "src"
packages = ["gridfinity_invoke"]
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = ["invoke", "invoke.*", "colorama", "pytest"]
ignore_missing_imports = true
[tool.pyrefly]
project_includes = ["src"]
python_version = "3.12"
ignore-missing-imports = ["cqgridfinity", "cqgridfinity.*", "invoke_collections", "invoke_collections.*"]