-
Notifications
You must be signed in to change notification settings - Fork 5
/
pyproject.toml
105 lines (91 loc) · 2.12 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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
[build-system]
requires = ["flit_core >=3.2,<4"]
build-backend = "flit_core.buildapi"
[project]
name = "tawazi"
version = "0.5.2"
description = "This library helps you execute a set of functions in a Directed Acyclic Graph (DAG) dependency structure in parallel in a production environment."
authors = [{name = "Mindee", email = "[email protected]"}]
maintainers = [
{name = "Bashir Abdel Wahed"},
{name = "Matthias Cremieux"}
]
license = {file = "LICENSE" }
readme = "README.md"
requires-python=">=3.7,<4"
dependencies = [
"networkx>=2,<4",
"pydantic",
"loguru",
"PyYaml>=6",
"typing_extensions>=4.4.0"
]
[project.optional-dependencies]
dev = [
"numpy",
"graphviz",
"pytest>=7.1.2",
"pytest-asyncio",
"pytest-mock",
"pytest-cov>=4.0.0",
"pytest-codeblocks",
"pre-commit",
"multiprocessing_on_dill",
"pathos"
]
doc = [
"mkdocs>=1.4.0",
"mike==1.1.2",
"mkdocs-exclude==1.0.2",
"mkdocs-material==9.2.6",
"mkdocstrings-python"
]
pydantic1 = ["pydantic>=1.0.0,<2"]
[tool.pytest.ini_options]
addopts = "--pdbcls=IPython.terminal.debugger:TerminalPdb --cov-report=term-missing:skip-covered --cov-report=lcov:cov.info --junit-xml=pytest-junit.xml --cov=tawazi"
[tool.mypy]
python_version = "3.8"
# --strict
disallow_any_generics = true
disallow_untyped_defs = true
no_implicit_optional = true
warn_redundant_casts = true
warn_unused_ignores = true
warn_return_any = true
implicit_reexport = false
strict_equality = true
# --strict end
[[tool.mypy.overrides]]
module = "graphviz.*,networkx.*,yaml.*,multiprocessing_on_dill.*,pathos.*"
ignore_missing_imports = true
[tool.black]
skip-magic-trailing-comma = true
line-length = 100
[tool.ruff]
# Use of assert detected
ignore = ["E501", "S101"]
src = ["src"]
line-length = 100
target-version = "py38"
select = [
"B",
"D",
"E",
"F",
"I",
"N",
"PGH",
"UP",
"S",
"T20",
"TID",
"W",
"RET"
]
[tool.ruff.per-file-ignores]
"tests/*.py" = ["D"]
"scripts/*.py" = ["D", "PGH"]
[tool.ruff.flake8-tidy-imports]
ban-relative-imports = "parents"
[tool.ruff.pydocstyle]
convention = "google"