-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
98 lines (86 loc) · 2.25 KB
/
Copy pathpyproject.toml
File metadata and controls
98 lines (86 loc) · 2.25 KB
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
[build-system]
requires = ["setuptools>=77.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "rohlik-api"
dynamic = ["version"]
description = "Async Python client for the Rohlik.cz API"
readme = "README.md"
requires-python = ">=3.13"
license = "MIT"
license-files = ["LICENSE"]
authors = [
{name = "Daniel Vejsada", email = "dan.vejsada@gmail.com"}
]
keywords = ["rohlik", "api", "client", "grocery", "async"]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Framework :: AsyncIO",
"Topic :: Software Development :: Libraries :: Python Modules",
"Typing :: Typed",
]
dependencies = [
"aiohttp>=3.10",
]
[project.optional-dependencies]
dev = [
"pytest>=8.0.0",
"pytest-cov>=5.0.0",
"pytest-asyncio>=0.24.0",
"black>=24.0.0",
"ruff>=0.6.0",
"mypy>=1.11.0",
]
[project.urls]
Homepage = "https://github.com/dvejsada/rohlik_api_python"
Repository = "https://github.com/dvejsada/rohlik_api_python"
Issues = "https://github.com/dvejsada/rohlik_api_python/issues"
[tool.setuptools.packages.find]
include = ["rohlik_api*"]
[tool.setuptools.dynamic]
version = {attr = "rohlik_api.__version__"}
[tool.setuptools.package-data]
rohlik_api = ["py.typed"]
[tool.black]
line-length = 100
target-version = ["py313"]
[tool.ruff]
line-length = 100
target-version = "py313"
[tool.ruff.lint]
select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # pyflakes
"I", # isort
"B", # flake8-bugbear
"C4", # flake8-comprehensions
"UP", # pyupgrade
]
ignore = []
[tool.ruff.lint.per-file-ignores]
"__init__.py" = ["F401"]
[tool.mypy]
python_version = "3.13"
warn_return_any = true
warn_unused_configs = true
disallow_untyped_defs = true
disallow_incomplete_defs = true
# Strict typing is enforced for the package; tests are excluded.
exclude = ["^tests/"]
[tool.pytest.ini_options]
testpaths = ["tests"]
python_files = ["test_*.py"]
python_classes = ["Test*"]
python_functions = ["test_*"]
asyncio_mode = "auto"
addopts = [
"--strict-markers",
"--strict-config",
"-ra",
]