-
Notifications
You must be signed in to change notification settings - Fork 4
/
pyproject.toml
147 lines (127 loc) · 3.63 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
141
142
143
144
145
146
147
[build-system]
# build the package with [flit](https://flit.readthedocs.io)
requires = ["flit_core >=3.4,<4"]
build-backend = "flit_core.buildapi"
[project]
name = "yascheduler"
version = "1.2.1"
description = """Yet another computing scheduler and cloud orchestration engine"""
authors = [
{name = "Evgeny Blokhin", email = "[email protected]"},
{name = "Sergei Korolev", email = "[email protected]"},
{name = "Andrey Sobolev"}
]
readme = "README.md"
license = {file = "LICENSE"}
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Science/Research",
"Topic :: Scientific/Engineering :: Chemistry",
"Topic :: Scientific/Engineering :: Physics",
"Topic :: Scientific/Engineering :: Information Analysis",
"Topic :: Software Development :: Libraries :: Python Modules",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Framework :: AiiDA"
]
requires-python = ">=3.8"
dependencies = [
"aiohttp~=3.8",
"asyncssh~=2.11",
"asyncstdlib~=3.10",
"attrs>=22.2.0",
"azure-identity~=1.10.0",
"azure-mgmt-compute~=27.2.0",
"azure-mgmt-network~=20.0.0",
"backoff~=2.1.2",
"hcloud~=1.17",
"pg8000~=1.19",
"python-daemon~=2.3",
"typing-extensions >= 4.2.0; python_version < '3.11'",
"upcloud_api~=2.0",
]
[project.optional-dependencies]
lint = [
"autoflake",
"black >= 23.1",
"flake8",
"flake8-bugbear",
"isort",
"pylint",
"pylint-per-file-ignores >= 1",
"pyupgrade",
]
release = [
"commitizen",
"flit",
]
[project.urls]
Home = "https://github.com/tilde-lab/yascheduler"
Changelog = "https://github.com/tilde-lab/yascheduler/blob/master/CHANGELOG.md"
Issues = "https://github.com/tilde-lab/yascheduler/issues"
Source = "https://github.com/tilde-lab/yascheduler"
[project.scripts]
yascheduler = "yascheduler.utils:daemonize"
yasubmit = "yascheduler.utils:submit"
yastatus = "yascheduler.utils:check_status"
yanodes = "yascheduler.utils:show_nodes"
yasetnode = "yascheduler.utils:manage_node"
yainit = "yascheduler.utils:init"
[project.entry-points."aiida.schedulers"]
yascheduler = "yascheduler.aiida_plugin:YaScheduler"
[tool.flit.external-data]
directory = "yascheduler/data"
[tool.flit.module]
name = "yascheduler"
[tool.autoflake]
expand-star-imports = true
ignore-init-module-imports = true
remove-all-unused-imports = true
remove-duplicate-keys = true
remove-unused-variables = true
[tool.black]
target-version = ['py38', 'py39', 'py310', 'py311']
[tool.commitizen]
name = "cz_conventional_commits"
tag_format = "v$version"
version_files = [
"pyproject.toml:^version",
"yascheduler/__init__.py:^__version__",
]
version_provider = "pep621"
update_changelog_on_bump = true
changelog_incremental = true
[tool.isort]
profile = "black"
py_version = 38
[tool.pylint.MASTER]
load-plugins=[
"pylint_per_file_ignores",
]
[tool.pylint.main]
jobs = 0
py-version = "3.8"
recursive = true
suggestion-mode = true
[tool.pylint.basic]
good-names = ["db", "id", "x", "xy", "y", "_", "__"]
[tool.pylint.design]
max-args = 7
max-attributes = 10
min-public-methods = 1
[tool.pylint.format]
max-line-length = 88
[tool.pylint.reports]
output-format = "colorized"
reports = "no"
score = "no"
[tool.pylint-per-file-ignores]
"/tests/" = "redefined-outer-name"
[tool.pytest.ini_options]
asyncio_mode = "auto"
addopts = "--cov=metis_client --cov-report=term --no-cov-on-fail --cov-fail-under=99"