-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpyproject.toml
96 lines (88 loc) · 2.25 KB
/
pyproject.toml
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
[project]
name = "df2img"
version = "0.2.21"
description = "Save a Pandas DataFrame as image"
authors = [
{name = "Andreas Vester", email = "[email protected]"},
]
requires-python = ">=3.9"
readme = "README.md"
license = {file = "LICENSE"}
keywords = ["pandas", "dataframe", "image"]
classifiers = [
"Development Status :: 4 - Beta",
"Programming Language :: Python",
"Operating System :: OS Independent",
"Topic :: Software Development :: Libraries :: Python Modules",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
]
dependencies = [
"kaleido==0.2.1; platform_system != 'Windows'",
"kaleido==0.1.0post1; platform_system == 'Windows'",
"pandas<3.0.0",
"plotly",
"ipython",
"nbformat",
]
[tool.uv]
dev-dependencies = [
"coverage[toml]",
"esbonio",
"mkdocs-jupyter",
"mkdocs-material",
"mkdocstrings[python]",
"mypy",
"pre-commit",
"pytest",
"pytest-cov",
"python-kacl",
"ruff",
]
[project.urls]
BugTracker = "https://github.com/andreas-vester/df2img/issues?q=label%3Abug+"
homepage = "https://df2img.dev"
repository = "https://github.com/andreas-vester/df2img"
documentation = "https://df2img.dev"
[tool.coverage.paths]
source = ["src", "*/site-packages"]
tests = ["tests", "*/tests"]
[tool.coverage.run]
branch = true
source = ["df2img", "tests"]
[tool.coverage.report]
show_missing = true
fail_under = 100
exclude_lines = [
'if TYPE_CHECKING:',
'pragma: no cover'
]
[tool.pytest.ini_options]
minversion = "8.0"
addopts = """\
--cov df2img \
--cov tests \
--cov-report term-missing \
--no-cov-on-fail \
--strict-markers
--doctest-modules
"""
doctest_optionflags = "NORMALIZE_WHITESPACE IGNORE_EXCEPTION_DETAIL NUMBER"
[tool.mypy]
ignore_missing_imports = true
disallow_untyped_defs = true
no_implicit_optional = true
strict_equality = true
warn_unused_ignores = true
warn_redundant_casts = true
check_untyped_defs = true
show_error_codes = true
show_column_numbers = true
show_error_context = true
follow_imports = "skip"
[build-system]
requires = ["pdm-backend"]
build-backend = "pdm.backend"