-
Notifications
You must be signed in to change notification settings - Fork 7
/
pyproject.toml
106 lines (92 loc) · 2.13 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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "tabulous"
dynamic = ["version"]
description = "A table data viewer for Python"
readme = "README.md"
license = { file = "LICENSE" }
requires-python = ">=3.9"
authors = [
{ name = "Hanjin Liu", email = "[email protected]" },
]
dependencies = [
"appdirs>=1.4.4",
"collections-undo>=0.0.7",
"magicgui>=0.7.0,!=0.8.3",
"matplotlib>=3.1",
"pandas>=1.5.2",
"psygnal>=0.9.0",
"qt-command-palette>=0.0.6",
"qtconsole",
"qtpy>=1.10.0",
"requests",
"tabulate",
"toml",
]
[project.optional-dependencies]
all = [
"pyqt5>=5.12.3",
"scikit-learn>=1.1",
"scipy>=1.7",
"seaborn>=0.11",
]
pyqt5 = [
"pyqt5>=5.12.3",
]
pyqt6 = [
"pyqt6>=6.3.1",
]
scikit-learn = [
"scikit-learn>=1.0",
]
testing = [
"pytest",
"pytest-qt",
]
[project.scripts]
tabulous = "tabulous.__main__:main"
[project.urls]
Download = "https://github.com/hanjinliu/tabulous"
[tool.hatch.version]
path = "tabulous/__init__.py"
[tool.hatch.build.targets.sdist]
include = [
"/tabulous",
]
[tool.hatch.envs.test]
features = ["testing"]
[tool.hatch.envs.test.scripts]
run = "pytest -v"
[[tool.hatch.envs.test.matrix]]
backend = ["pyqt5", "pyqt6"]
[tool.hatch.envs.test.overrides]
matrix.backend.features = [
{ value = "pyqt5", if = [
"pyqt5",
] },
{ value = "pyqt6", if = [
"pyqt6",
] },
]
[tool.ruff]
line-length = 88
target-version = "py39"
fix = true
[tool.ruff.per-file-ignores]
"tests/*.py" = ["D", "E501"]
"examples/*.py" = ["D", "B"]
"setup.py" = ["F821"]
[tool.pytest.ini_options]
testpaths = ["tests"]
filterwarnings = [
"ignore::DeprecationWarning:qtpy",
"ignore::DeprecationWarning:ipykernel",
"ignore::DeprecationWarning:pkg_resources",
"ignore:Deprecated call to `pkg_resources.declare_namespace:DeprecationWarning",
"ignore::DeprecationWarning:qtconsole",
"ignore:distutils Version classes are deprecated",
"ignore:path is deprecated:DeprecationWarning",
"ignore:Jupyter is migrating its paths to use standard platformdirs:DeprecationWarning",
]