-
Notifications
You must be signed in to change notification settings - Fork 16
/
pyproject.toml
91 lines (83 loc) · 2.62 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
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
[build-system]
requires = ['setuptools', 'setuptools-scm']
build-backend = "setuptools.build_meta"
[project]
# see: https://setuptools.pypa.io/en/latest/userguide/pyproject_config.html
name = "wrapt_timeout_decorator"
authors = [
{name = "Robert Nowotny", email = "[email protected]"},
]
description = "The better timout decorator"
readme = "README.rst"
requires-python = ">=3.8.0"
keywords = [
]
license = {text = "MIT"}
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Topic :: Software Development :: Libraries :: Python Modules",
]
# dependencies - former setup.cfg "install_requires"
# see: https://setuptools.pypa.io/en/latest/userguide/dependency_management.html
dependencies = [
"cli_exit_tools",
"dill;sys_platform!='win32'",
"dill>0.3.0,!=0.3.5,!=0.3.5.1;sys_platform=='win32'",
"lib_detect_testenv",
"multiprocess",
"psutil",
"wrapt",
]
version = "v1.5.1"
# seems to be not allowed anymore
# zip-save = false
[project.urls]
Homepage = "https://github.com/bitranox/wrapt_timeout_decorator"
Documentation = "https://github.com/bitranox/wrapt_timeout_decorator/blob/master/README.rst"
Repository = "https://github.com/bitranox/wrapt_timeout_decorator.git"
Changelog = "https://github.com/bitranox/wrapt_timeout_decorator/blob/master/CHANGES.rst"
[project.optional-dependencies]
test = [
"black",
"codecov",
"coloredlogs",
"coverage",
"flake8",
"mypy",
"pytest",
"pytest-cov",
"pytest-runner",
"readme_renderer",
]
[project.scripts]
wrapt_timeout_decorator = "wrapt_timeout_decorator.wrapt_timeout_decorator_cli:cli_main"
[tool.setuptools.package-data]
wrapt_timeout_decorator = [
"*.pyi",
"__init__.pyi",
"py.typed",
]
[tool.black]
line-length = 160
#You should include all Python versions that you want your code to run under
target-version = ['py38', 'py39', 'py310', 'py311', 'py312']
# Note that you have to use single-quoted strings in TOML for regular expressions
include = '\.pyi?$'
exclude = '/(\.eggs|\.git|\.hg|\.mypy_cache|\.nox|\.tox|\.venv|_build|buck-out|build|dist)/'
[tool.mypy]
verbosity=0
warn_unused_configs = true
ignore_missing_imports = true
no_implicit_optional = true
no_strict_optional = true
show_error_context = true
[tool.pytest.ini_options]
addopts = "-vvl --doctest-modules"
doctest_optionflags = "NORMALIZE_WHITESPACE ELLIPSIS ALLOW_UNICODE ALLOW_BYTES IGNORE_EXCEPTION_DETAIL"
log_cli = true
log_cli_level = "CRITICAL"