-
Notifications
You must be signed in to change notification settings - Fork 1
/
pyproject.toml
84 lines (74 loc) · 1.66 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
[build-system]
requires = ["setuptools>=61.0"]
build-backend = "setuptools.build_meta:__legacy__"
[project]
name="retry_later"
version="0.0.5"
authors = [
{name = "Krishnasis Mandal", email = "[email protected]"}]
maintainers = [
{name = "Krishnasis Mandal", email = "[email protected]"}]
description = "Retry your functions later, asynchronously"
readme = "README.md"
license = {file = "LICENSE"}
requires-python = ">=3.9"
classifiers = [
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.9",
]
keywords = [
"utils",
"retry",
"python",
]
dependencies = [
]
[tool.setuptools]
include-package-data = false
[tool.setuptools.packages.find]
include = ["retry_later*"]
exclude = ["docs*", "tests*", "examples*"]
[project.optional-dependencies]
dev = ["pytest", "pytest-cov", "pytest-xdist", "pytest-asyncio", "pylint", "mypy", "typing-extensions", "pre-commit", "ruff"]
[tool.ruff]
indent-width = 4
line-length = 120
select = [
# pycodestyle
"E", "W",
# Pyflakes
"F",
# pyupgrade
"UP",
# flake8-bugbear
"B",
# flake8-simplify
"SIM",
# isort
"I",
# MaccaBe
"C901",
# Pep8-naming
#"N", # TODO: enable
]
fix = true
fixable = ["ALL"]
exclude = ["docs"]
preview = true
[tool.ruff.mccabe]
max-complexity = 10
[tool.mypy]
warn_unused_configs = true
files = "retry_later"
ignore_missing_imports = true
check_untyped_defs = true
explicit_package_bases = true
warn_unreachable = true
warn_redundant_casts = true
strict = true
[tool.pytest.ini_options]
log_cli=true
log_level="NOTSET"
asyncio_mode="auto"