-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
60 lines (55 loc) · 1.15 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
[build-system]
requires = ["flit_core >=3.2,<4"]
build-backend = "flit_core.buildapi"
[project]
name = "neware_api"
dynamic = ["version"]
readme = "README.md"
description = "Python API for Neware Battery Testing System"
license = {file = "LICENSE"}
classifiers = [
"Development Status :: 2 - Pre-Alpha",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Operating System :: OS Independent",
]
requires-python = ">=3.10"
dependencies = [
"defusedxml==0.7.1",
"numpy==2.1.1",
"pandas==2.2.3",
"python-dateutil==2.9.0.post0",
"pytz==2024.2",
"shortuuid==1.0.13",
"six==1.16.0",
"typer~=0.15",
"tzdata==2024.2",
"xmltodict==0.13.0",
]
[project.optional-dependencies]
dev = [
"pre-commit~=4.0",
"pytest~=8.0",
]
[project.scripts]
neware = "neware_api.cli.main:app"
[tool.ruff]
line-length = 120 # Set the maximum line length
lint.select = ["ALL"]
lint.ignore = [
"N806",
"T201",
"FA102",
"PD901",
"FBT001",
"FBT002",
"PLR2004",
"TD002",
"TD003",
"D203",
"D213",
"COM812",
]
fix = true
[tool.mypy]
disable_error_code = ["import-untyped"]