-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject copy.toml
More file actions
115 lines (95 loc) · 2.41 KB
/
Copy pathpyproject copy.toml
File metadata and controls
115 lines (95 loc) · 2.41 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
[project]
authors = [{ name = "fluentqa-team", email = "fluent-qa@fluentqa.com" }]
classifiers = [
"Development Status :: 3 - Alpha",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
]
description = "A Python Structure Handling Projects"
keywords = [
"copier-template",
"full-development-lifecycle",
"project-template",
"scaffold",
]
version = "0.0.1"
name = "qpystructs"
readme = "README.md"
requires-python = ">=3.10"
dependencies = [
"pandas>=2.2.2",
"pydantic>=2.8.2",
"inflection>=0.5.1",
"openpyxl>=3.1.5",
"jmespath>=1.0.1",
"pyyaml>=6.0.1",
"DeepDiff>=7.0.1",
]
[project.urls]
issue = "https://github.com/fluent-qa/qpystructs/issues"
repository = "https://github.com/fluent-qa/qpystructs"
[tool]
[tool.pdm]
distribution = false
[tool.pdm.scripts]
# ss-python-cli = "ss_python.cli:app"
lint = "ruff ."
fmt = "ruff format . --check"
test = "pytest "
docs = "mkdocs serve"
docs-deploy = "mkdocs gh-deploy --force"
cleanup = "sh scripts/cleanup.sh"
[tool.pdm.dev-dependencies]
docs = ["mkdocs-material>=9.5.27", "mkdocs>=1.6.0"]
lint = ["ruff>=0.4.9"]
test = ["pytest-cov>=5.0.0", "pytest>=8.2.2"]
[[tool.pdm.source]]
name = "mirrors"
url = "https://pypi.tuna.tsinghua.edu.cn/simple/"
[[tool.pdm.source]]
name = "douban"
url = "https://pypi.doubanio.com/simple/"
[tool.pytest.ini_options]
addopts = "-l -s --durations=0"
log_cli = true
log_cli_level = "info"
log_date_format = "%Y-%m-%d %H:%M:%S"
log_format = "%(asctime)s %(levelname)s %(message)s"
minversion = "6.0"
cov = "qpystructs"
cov-report = "html"
[tool.coverage]
[tool.coverage.report]
fail_under = 100
[tool.coverage.run]
source = ["src/qpystructs"]
[tool.ruff]
extend-exclude = ["template"]
fix = true
src = ["src"]
[tool.ruff.lint]
select = [
"B", # flake8-bugbear
"D", # pydocstyle
"E", # pycodestyle error
"F", # Pyflakes
"I", # isort
"RUF100", # Unused noqa directive
"S", # flake8-bandit
"SIM", # flake8-simplify
"UP", # pyupgrade
"W", # pycodestyle warning
]
[tool.ruff.lint.per-file-ignores]
"tests/*" = ["S101"]
[tool.ruff.lint.pydocstyle]
convention = "google"
[tool.tomlsort]
all = true
in_place = true
trailing_comma_inline_array = true
[build-system]
requires = ["pdm-backend"]
build-backend = "pdm.backend"