-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
50 lines (43 loc) · 856 Bytes
/
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
[project]
name = "rgb-logseq"
version = "0.1.0"
description = "Default template for PDM package"
authors = [
{name = "Brian Wisti", email = "[email protected]"},
]
requires-python = "==3.11.*"
readme = "README.md"
license = {text = "MIT"}
[tool.mypy]
python_version = "3.12"
files = [
"src/",
"tests/conftest.py",
]
disallow_any_generics = true
disallow_subclassing_any = false
disallow_untyped_calls = true
extra_checks = true
no_implicit_reexport = true
strict_equality = true
warn_redundant_casts = true
warn_return_any = true
warn_unused_ignores = true
[tool.pdm]
distribution = false
[tool.pdm.dev-dependencies]
lint = [
"pre-commit>=3.7.1",
]
[tool.pdm.scripts]
lint = "pre-commit run --all-files"
[tool.pytest.ini_options]
pythonpath = "src"
[tool.ruff.lint]
# C901: McCabe complexity
select = [
"E",
"F",
"C90",
"I"
]