-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
101 lines (91 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
98
99
100
101
[tool.poetry]
name = "freak"
version = "0.0.1"
description = "Remote application state control"
authors = ["Daniel Gafni <[email protected]>"]
readme = "README.md"
license = "MIT"
repository = "https://github.com/danielgafni/freak"
keywords = ["state", "control", "remote", "application"]
classifiers = [
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Utilities",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
]
[tool.poetry.dependencies]
python = "^3.8"
fastapi = "*"
uvicorn = "*"
[tool.poetry.group.dev.dependencies]
pytest = "^7.2.2"
httpx = "^0.23.3"
black = "^23.1.0"
pre-commit = "^3.2.1"
pyright = "^1.1.300"
ruff = "^0.1.4"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.poetry-dynamic-versioning]
enable = true
strict = false
vcs = "git"
style = "pep440"
dirty = true
bump = true
metadata = false
[tool.poetry-dynamic-versioning.substitution]
files = [
"pyproject.toml",
"freak/_version.py"
]
[tool.pytest.ini_options]
addopts = "--doctest-modules"
log_cli = true
log_level = "INFO"
[tool.ruff]
extend-select = ["I"]
target-version = "py38"
line-length = 120
src = [
"freak",
"tests",
"examples",
]
exclude = [
".bzr",
".direnv",
".eggs",
".git",
".hg",
".mypy_cache",
".pyright_cache",
".ruff_cache",
".nox",
".pants.d",
".ruff_cache",
".svn",
".tox",
".venv",
"__pypackages__",
"_build",
"buck-out",
"build",
"dist",
"node_modules",
"venv",
]
[tool.ruff.isort]
known-first-party = ["freak", "tests"]
[tool.pyright]
reportPropertyTypeMismatch = true
reportImportCycles = true
reportWildcardImportFromLibrary = true
reportUntypedFunctionDecorator = true
reportUntypedClassDecorator = true
exclude = [
"examples/lightning_callback.py"
]