forked from xlwings/xlwings
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
90 lines (80 loc) · 2.12 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
[build-system]
requires = ["maturin>=1,<2"]
build-backend = "maturin"
[project]
name = "xlwings"
description = "Make Excel fly: Interact with Excel from Python and vice versa."
authors = [
{ name = "Felix Zumstein", email = "[email protected]" },
]
readme = "README.rst"
requires-python = ">=3.9"
dependencies = [
"pywin32 >= 224;platform_system=='Windows'",
"psutil >= 2.0.0;platform_system=='Darwin'",
"appscript >= 1.0.1;platform_system=='Darwin'",
]
classifiers = [
"Development Status :: 4 - Beta",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Office/Business :: Financial :: Spreadsheet",
"License :: OSI Approved :: BSD License",
]
dynamic = ["version"]
[project.optional-dependencies]
reports = ["Jinja2", "pdfrw", "mistune"]
all = [
"black",
"isort",
"Jinja2",
"pandas",
"matplotlib",
"plotly",
"flask",
"requests",
"pdfrw",
"pytest",
"mistune",
]
[project.scripts]
xlwings = "xlwings.cli:main"
[project.urls]
Homepage = "https://www.xlwings.org"
Documentation = "https://docs.xlwings.org"
Funding = "https://www.xlwings.org/pricing"
Source = "https://github.com/xlwings/xlwings"
Changelog = "https://docs.xlwings.org/en/stable/whatsnew.html"
[tool.maturin]
exclude = ["xlwings/js/tsconfig.json", "xlwings/js/excel.d.ts"]
module-name = "xlwings.xlwingslib"
[tool.black]
target-version = ["py39"]
[tool.ruff]
target-version = "py39"
line-length = 88
fix = true
unfixable = [
"F401", # prevents imports in __init__.py to be deleted
]
ignore = [
# Whitespace before ':' (black compatibility)
"E203",
# Line too long (black doesn't handle long strings)
"E501",
# Module level import not at top of file
"E402",
]
select = [
"E", # pycodestyle errors
"F", # pyflakes
"I", # isort
]
[tool.ruff.isort]
combine-as-imports = true
known-first-party = ["xlwings"]