-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
104 lines (87 loc) · 2.4 KB
/
pyproject.toml
File metadata and controls
104 lines (87 loc) · 2.4 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
[tool.poetry]
name = "data-diff-viewer"
version = "0.4.0"
description = "Generate HTML reports to visualize the results of data-diff with bigquery-frame and spark-frame."
authors = ["Furcy Pin <pin.furcy@gmail.com>"]
readme = "README.md"
homepage = "https://github.com/FurcyPin/data-diff-viewer"
repository = "https://github.com/FurcyPin/data-diff-viewer"
include = [
"data_diff_viewer/templates/*",
"data_diff_viewer/py.typed",
]
[tool.poetry.dependencies]
python = ">=3.10,<3.15"
duckdb = "~1.4.3"
[tool.poetry.group.dev.dependencies]
black = "^25.12.0"
ruff = "^0.14.10"
mypy = "^1.19.1"
types-setuptools = "^80.9.0.20251221"
safety = "^3.7.0"
pytest = "^9.0.2"
pytest-cov = "^7.0.0"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.black]
line-length = 120
[tool.coverage.run]
branch = true
omit = ["tests/*"]
[tool.coverage.html]
directory = "htmlcov"
[tool.coverage.xml]
output = "coverage.xml"
[report]
exclude_also = [
"if TYPE_CHECKING:"
]
[tool.mypy]
# --strict
disallow_subclassing_any = true
disallow_untyped_calls = true
disallow_untyped_defs = true
disallow_incomplete_defs = true
check_untyped_defs = true
disallow_untyped_decorators = true
no_implicit_optional = true
warn_redundant_casts = true
warn_unused_ignores = true
implicit_reexport = true
strict_equality = true
# These checks don't pass yet
disallow_any_generics = false
warn_return_any = false
# --strict end
exclude = ['tests']
[tool.pytest.ini_options]
addopts = [
"-ra",
"--cov=data_diff_viewer",
"--doctest-modules"
]
testpaths = [
"data_diff_viewer"
]
[tool.bumpversion]
current_version = "0.4.0"
commit = true
message = "Bump version: {current_version} → {new_version}"
tag = true
tag_name = "v{new_version}"
tag_message = "Bump version: {current_version} → {new_version}"
parse = "(?P<major>\\d+)\\.(?P<minor>\\d+)\\.(?P<patch>\\d+)(\\.(?P<release>[a-z]+)(?P<dev>\\d+))?"
serialize = ["{major}.{minor}.{patch}"]
[[tool.bumpversion.files]]
filename = "pyproject.toml"
search = "version = \"{current_version}\""
replace = "version = \"{new_version}\""
[[tool.bumpversion.files]]
filename = "data_diff_viewer/__init__.py"
search = "__version__ = \"{current_version}\""
replace = "__version__ = \"{new_version}\""
[[tool.bumpversion.files]]
filename = "javascript/data-diff-viewer/package.json"
search = "\"version\": \"{current_version}\","
replace = "\"version\": \"{new_version}\","