-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
122 lines (109 loc) · 2.43 KB
/
pyproject.toml
File metadata and controls
122 lines (109 loc) · 2.43 KB
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
[build-system]
requires = [
"setuptools==75.6.0",
"setuptools-git-versioning>=2.0,<3",
"wheel",
]
build-backend = "setuptools.build_meta"
[project]
name = "swmclient"
description = "Python bindings for swm-core user REST API"
authors = [
{name = "Taras Shapovalov", email = "taras@iclouds.net"},
]
keywords = [
"hpc",
"high performance computing",
"cloud",
"cloud computing",
"open workload",
"sky port",
]
classifiers = [
"Environment :: Console",
"Development Status :: 3 - Alpha",
"Programming Language :: Python :: 3",
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3 :: Only",
]
requires-python = "~=3.10"
dependencies = [
"httpx",
]
license = {text = "BSD 3-Clause License"}
dynamic = ["version", "readme"]
[project.urls]
Homepage = "https://openworkload.org"
Documentation = "https://openworkload.org"
Repository = "https://github.com/openworkload/swm-python-client"
Tests = "https://github.com/openworkload/swm-python-client/tree/master/test"
Issues = "https://github.com/openworkload/swm-python-client/issues"
Distribution = "https://pypi.org/project/swmclient"
[project.optional-dependencies]
build = [
"build==1.2.1"
]
publish = [
"twine==5.1.1"
]
test = [
"pytest",
]
[tool.setuptools.packages.find]
where = ["./"]
include = ["swmclient*"]
exclude = ["swmclient.egg-info"]
[tool.setuptools-git-versioning]
enabled = true
template = "{tag}"
dev_template = "{tag}"
dirty_template = "{tag}"
[tool.setuptools.package-data]
"your_package_name" = ["swmclient/logo64.png"]
[tool.setuptools.dynamic]
readme = {file = ["README.md"], content-type = "text/markdown"}
[tool.black]
line-length = 120
target-version = ['py310']
exclude = '''
(
/(
| \.git
| \.venv
| \.mypy_cache
| \dist
| \build
| \swmclient.egg-info
)/
)
'''
[tool.ruff]
line-length = 120
exclude = [
"swmclient/generated",
"swmclient.eggs-info",
".git",
".mypy_cache",
".ruff_cache",
".venv",
"build",
"dist",
]
[tool.isort]
line_length = 120
profile = "black"
skip_glob = [".venv/*", ".github/workflows/*"]
length_sort = true
[tool.mypy]
python_version = 3.10
strict = true
follow_imports = "silent"
[[tool.mypy.overrides]]
module = "tests.*"
allow_untyped_defs = true
allow_incomplete_defs = true
allow_untyped_calls = true
[tool.bandit]
skips = []