-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
102 lines (91 loc) · 2.04 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
97
98
99
100
101
102
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "xlviews"
version = "0.1.5"
authors = [{ name = "daizutabi", email = "[email protected]" }]
description = "A Python package for writing xlsx files."
readme = "README.md"
license = { file = "LICENSE" }
classifiers = [
"Programming Language :: Python",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
]
requires-python = ">=3.11"
dependencies = [
"pywin32>=308",
"xlwings>=0.33",
"pandas>=2",
"matplotlib>=3.8",
"seaborn>=0.13",
]
[project.urls]
Documentation = "https://daizutabi.github.io/xlviews/"
Source = "https://github.com/daizutabi/xlviews"
Issues = "https://github.com/daizutabi/xlviews/issues"
[tool.uv]
dev-dependencies = [
"pytest-clarity>=1",
"pytest-cov>=6.0",
"pytest-randomly>=3.16",
"scipy>=1.15",
]
[tool.hatch.build.targets.sdist]
exclude = ["/.github", "/docs"]
[tool.hatch.build.targets.wheel]
packages = ["src/xlviews"]
[tool.pytest.ini_options]
markers = ["app: mark test as app"]
addopts = [
"--doctest-modules",
"--cov=xlviews",
"--cov-report=lcov:lcov.info",
"--strict-markers",
"-p no:faulthandler",
]
doctest_optionflags = ["NORMALIZE_WHITESPACE", "IGNORE_EXCEPTION_DETAIL"]
filterwarnings = []
[tool.coverage.run]
disable_warnings = ["module-not-measured"]
[tool.coverage.report]
exclude_lines = [
"no cov",
"raise NotImplementedError",
"if TYPE_CHECKING:",
"if __name__",
]
skip_covered = true
[tool.ruff]
line-length = 88
target-version = "py311"
[tool.ruff.lint]
select = ["ALL"]
unfixable = ["F401"]
ignore = [
"ANN002",
"ANN003",
"ANN401",
"ARG001",
"ARG002",
"D",
"D105",
"D107",
"D203",
"D213",
"EM101",
"TD",
"ERA001",
"FBT001",
"FBT002",
"PD901",
"PERF401",
"PGH003",
"PLR",
"SIM102",
"TRY003",
]
[tool.ruff.lint.per-file-ignores]
"tests/*" = ["ANN", "ARG", "D", "FBT", "PLR", "RUF", "S", "SLF"]