-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
153 lines (138 loc) · 3.23 KB
/
pyproject.toml
File metadata and controls
153 lines (138 loc) · 3.23 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
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
[build-system]
requires = [ "hatchling>=1.8.0" ]
build-backend = "hatchling.build"
[project]
name = "deflow"
description = "Lightweight Declarative Data Framework"
readme = "README.md"
license = "MIT"
authors = [ { name = "ddeutils", email = "korawich.anu@gmail.com" } ]
keywords = [ 'framework', 'declarative' ]
classifiers = [
"Topic :: Utilities",
"Natural Language :: English",
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
]
requires-python = ">=3.9.13"
dependencies = [
"ddeutil-io>=0.2.16",
"ddeutil-workflow==0.0.85",
"python-dotenv==1.1.1",
"typer>=0.16.0,<1.0.0",
]
dynamic = ["version"]
[project.scripts]
deflow = "deflow.__main__:main"
[tool.hatch.version]
scheme = "standard"
source = "code"
path = "deflow/__about__.py"
[tool.hatch.build.targets.sdist]
exclude = [
"/.github",
"/.pre-commit-config.yaml",
"/docs",
"/tests",
]
[tool.hatch.build.targets.wheel]
packages = ["deflow"]
[tool.shelf.version]
version = "./deflow/__about__.py"
changelog = "./docs/changelog.md"
commit_subject_format = "{emoji} {subject}"
commit_msg_format = "- {subject}"
[tool.shelf.git]
commit_prefix_force_fix = true
[tool.coverage.run]
branch = true
relative_files = true
concurrency = [ "thread", "multiprocessing" ]
source = [ "deflow" ]
omit = [
"deflow/__version__.py",
"deflow/__init__.py",
]
[tool.coverage.report]
exclude_lines = [
"raise NotImplementedError",
"pragma: no cov",
]
[tool.pytest.ini_options]
pythonpath = ["deflow"]
console_output_style = "count"
addopts = [
"--strict-config",
"--strict-markers",
]
filterwarnings = [
"error",
"ignore::DeprecationWarning",
"ignore::pytest.PytestUnraisableExceptionWarning",
]
log_cli = true
log_cli_level = "DEBUG"
log_cli_format = "%(asctime)s [%(levelname)-7s] %(cut_id)s %(message)-120s (%(filename)s:%(lineno)s)"
log_cli_date_format = "%Y%m%d %H:%M:%S"
[tool.black]
line-length = 80
target-version = [ 'py39' ]
exclude = """
(
/(
\\.git
| \\.eggs
| \\.__pycache__
| \\.idea
| \\.ruff_cache
| \\.mypy_cache
| \\.pytest_cache
| \\.venv
| build
| dist
| venv
)/
)
"""
[project.urls]
Homepage = "https://github.com/ddeutils/deflow/"
"Source Code" = "https://github.com/ddeutils/deflow/"
[tool.ruff]
line-length = 80
exclude = [
"__pypackages__",
".git",
".mypy_cache",
".ruff_cache",
".venv",
"build",
"dist",
"venv",
]
[tool.ruff.lint]
select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # pyflakes
"I", # isort
"C", # flake8-comprehensions
"B", # flake8-bugbear
]
ignore = [
"E501", # line too long, handled by black
"B008", # do not perform function calls in argument defaults
"C901", # too complex
]
[tool.ruff.lint.per-file-ignores]
"__init__.py" = [
"F401",
"F403",
]