-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
136 lines (123 loc) · 2.4 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
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
[project]
name = "xls-updater"
description = "Convert legacy xls data to newer xlsx format."
readme = "README.md"
requires-python = ">=3.10"
keywords = [
"converter",
"xls",
"xlsx",
"excel",
"spreadsheet",
"fileformat",
]
authors = [
{name = "Roy Moore", email="[email protected]"}
]
classifiers = [
"Development Status :: 4 - Beta",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Office/Business :: Financial :: Spreadsheet",
"Topic :: File Formats",
]
dynamic = ["version"]
dependencies = [
"click==8.1.7",
"openpyxl==3.1.2",
"xlrd==2.0.1",
"tqdm==4.66.2"
]
[project.optional-dependencies]
dev = [
"black",
"isort",
"pylint",
"pre-commit",
"mypy",
]
test = [
"xlwt==1.*",
"pyarrow==15.*",
"humanize",
"pandas==2.*",
"pytest",
"pytest-cov",
"pytest_mock",
]
release = [
"semvergit",
"build",
"twine",
]
bin = [
"pyinstaller",
]
[project.scripts]
xls-updater = "xls_updater.__main__:cli"
[project.urls]
homepage = "https://github.com/Tranquility2/xls_updater"
repository = "https://github.com/Tranquility2/xls_updater"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.version]
path = "xls_updater/__about__.py"
[tool.pip-tools]
quiet = true
rebuild = true
strip-extras = true
no-header = true
annotation-style = "line"
[tool.setuptools.packages.find]
include = ["xls_updater*"]
exclude = ["tests*"]
[tool.isort]
multi_line_output = 3
line_length = 120
include_trailing_comma = true
[tool.black]
line-length = 120
include = '\.pyi?$'
exclude = '''
(
/(
\.eggs
| \.git
| \.mypy_cache
| \.tox
| \.venv
| _build
| build
| dist
)/
| version.py
)
'''
[tool.pylint.main]
fail-under = 10.0
[tool.pylint.format]
max-line-length = 120
[tool.coverage.run]
omit = [
"xls_updater/tests/*",
"xls_updater/__main__.py",
]
[tool.coverage.report]
fail_under = 100
[tool.mypy]
python_version = "3.11"
ignore_missing_imports = true
check_untyped_defs = true
disallow_untyped_defs = true
implicit_reexport = false
warn_unused_ignores = true
warn_redundant_casts = true
pretty = true
show_column_numbers = true
show_error_codes = true
show_error_context = true
show_traceback = true