This repository was archived by the owner on Dec 15, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
98 lines (85 loc) · 2.07 KB
/
pyproject.toml
File metadata and controls
98 lines (85 loc) · 2.07 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
[build-system]
requires = ["setuptools", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "disguise-designer-d3blobgen"
version = "0.1.0"
description = "Blob generation helper for d3 python plugin"
readme = "README.md"
requires-python = ">=3.11"
dependencies = [
"aiohttp>=3.12.15",
"pydantic>=2.11.7",
"requests>=2.32.5",
]
[project.optional-dependencies]
test = [
"pytest>=7.0.0",
]
[tool.setuptools.packages.find]
where = ["src"]
[tool.setuptools.package-dir]
"" = "src"
[tool.setuptools.package-data]
d3blobgen = ["py.typed", "scripts/d3.pyi"]
[dependency-groups]
dev = [
"mypy>=1.18.2",
"pytest-asyncio>=1.1.0",
"ruff>=0.14.3",
"types-requests>=2.32.4.20250913",
]
[tool.mypy]
python_version = "3.11"
warn_return_any = true
warn_unused_configs = true
disallow_untyped_defs = false
disallow_incomplete_defs = false
check_untyped_defs = true
no_implicit_optional = true
warn_redundant_casts = true
warn_unused_ignores = true
warn_no_return = true
strict_equality = true
files = ["src/d3blobgen", "tests"]
exclude = [
"src/d3blobgen/scripts/",
]
[[tool.mypy.overrides]]
module = "d3blobgen.scripts.*"
ignore_errors = true
[tool.ruff]
line-length = 100
target-version = "py311"
exclude = [
"examples/",
"build/",
"dist/",
"src/d3blobgen/scripts/",
"tests/test_find_packages.py",
]
[tool.ruff.lint]
select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # pyflakes
"I", # isort
"B", # flake8-bugbear
"C4", # flake8-comprehensions
"UP", # pyupgrade
]
ignore = [
"E501", # line too long (handled by formatter)
]
[tool.ruff.lint.per-file-ignores]
"tests/*" = [
"F401", # unused imports (tests may have intentional imports)
"F403", # star imports
"F405", # may be undefined from star imports
"UP035", # deprecated typing imports (intentional for testing)
]
"src/d3blobgen/scripts/*" = ["ALL"] # Ignore all rules for d3 stub files
"src/main.py" = ["F403", "F405"] # Demo file with star imports
[tool.ruff.format]
quote-style = "double"
indent-style = "space"