-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpyproject.toml
75 lines (65 loc) · 1.59 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
[project]
name = "darbiadev-ups"
version = "0.8.0"
description = "A wrapper for UPS' API"
readme = "README.md"
authors = [
{ name = "Bradley Reynolds", email = "[email protected]" },
]
license = { text = "MIT" }
requires-python = ">=3.9"
dependencies = [
"requests>=2.32.3",
]
[project.optional-dependencies]
dev = [
# DX
"nox>=2024.4.15",
"pre-commit>=3.7.1",
# Linters
"ruff>=0.5.2",
"mypy>=1.10.1",
"types-requests>=2.32.0.20241016",
]
docs = [
"sphinx>=7.4.4",
"furo>=2024.5.6",
"sphinx-autoapi>=3.1.2",
"releases>=2.1.1",
]
tests = [
"coverage>=7.6.1",
"pytest>=8.2.2",
"pytest-randomly>=3.15.0",
"pytest-alembic>=0.11.0",
]
[project.urls]
repository = "https://github.com/darbiadev/darbiadev-ups/"
documentation = "https://darbia.dev/darbiadev-ups/"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["src/darbiadev_ups"]
[tool.ruff]
target-version = "py39"
line-length = 120
[tool.ruff.lint]
select = ["ALL"]
ignore = []
[tool.ruff.lint.extend-per-file-ignores]
"docs/*" = [
"INP001", # (File `tests/*.py` is part of an implicit namespace package. Add an `__init__.py`.) - Docs are not modules
]
"tests/*" = [
"INP001", # (File `tests/*.py` is part of an implicit namespace package. Add an `__init__.py`.) - Tests are not modules
"S101", # (Use of `assert` detected) - Yes, that's the point
]
[tool.ruff.lint.pydocstyle]
convention = "numpy"
[tool.coverage.run]
source = [
"darbiadev_ups",
]
[tool.pytest.ini_options]
addopts = "--strict-markers"