-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
65 lines (56 loc) · 1.51 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
[build-system]
requires = ["setuptools"]
build-backend = "setuptools.build_meta"
[project]
name = "tursopy"
version = "v0.0.0"
authors = [
{ name="Maurice Künicke", email="[email protected]" },
]
description = "Fully type-hinted Turso Platform API wrapper for Python. "
readme = "README.md"
requires-python = ">=3.8"
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
]
dependencies = [
"requests"
]
[project.urls]
Homepage = "https://github.com/MauriceKuenicke/tursopy"
Issues = "https://github.com/MauriceKuenicke/tursopy/issues"
[tool.ruff]
line-length = 120
[tool.ruff.lint]
select = ["D", "I", "PL", "RUF", "F", "W"]
ignore = ["D200", "D212", "D203", "D104", "D100", "D103", "PLR2004", "D205", "D415", "D400", "D401",
"W191", "PLR0913", "PLR0915", "RUF100", "D206"]
fixable = ["I001", "W292"]
[tool.ruff.lint.per-file-ignores]
"__init__.py" = ["F401"]
"test_*" = ["D102", "D101"]
[tool.mypy]
python_version = "3.11"
warn_return_any = true
warn_unused_configs = true
exclude = [
'^file1\.py$', # TOML literal string (single-quotes, no escaping necessary)
]
strict = true
ignore_missing_imports = true
implicit_reexport = true
[tool.coverage.run]
source = ['tursopy']
omit = ['*/__init__.py', '/tests/*']
[tool.coverage.report]
exclude_also = [
"def test_",
"if self.debug",
"if settings.DEBUG",
"raise AssertionError",
"if 0:",
"if __name__ == .__main__.:",
"if TYPE_CHECKING:",
]