-
Notifications
You must be signed in to change notification settings - Fork 6
/
pyproject.toml
95 lines (81 loc) · 2.32 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
[build-system]
requires = ["setuptools"]
build-backend = "setuptools.build_meta"
[project]
name = "arta"
version = "0.8.1"
requires-python = ">3.8.0"
description = "A Python Rules Engine - Make rule handling simple"
readme = "README.md"
license = {text = "Apache-2.0"}
authors = [
{name = "develop-cs"},
{name = "HugoPerrier"},
{name = "MathisNcl"},
]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Operating System :: OS Independent",
"Intended Audience :: Developers",
"Intended Audience :: Information Technology",
"Topic :: Software Development :: Libraries :: Python Modules",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"License :: OSI Approved :: Apache Software License",
]
dependencies = [
"omegaconf>=2.0.0",
"pydantic>=1.0.0",
]
[project.urls]
Homepage = "https://maif.github.io/arta/"
Documentation = "https://maif.github.io/arta/home/"
Repository = "https://github.com/MAIF/arta"
[project.optional-dependencies]
all = ["arta[test,dev,doc,mypy,ruff]"]
test = ["pytest", "tox", "pytest-cov"]
dev = ["mypy", "pre-commit", "ruff"]
doc = ["mkdocs-material", "mkdocstrings[python]"]
mypy = ["mypy"]
ruff = ["ruff"]
[tool.setuptools]
package-dir = {"" = "src"}
[tool.setuptools.packages.find]
where = ["src"]
[tool.setuptools.package-data]
"arta" = ["py.typed"]
[tool.pytest.ini_options]
testpaths = ["tests"]
[tool.mypy]
exclude = ["tests"]
ignore_missing_imports = true
plugins = ["pydantic.mypy"]
[tool.ruff]
line-length = 120
[tool.ruff.lint.pydocstyle]
convention = "google"
[tool.ruff.lint]
select = [
"E", # pycodestyle errors
"F", # pyflakes
"W", # pycodestyle warnings
"A", # flake8-builtins
"PLC", # pylint conventions
"PLE", # pylint errors
"PLW", # pylint warnings
"UP", # pyupgrade
"S", # flake8-bandit,
"B", # flake8-bugbear
"I", # isort
"D", # pydocstyle
"NPY", # NumPy-specific rules
]
ignore = ["E501", "D2", "D3", "D4", "D104", "D100", "D106", "S311"]
exclude = ["tests/*"]
[tool.ruff.format]
docstring-code-format = true