forked from arcee-ai/arcee-python
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
96 lines (79 loc) · 1.67 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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "arcee-py"
authors = [{name = "Jacob Solowetz", email = "[email protected]"}, {name = "Ben Epstein", email = "[email protected]"}]
readme = "README.md"
requires-python = ">=3.8"
license = {text = "MIT"}
dynamic = ["version", "description"]
packages = [
{ include = "arcee" }
]
dependencies = [
"requests",
"typer",
"rich",
"pydantic"
]
[project.scripts]
arcee = "arcee.cli:cli"
[tool.hatch.build.targets.wheel.shared-data]
"prefix" = "prefix"
[tool.hatch.version]
path = "arcee/__init__.py"
[project.optional-dependencies]
dev = [
"black",
"invoke",
"mypy",
"pytest",
"pytest-cov",
"pytest-env",
"ruff",
"types-requests",
"pandas",
"pandas-stubs"
]
cli = [
"pandas"
]
[project.urls]
Home = "https://arcee.ai"
[tool.black]
line-length = 120
[tool.ruff]
target-version = "py311"
respect-gitignore = true
line-length = 120
# Pyflakes, bugbear, pycodestyle, pycodestyle warnings, isort
select=["TID252", "B", "F", "E", "W", "I001"]
[tool.ruff.isort]
case-sensitive = true
order-by-type = true
known-first-party = ["dalm"]
[tool.pytest.ini_options]
timeout = 180
addopts = [
"-o",
"console_output_style=progress",
"--disable-warnings",
"--cov=arcee",
"--cov-report=term-missing",
"--cov-report=xml",
"--cov-report=html",
"--durations=10",
]
env = [
"ARCEE_API_KEY = FOOBAR",
]
[tool.ruff.flake8-tidy-imports]
# Disallow all relative imports.
ban-relative-imports = "all"
[tool.mypy]
disallow_untyped_defs = true
plugins = "pydantic.mypy"
[[tool.mypy.overrides]]
module = "retrying.*"
ignore_missing_imports = true