-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
59 lines (51 loc) · 1.4 KB
/
pyproject.toml
File metadata and controls
59 lines (51 loc) · 1.4 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
[project]
name = "mellophone-valve"
version = "3.2.0"
description = "Python-клиент для Mellophone"
readme = "README.md"
requires-python = ">=3.7"
dependencies = []
[project.optional-dependencies]
httpx = [
"httpx>=0.23.0,<0.24.0; python_version < '3.8'",
"httpx>=0.28.1; python_version >= '3.8'",
]
requests = [
"requests>=2.31.0,<2.32.0; python_version < '3.9'",
"requests>=2.32.2; python_version >= '3.9'"
]
[dependency-groups]
dev = [
"httpx>=0.28.1; python_version >= '3.8'",
"pre-commit>=4.3.0; python_version >= '3.13'",
"pytest>=9.0.2; python_version >= '3.13'",
"pyyaml>=6.0.3; python_version >= '3.13'",
"requests>=2.32.0; python_version >= '3.13'",
"ruff>=0.15.1; python_version >= '3.13'",
]
[build-system]
requires = ["setuptools>=68", "wheel"]
build-backend = "setuptools.build_meta"
[tool.ruff]
target-version = "py37"
line-length = 120
[tool.ruff.lint]
select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # pyflakes
"I", # isort
"B", # flake8-bugbear
"C4", # flake8-comprehensions
"UP", # pyupgrade
"ARG001", # unused arguments in functions
"T201", # print statements are not allowed
]
ignore = []
[tool.ruff.lint.pyupgrade]
# Preserve types, even if a file imports `from __future__ import annotations`.
keep-runtime-typing = true
[tool.setuptools]
packages = ["mellophone"]
[tool.setuptools.package-dir]
mellophone = "src/mellophone"