-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
135 lines (121 loc) · 2.63 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
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
[project]
name = "synclane"
dynamic = ["version"]
description = "framework-agnostic RPC API with a smart auto-generated TypeScript client"
authors = [
{email = "[email protected]", name = "Nikita Almakov"},
]
maintainers = [
{email = "[email protected]", name = "Nikita Almakov"},
]
license = "MIT"
readme = "docs/README.md"
requires-python = ">=3.7"
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Software Development :: Code Generators",
"Topic :: Software Development :: Libraries",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Utilities",
]
dependencies = [
'pydantic >= 2',
]
[project.optional-dependencies]
test = ["pytest", "pytest-cov", "pytest-benchmark"]
lint = [
"black",
"flake8",
"isort",
"mypy",
"pylint",
]
build = [
"hatch",
]
doc = [
"markdown-include",
"mdx-truly-sane-lists",
"mkdocs",
"mkdocs-exclude",
"mkdocs-material",
"pygments",
"pymdown-extensions",
]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.version]
path = "src/synclane/__init__.py"
[tool.hatch.build.sources]
"src/synclane" = "synclane"
[tool.hatch.build.targets.sdist]
include = ["/src"]
[tool.black]
line-length = 79
target-version = ['py39']
[tool.isort]
atomic = true
force_grid_wrap = 0
include_trailing_comma = true
indent = ' '
known_first_party = 'convtools'
line_length = 79
lines_after_imports = 2
lines_between_types = 0
multi_line_output = 3
order_by_type = true
use_parentheses = true
src_paths = ["src", "tests"]
[tool.pytest.ini_options]
minversion = "6.0"
addopts = "--cov synclane --cov-report term-missing --cov-report xml --verbose"
testpaths = [
"tests",
]
[tool.ruff]
line-length = 80
indent-width = 4
target-version = "py39"
exclude = ["tests"]
[tool.ruff.lint]
select = [
"A001",
"A002",
"B",
"D",
"D100", "D101", "D102", "D103", "D104",
"E",
"F",
"PL",
"SIM",
# "ANN",
# "RUF",
]
ignore = [
"ANN101",
"ANN102",
"B904",
"E501",
"PLR0911",
"PLR0912",
"PLR0913",
"PLR0915",
"PLR2004",
"SIM105",
]
unfixable = ["B"]
[tool.ruff.lint.pydocstyle]
convention = "google"