-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
82 lines (70 loc) · 1.76 KB
/
Copy pathpyproject.toml
File metadata and controls
82 lines (70 loc) · 1.76 KB
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 = ["setuptools>=68", "setuptools-scm>=8", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "ce-cli"
dynamic = ["version"]
description = "Credential Engine CLI - Internal platform management tool"
readme = "README.md"
requires-python = ">=3.10"
dependencies = [
"click>=8.1",
"httpx>=0.27,<0.29",
"keyring>=25",
"rich>=13",
"pydantic>=2",
"pydantic-settings>=2",
"requests>=2.31",
"truststore>=0.9",
"base58>=2.1",
"PyJWT>=2.8",
"cryptography>=41",
"attrs>=22.2.0",
"python-dateutil>=2.8.0,<3.0.0",
]
[project.scripts]
ce = "ce.main:cli"
[project.optional-dependencies]
dev = [
"pytest>=8",
"pytest-mock>=3",
"pytest-recording>=0.13",
"vcrpy>=6",
"python-dotenv>=1",
"tox>=4",
]
[tool.setuptools_scm]
[tool.setuptools.packages.find]
where = ["."]
include = ["ce*"]
[tool.pytest.ini_options]
addopts = "--record-mode=none"
markers = ["integration: tests that target a live API"]
[tool.vcrpy]
cassette_library_dir = "tests/cassettes"
record_mode = "none"
serializer = "yaml"
match_on = ["method", "scheme", "host", "port", "path", "query", "body"]
filter_headers = ["authorization", "Authorization"]
ssl_verify_certificate = false
[tool.tox]
legacy_tox_ini = """
[tox]
envlist = unit, integration
skipsdist = true
[testenv]
deps =
pytest>=8
pytest-mock>=3
pytest-recording>=0.13
vcrpy>=6
python-dotenv>=1
commands_pre =
pip install -e .
[testenv:unit]
commands = pytest tests/ -m "not integration" --record-mode=none -s {posargs}
[testenv:integration]
commands = pytest tests/ -m integration --record-mode=none -s
[testenv:record]
commands = pytest tests/ -m integration --record-mode=once -s {posargs}
"""