-
Notifications
You must be signed in to change notification settings - Fork 36
Expand file tree
/
Copy pathpyproject.toml
More file actions
103 lines (92 loc) · 2.15 KB
/
pyproject.toml
File metadata and controls
103 lines (92 loc) · 2.15 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
[build-system]
requires = [
"setuptools>=42",
"wheel",
]
build-backend = "setuptools.build_meta"
[project]
name = "zxlive"
version = "0.3.1"
description = "An interactive tool for the ZX-calculus"
readme = "README.md"
requires-python = ">=3.9"
license = { file = "LICENSE" }
authors = [
{ name = "ZXLive contributors" },
{ email = "john@vdwetering.name" }
]
classifiers = [
"License :: OSI Approved :: Apache Software License",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Topic :: Scientific/Engineering"
]
dependencies = [
"PySide6 >= 6.7.2",
"pyzx @ git+https://github.com/zxcalc/pyzx.git",
"networkx",
"numpy",
"shapely",
"pyperclip",
"imageio",
"packaging",
"matplotlib>=3.3",
]
[project.optional-dependencies]
test = [
"mypy",
"ruff",
"pytest-qt",
"complexipy",
]
doc = [
"sphinx>=9.1.0",
"sphinx_autodoc_typehints>=3.9.5",
"sphinx_rtd_theme>=3.1.0",
"sphinxcontrib-svg2pdfconverter>=2.0.0",
"myst-parser>=5.0.0"
]
[project.urls]
Homepage = "https://github.com/zxcalc/zxlive"
Repository = "https://github.com/zxcalc/zxlive"
Issue-Tracker = "https://github.com/zxcalc/zxlive/issues"
[tool.setuptools]
packages = [
"zxlive"
]
[project.gui-scripts]
zxlive = "zxlive.app:main"
[tool.pyright]
reportWildcardImportFromLibrary = "none"
[tool.ruff]
line-length = 120
[tool.ruff.lint]
select = [
"E", # pycodestyle
"F", # Pyflakes
# "UP", # pyupgrade
# "B", # flake8-bugbear
# "SIM", # flake8-simplify
# "I", # isort
]
ignore = [
"E501",
"E721", # False positive: triggers on .type() method calls, not just type() builtin
]
[tool.ruff.lint.per-file-ignores]
"test/*" = ["F401"]
[tool.ruff.lint.isort]
combine-as-imports = true
[tool.mypy]
python_version = "3.11"
warn_return_any = true
warn_unused_configs = true
disallow_untyped_defs = true
disable_error_code = [
"import",
]