-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
65 lines (56 loc) · 1.51 KB
/
pyproject.toml
File metadata and controls
65 lines (56 loc) · 1.51 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
[build-system]
requires = ["setuptools>=68"]
build-backend = "setuptools.build_meta"
[project]
name = "slicer-uri-bridge"
version = "0.1.3"
description = "Register slicer URI handlers and bridge slicer links to your favorite slicer app."
readme = "README.md"
requires-python = ">=3.11"
license = { text = "MIT" }
authors = [
{ name = "Slicer URI Bridge contributors" }
]
keywords = ["uri-handler", "slicer", "bambu-studio", "cura", "prusaslicer", "orcaslicer"]
classifiers = [
"Programming Language :: Python :: 3",
"Operating System :: Microsoft :: Windows",
"Operating System :: MacOS",
"Operating System :: POSIX :: Linux",
]
[project.scripts]
slicer-uri-bridge = "slicer_uri_bridge.cli:main"
[tool.setuptools.packages.find]
where = ["src"]
[tool.setuptools.package-data]
slicer_uri_bridge = ["resources/default_config.toml", "resources/macos-launcher.applescript"]
[tool.ruff]
line-length = 120
[tool.ruff.lint]
select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # pyflakes
"I", # isort
"UP", # pyupgrade
"B", # flake8-bugbear
"C4", # flake8-comprehensions
"SIM", # flake8-simplify
]
ignore = [
"SIM102", # nested if statements
"SIM108", # use ternary operator
"SIM117", # nested with statements
]
[project.optional-dependencies]
dev = [
"mypy>=2.1.0",
"ruff>=0.15.15",
]
[tool.mypy]
python_version = "3.11"
check_untyped_defs = true
warn_redundant_casts = true
warn_unused_ignores = true
warn_return_any = true
files = ["src", "tests"]