-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
97 lines (85 loc) · 1.94 KB
/
pyproject.toml
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"]
build-backend = "setuptools.build_meta"
[project]
name = "numerous"
readme = "README.md"
version = "0.10.3"
classifiers = ["Programming Language :: Python :: 3"]
dependencies = [
"typing-extensions==4.9.0",
"ariadne-codegen[subscriptions]==0.12.0",
"plotly>4",
"packaging==24.0",
]
[project.optional-dependencies]
dev = [
"pre-commit",
"pytest==8.0.2",
"pytest-asyncio==0.23.5",
"ruff",
"mypy==1.8.0",
"coverage==7.4.0",
"twine==5.0.0",
"marimo==0.3.12",
"pydantic==2.7",
"types-setuptools>=69.5.0",
"build==1.2.1",
]
[project.scripts]
numerous = "numerous.cli:main"
[tool.setuptools.packages.find]
where = ["python/src"]
[tool.ruff]
exclude = [
"./python/src/numerous/generated/",
"./setup.py",
"./python/docs",
"./examples",
"./internal/**",
"./cmd/**",
"./testdata/**",
]
[tool.ruff.lint]
select = ["ALL"]
ignore = [
"ANN101",
"D101",
"D103",
"D107",
"D203",
"D211",
"D212",
"FA100",
"FA102",
"ISC001",
"COM812",
]
[tool.ruff.lint.extend-per-file-ignores]
"python/tests/**" = ["INP001", "S101", "D100", "D103"]
[tool.ariadne-codegen]
schema_path = "../shared/schema.gql"
queries_path = "queries.gql"
target_package_name = "graphql"
target_package_path = "src/numerous/generated"
[tool.mypy]
exclude = ["build", "setup.py", ".*venv.*", "examples"]
ignore_missing_imports = true
[tool.semantic_release]
branch = "main"
commit_parser = "angular"
version_toml = ["pyproject.toml:project.version"]
template_dir = "templates"
[tool.semantic_release.remote.token]
env = "GH_TOKEN"
[tool.semantic_release.changelog]
exclude_commit_patterns = [
'''chore(?:\([^)]*?\))?: .+''',
'''ci(?:\([^)]*?\))?: .+''',
'''refactor(?:\([^)]*?\))?: .+''',
'''style(?:\([^)]*?\))?: .+''',
'''test(?:\([^)]*?\))?: .+''',
'''build\((?!deps\): .+)''',
'''Merged? .*''',
'''initial commit''',
]