-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
82 lines (73 loc) · 2.19 KB
/
pyproject.toml
File metadata and controls
82 lines (73 loc) · 2.19 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
[project]
name = "python-socketio-stubs"
version = "0.0.0"
description = "python-socketio stubs"
authors = [{ name = "phi", email = "phi.friday@gmail.com" }]
dependencies = ["python-socketio==5.16.1", "typing-extensions>=4.4.0"]
readme = "README.md"
license = "MIT"
license-files = ["LICENSE"]
requires-python = ">= 3.12"
classifiers = [
"Development Status :: 4 - Beta",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Programming Language :: Python :: 3.15",
"Programming Language :: Python :: Implementation :: CPython",
"Typing :: Stubs Only",
]
[project.urls]
Repository = "https://github.com/phi-friday/python-socketio-stubs"
[project.optional-dependencies]
mypy = ["mypy>=1.20.2"]
mypy-strict = ["mypy==1.20.2", "python-socketio-stubs[mypy]"]
[dependency-groups]
python-socketio-dependencies = [
"python-socketio[client,asyncio_client]>=5.16.0",
"msgpack-types>=0.5.0",
"eventlet>=0.40.2",
"tornado>=6.5.1",
"kombu>=5.5.4",
"kafka-python>=2.3.0",
"gevent>=25.5.1",
"sanic>=25.3.0",
"aio-pika>=9.5.5",
"redis>=7.1.0",
"valkey>=6.1.1",
]
test = [{ include-group = "python-socketio-dependencies" }, "pytest>=9.0.2"]
dev = [
{ include-group = "python-socketio-dependencies" },
"ruff==0.15.12",
"poethepoet>=0.45.0",
"python-socketio-stubs[mypy-strict]",
"pyrefly==0.63.1",
]
[tool.uv]
managed = true
default-groups = ["dev", "test"]
[tool.poe.tasks]
lint = ["_lint:check", "_lint:format"]
"_lint:check" = "ruff check src --fix"
"_lint:format" = "ruff format src"
mypy = "mypy src --strict"
pyrefly = "pyrefly check src .agents"
pyre.ref = "pyrefly"
check = ["lint", "mypy", "pyrefly"]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["src/socketio-stubs"]
[tool.hatch.build.targets.sdist]
include = ["src/socketio-stubs"]
[tool.mypy]
python_version = "3.12"
strict = true
disable_error_code = "import-untyped,overload-overlap,override"
disallow_subclassing_any = false
local_partial_types = true
ignore_missing_imports = true
mypy_path = "typings"