-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
107 lines (99 loc) · 1.81 KB
/
Copy pathpyproject.toml
File metadata and controls
107 lines (99 loc) · 1.81 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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
[project]
name = "nuketesting"
version = "0.1.0"
description = "Library for testing plugins and gizmos for the compositing software Nuke."
authors = [
{ name = "Gilles Vink", email = "gilles@vinkvfx.com" },
{ name = "Lukas Wieg", email = "" }
]
dependencies = [
"click>=8.1.7",
"pytest>=7.4.4",
]
readme = "README.md"
requires-python = ">=3.8"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project.scripts]
nuke-testrunner = "nuketesting.__main__:main"
[dependency-groups]
dev = [
"build>=0.10.0",
"hatch>=1.7.0",
"pytest-cov>=4.0.0",
"pytest-html>=3.2.0",
"pre-commit",
]
doc = [
"sphinx",
"sphinx-autoapi",
"myst-parser",
"furo",
"sphinx-copybutton",
]
[tool.hatch.metadata]
allow-direct-references = true
[tool.hatch.build.targets.wheel]
packages = ["src/nuketesting"]
[tool.pytest.ini_options]
addopts = "--capture=tee-sys"
markers = [
"slow: marks tests as slow (deselect with '-m \"not slow\"')",
"nuke: marks tests which require nuke (deselect with '-m \"not nuke\"')",
"serial",
]
pythonpath = [
"src"
]
[tool.isort]
profile = "black"
[tool.ruff]
line-length = 120
target-version = "py37"
show-fixes = true
[tool.ruff.lint]
select = [
"A",
"B",
"BLE",
"C4",
"EM",
"ERA",
"F",
"FA",
"FIX",
"G",
"I",
"ICN",
"INP",
"ISC",
"N",
"NPY",
"PERF",
"PGH",
"PIE",
"PL",
"PT",
"PTH",
"PYI",
"Q",
"RET",
"RSE",
"RUF",
"SIM",
"SLF",
"SLOT",
"T20",
"TCH",
"TD",
"TID",
"UP",
"W",
"YTT",
]
ignore = [
"TD003", # Missing issue link on the line following this TODO.
"FIX001", # Line contains FIXME, consider resolving the issue.
"FIX002", # Line contains TODO, consider resolving the issue.
]