-
Notifications
You must be signed in to change notification settings - Fork 6
/
pyproject.toml
78 lines (59 loc) · 1.45 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
[build-system]
requires = ["hatchling", "hatch-vcs", "requests"]
build-backend = "hatchling.build"
[project]
name = "panda-common"
dynamic = ["version"]
description = " PanDA Common Package"
readme = "README.md"
license = {text = "Apache-2.0"}
authors = [
{ name = "PanDA Team", email = "[email protected]" },
]
dependencies = [
"configparser",
"pytz",
"requests",
"stomp.py >=8.1.2",
]
requires-python = ">=3.8"
[project.urls]
Homepage = "https://panda-wms.readthedocs.io/en/latest/"
[tool.hatch.version]
path = "PandaPkgInfo.py"
pattern = "release_version = \"(?P<version>[^\"]+)\""
[tool.hatch.build]
directory = "dist"
[tool.hatch.build.targets.wheel]
exclude = ["*.template"]
packages = ["pandacommon"]
[tool.hatch.build.targets.wheel.shared-data]
"templates/panda_common.cfg.rpmnew" = "etc/panda/panda_common.cfg.rpmnew"
"tools/panda_common-install_igtf_ca" = "bin/panda_common-install_igtf_ca"
[tool.hatch.build.targets.wheel.hooks.custom]
path = "package/hatch_build.py"
[tool.hatch.build.targets.sdist]
exclude = [
".github",
".idea"
]
[tool.black]
line-length=160
[tool.autopep8]
# https://pypi.org/project/autopep8/#pyproject-toml
max_line_length = 160
ignore = ["E501", "W6"]
in-place = true
recursive = true
aggressive = 3
[tool.pylint]
max-line-length = 160
[tool.pylint.'MESSAGES CONTROL']
disable = [
"C0209",
"R0902",
"R0913",
"R0914", # R0914: Too many local variables
]
[tool.isort]
profile = "black"