-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
86 lines (73 loc) · 1.82 KB
/
Copy pathpyproject.toml
File metadata and controls
86 lines (73 loc) · 1.82 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
[build-system]
requires = ["setuptools>=46.4"]
build-backend = "setuptools.build_meta"
[project]
name = "ewoksdraw"
version = "0.0.1"
authors = [{ name = "ESRF", email = "dau-pydev@esrf.fr" }]
description = "Render Ewoks workflows as SVG"
readme = { file = "README.md", content-type = "text/markdown" }
license = { file = "LICENSE.md" }
classifiers = [
"Intended Audience :: Science/Research",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
]
requires-python = ">=3.10"
dependencies = [
"defusedxml",
"ewokscore<5",
"reportlab",
"typing-extensions; python_version < '3.11'",
"xmltodict",
]
[project.urls]
Homepage = "https://github.com/ewoks-kit/ewoksdraw/"
Documentation = "https://ewoksdraw.readthedocs.io/"
Repository = "https://github.com/ewoks-kit/ewoksdraw/"
Issues = "https://github.com/ewoks-kit/ewoksdraw/issues/"
Changelog = "https://github.com/ewoks-kit/ewoksdraw/-/blob/main/CHANGELOG.md"
[project.optional-dependencies]
test = [
"pytest >=7",
]
dev = [
"pytest >=7",
"ruff>=0.16.0",
"mypy",
]
doc = [
"sphinx >=4.5",
"sphinx-autodoc-typehints >=1.16",
"pydata-sphinx-theme",
]
[tool.setuptools]
package-dir = { "" = "src" }
[tool.setuptools.package-data]
ewoksdraw = ["**/*.css", "**/*.json"]
[tool.setuptools.packages.find]
where = ["src"]
[tool.coverage.run]
omit = ["*/tests/*"]
[tool.ruff]
src = ["."]
line-length = 88
[tool.ruff.lint]
select = [
"E", # pycodestyle errors
"F", # pyflakes
"I", # isort
"S", # flake8-bandit
]
[tool.ruff.lint.per-file-ignores]
"src/ewoksdraw/tests/*.py" = [
"S101" # allow asserts
]
[tool.ruff.lint.isort]
force-single-line = true
known-first-party = ["ewoksdraw"]
[tool.mypy]
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = "setuptools.*"
ignore_missing_imports = true