forked from ChelseaKR/exitdrill
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
94 lines (81 loc) · 3.31 KB
/
Copy pathpyproject.toml
File metadata and controls
94 lines (81 loc) · 3.31 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
83
84
85
86
87
88
89
90
91
92
93
94
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "exitdrill"
version = "0.1.0"
description = "Run structural recovery drills for leaving SaaS systems."
readme = "README.md"
requires-python = ">=3.12"
license = "Apache-2.0"
license-files = ["LICENSE"]
authors = [{ name = "Chelsea Kelly-Reif" }]
keywords = ["data-portability", "saas", "vendor-exit", "disaster-recovery", "civic-tech"]
classifiers = [
"Development Status :: 3 - Alpha",
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python :: 3.12",
"Topic :: System :: Archiving :: Backup",
]
dependencies = ["jsonschema>=4.23"]
[dependency-groups]
dev = [
"mypy>=1.18",
"pytest>=8",
"pytest-cov>=5",
"ruff>=0.15",
"types-jsonschema>=4.23",
]
[project.scripts]
exitdrill = "exitdrill.cli:main"
[tool.hatch.build.targets.wheel]
packages = ["src/exitdrill"]
[tool.hatch.build.targets.wheel.force-include]
"schemas/receipt-comparison-v0.1.schema.json" = "exitdrill/schemas/receipt-comparison-v0.1.schema.json"
"schemas/civicrm-target-roundtrip-result-v0.1.schema.json" = "exitdrill/schemas/civicrm-target-roundtrip-result-v0.1.schema.json"
"schemas/civicrm-ui-surface-result-v0.1.schema.json" = "exitdrill/schemas/civicrm-ui-surface-result-v0.1.schema.json"
"schemas/civicrm-browser-workflow-result-v0.1.schema.json" = "exitdrill/schemas/civicrm-browser-workflow-result-v0.1.schema.json"
"schemas/civicrm-accessibility-result-v0.1.schema.json" = "exitdrill/schemas/civicrm-accessibility-result-v0.1.schema.json"
"schemas/civicrm-keyboard-result-v0.1.schema.json" = "exitdrill/schemas/civicrm-keyboard-result-v0.1.schema.json"
"schemas/civicrm-activity-view-result-v0.1.schema.json" = "exitdrill/schemas/civicrm-activity-view-result-v0.1.schema.json"
"schemas/civicrm-contact-summary-workflow-result-v0.1.schema.json" = "exitdrill/schemas/civicrm-contact-summary-workflow-result-v0.1.schema.json"
"schemas/civicrm-case-client-workflow-result-v0.1.schema.json" = "exitdrill/schemas/civicrm-case-client-workflow-result-v0.1.schema.json"
"schemas/civicrm-browser-access-denial-result-v0.1.schema.json" = "exitdrill/schemas/civicrm-browser-access-denial-result-v0.1.schema.json"
"schemas/civicrm-browser-access-allow-control-result-v0.1.schema.json" = "exitdrill/schemas/civicrm-browser-access-allow-control-result-v0.1.schema.json"
"schemas/civicrm-case-search-workflow-result-v0.1.schema.json" = "exitdrill/schemas/civicrm-case-search-workflow-result-v0.1.schema.json"
"schemas/civicrm-evidence-index-v0.7.schema.json" = "exitdrill/schemas/civicrm-evidence-index-v0.7.schema.json"
[tool.ruff]
line-length = 100
src = ["src", "tests"]
target-version = "py312"
[tool.ruff.lint]
select = ["E", "W", "F", "I", "UP", "B", "SIM", "S", "C90", "RUF"]
ignore = ["E501"]
[tool.ruff.lint.mccabe]
max-complexity = 10
[tool.ruff.lint.per-file-ignores]
"tests/*" = ["S101"]
[tool.mypy]
python_version = "3.12"
strict = true
files = ["src", "tests", "scripts"]
[tool.pytest.ini_options]
minversion = "8"
testpaths = ["tests"]
addopts = """
-q \
--strict-markers \
--strict-config \
--import-mode=importlib \
--cov=exitdrill \
--cov-branch \
--cov-report=term-missing \
--cov-fail-under=90
"""
[tool.coverage.run]
source = ["exitdrill"]
branch = true
[tool.coverage.report]
fail_under = 90
show_missing = true
exclude_also = ["if __name__ == \"__main__\":"]