-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
115 lines (101 loc) · 2.33 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
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
[build-system]
requires = ["setuptools"]
build-backend = "setuptools.build_meta"
[project]
name = "numerous"
readme = "README.md"
version = "0.29.8"
classifiers = ["Programming Language :: Python :: 3"]
dependencies = [
"typing-extensions>=4.12.2",
"ariadne-codegen[subscriptions]>=0.14.0",
"plotly>4",
]
[project.optional-dependencies]
dev = [
"pre-commit",
"pytest==8.3.2",
"pytest-asyncio==0.24.0",
"ruff==0.6.4",
"mypy==1.11.2",
"coverage==7.6.1",
"twine==5.1.1",
"marimo==0.8.14",
"pydantic==2.9",
"types-setuptools>=74.1.0",
"build==1.2.2",
"mkdocs==1.6.0",
"mkdocstrings==0.26.2",
"mkdocstrings-python==1.12.2",
"mkdocs_snippet_plugin==1.0.2",
# for testing functionality related to frameworks
"flask",
"fastapi",
"marimo",
"streamlit",
"dash",
"panel",
]
[project.scripts]
numerous = "numerous.cli:main"
[tool.setuptools.packages.find]
where = ["python/src"]
[tool.ruff]
src = ["python/src"]
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.isort]
lines-after-imports = 2
[tool.ruff.lint.flake8-pytest-style]
# defaults changes in 0.6.0 which gives some issues
fixture-parentheses = false
mark-parentheses = false
[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]
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''',
]