Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
106 lines (97 loc) · 2.81 KB
/
Copy pathpyproject.toml
File metadata and controls
106 lines (97 loc) · 2.81 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
99
100
101
102
103
104
105
106
[build-system]
requires = ["setuptools", "setuptools-scm>=8.1"]
build-backend = "setuptools.build_meta"
[project]
name = "looptime"
description = "Fast-forward asyncio event loop time (in tests)"
keywords = ["asyncio", "event loop", "time", "python", "pytest"]
authors = [{name = "Sergey Vasilyev", email = "nolar@nolar.info"}]
maintainers = [{name = "Sergey Vasilyev", email = "nolar@nolar.info"}]
license = "MIT"
readme = "README.md"
classifiers = [
"Intended Audience :: Developers",
"Operating System :: OS Independent",
"Framework :: AsyncIO",
"Framework :: Pytest",
"Framework :: aiohttp",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Programming Language :: Python :: 3.15",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
"Topic :: Software Development :: Testing",
"Topic :: Software Development :: Libraries",
"Typing :: Typed",
]
requires-python = ">=3.11"
dependencies = [
]
dynamic = ["version"] # taken from git tags
[project.urls]
homepage = "https://github.com/nolar/looptime"
repository = "https://github.com/nolar/looptime"
documentation = "https://github.com/nolar/looptime"
[project.entry-points.pytest11]
looptime_plugin = "looptime._internal.plugin"
looptime_timeproxies = "looptime._internal.timeproxies"
looptime_chronometers = "looptime._internal.chronometers"
[dependency-groups]
docs = [
"sphinx>=9.0.0",
"sphinx-llm>=0.1.4",
"furo",
]
test = [
"async-timeout",
"codecov",
"coverage",
"coveralls",
"pytest",
"pytest-asyncio>=1.0.0",
"pytest-cov",
"pytest-mock",
]
lint = [
{include-group = "test"},
"mypy==2.3.1",
"pre-commit",
"isort",
]
dev = [
{include-group = "docs"},
{include-group = "lint"},
{include-group = "test"},
]
[tool.setuptools_scm]
version_file = "looptime/_version.py"
[tool.uv]
exclude-newer = "7 days"
# MyPy is pinned, so the intent is explicit, no need for time constraints.
exclude-newer-package = { mypy=false }
[tool.mypy]
strict = true
packages = ["looptime"]
exclude = ['(^|/)test_.*\.py$']
python_version = "3.11"
exclude_gitignore = true
warn_unused_configs = true
ignore_missing_imports = true
[tool.pytest]
minversion = "9.0"
asyncio_mode = "auto"
asyncio_default_fixture_loop_scope = "function"
log_format = "%(asctime)s %(levelname)s %(message)s"
log_date_format = "%Y-%m-%d %H:%M:%S"
addopts = ["--strict-markers"]
[tool.isort]
line_length = 120
multi_line_output = 11
balanced_wrapping = true
combine_as_imports = true
case_sensitive = true