-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
140 lines (127 loc) · 2.93 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
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
[build-system]
requires = [
"setuptools~=70.0.0",
"setuptools-git-versioning>=2.0,<3",
"wheel",
]
build-backend = "setuptools.build_meta"
[project]
name = "swmcloudgate"
description = "Sky Port gate service that provides cloud integration"
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 = [
"aiohttp",
"asyncio",
"asynctest",
"fastapi==0.63.0",
"pyyaml",
"python-dotenv",
"jinja2",
"uvicorn",
"dataclasses==0.6",
"apache-libcloud>=3.6.1",
"azure-core",
"azure-identity",
"azure-mgmt-resource",
"azure-mgmt-commerce",
"azure-mgmt-compute >= 32.0.0",
]
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-cloud-gate"
Tests = "https://github.com/openworkload/swm-cloud-gate/tree/master/test"
Issues = "https://github.com/openworkload/swm-cloud-gate/issues"
Distribution = "https://pypi.org/project/swmcloudgate"
[project.optional-dependencies]
build = [
"build==1.2.1"
]
publish = [
"twine==5.1.1"
]
test = [
"pytest",
]
[tool.setuptools.packages.find]
where = ["./"]
include = ["swmcloudgate*"]
exclude = ["swmcloudgate.egg-info", "test"]
[tool.setuptools.package-data]
"swmcloudgate" = ["logging.yaml"]
"swmcloudgate.routers.azure.templates" = ["*"]
"swmcloudgate.routers.openstack.templates" = ["*"]
[tool.setuptools-git-versioning]
enabled = true
template = "{tag}"
dev_template = "{tag}"
dirty_template = "{tag}"
[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
| \swmcloudgate.egg-info
)/
)
'''
[tool.ruff]
line-length = 120
exclude = [
".git",
".mypy_cache",
".ruff_cache",
".venv",
"build",
"dist",
"swmcloudgate.egg-info",
]
[tool.isort]
line_length = 120
profile = "black"
skip_glob = [".venv/*", ".github/workflows/*"]
length_sort = true
[tool.mypy]
platform = "linux"
python_version = 3.10
strict = true
follow_imports = "silent"
show_error_context = true
show_column_numbers = true
[[tool.mypy.overrides]]
module = "test.*"
allow_untyped_defs = true
allow_incomplete_defs = true
allow_untyped_calls = true
[tool.bandit]
exclude_dirs = [".git", "build", "dist", ".venv", "tests/*"]