-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathpyproject.toml
82 lines (70 loc) · 1.83 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
[build-system]
requires = ["hatchling", "hatch-fancy-pypi-readme>=22.5.0"]
build-backend = "hatchling.build"
[project]
name = "pragma-utils"
description = "Utils functions shared accross Pragma python packages."
readme = "README.md"
requires-python = ">=3.11,<3.13"
license = "MIT"
authors = [
{ name = "0xevolve", email = "matthias@pragma.build" },
]
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
]
dependencies = [
"pydantic>=2.7.4",
"boto3>=1.28.61",
"moto[s3,secretsmanager]>=4.2.5",
]
dynamic = ["version"]
[tool.hatch.version]
path = "pragma_utils/__init__.py"
[project.urls]
Homepage = "https://pragma.build"
Repository = "https://github.com/Astraly-Labs/pragma-sdk"
Documentation = "https://docs.pragma.build"
[tool.hatch.metadata]
allow-direct-references = true
[project.optional-dependencies]
dev = [
"poethepoet>=0.26.1",
"ruff>=0.4",
"mypy>=1.10",
"coverage>=7.2.1",
"pytest>=7.2.2",
"pytest-asyncio>=0.21.1",
"pytest-mock>=3.6.1",
"pytest-xdist>=3.2.1",
"pytest-cov>=4.0.0",
"setuptools>=70.1.0",
"pytest-rerunfailures>=12.0",
]
typing = [
"mypy>=1.10",
"types-requests>=2.26.0",
"types-deprecated>=1.2.9",
]
[tool.mypy]
python_version = "3.12"
namespace_packages = true
explicit_package_bases = true
show_error_codes = true
warn_return_any = true
ignore_missing_imports = true
exclude = ["tests"]
enable_error_code = ["ignore-without-code", "redundant-expr", "truthy-bool"]
[tool.coverage.run]
source = ["pragma_utils"]
[tool.coverage.report]
omit = ["*_test.py", "tests/*"]
skip_empty = true
[tool.poe.tasks]
format = "ruff format ."
format_check = "ruff format . --check"
lint = "ruff check ."
typecheck = "mypy pragma_utils"
test = "coverage run -m pytest -v tests/ -s"