-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
134 lines (121 loc) · 2.68 KB
/
pyproject.toml
File metadata and controls
134 lines (121 loc) · 2.68 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
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
[project]
name = "datamasque-cli"
version = "1.3.0"
description = "Official command-line interface for the DataMasque data-masking platform."
authors = [
{ name = "DataMasque Ltd" },
]
readme = "README.md"
license = "Apache-2.0"
license-files = ["LICENSE"]
requires-python = ">=3.11"
dependencies = [
"typer>=0.15.0",
"tomli-w>=1.0.0",
"datamasque-python>=1.0.0,<2",
]
classifiers = [
"Development Status :: 4 - Beta",
"Environment :: Console",
"Intended Audience :: Developers",
"Intended Audience :: System Administrators",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Topic :: Database",
"Topic :: Utilities",
"Typing :: Typed",
]
[project.urls]
Homepage = "https://datamasque.com/"
Repository = "https://github.com/datamasque/datamasque-cli"
Issues = "https://github.com/datamasque/datamasque-cli/issues"
[project.scripts]
dm = "datamasque_cli.main:app"
[dependency-groups]
dev = [
"pytest>=8.0",
"ruff>=0.9",
"mypy>=1.10",
"types-requests>=2.31",
]
[tool.ruff]
line-length = 120
target-version = "py311"
[tool.ruff.format]
quote-style = "preserve"
[tool.ruff.lint]
select = [
"A",
"ANN",
"ARG",
"B",
"C4",
"COM",
"E",
"F",
"FURB",
"I",
"ISC",
"PIE",
"PL",
"RET",
"RUF",
"SIM",
"T20",
"UP",
"W",
]
ignore = [
"ANN002",
"ANN003",
"B008",
"COM812",
"E501",
"ISC001",
"PLR0913",
"RET503",
"SLF001",
"SIM105",
"SIM108",
]
[tool.ruff.lint.per-file-ignores]
"tests/**/*" = [
"ANN",
"ARG",
"PLR0913",
"PLR2004",
"S",
"SLF001",
]
# Standalone helper scripts that legitimately print to stdout for shell consumption.
"scripts/**/*" = ["T20"]
[tool.ruff.lint.isort]
known-first-party = ["datamasque_cli"]
[tool.mypy]
python_version = "3.11"
strict = true
warn_return_any = true
warn_unused_configs = true
disallow_untyped_defs = true
[[tool.mypy.overrides]]
module = ["datamasque.*"]
ignore_missing_imports = true
# The library's __all__ doesn't list all public names,
# and type signatures change between versions.
follow_imports = "skip"
[tool.pytest.ini_options]
testpaths = ["tests"]
markers = [
"integration: requires a running DataMasque instance (see README)",
]
addopts = "-m 'not integration'"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["src/datamasque_cli"]