-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
145 lines (132 loc) · 3.1 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
[tool]
[tool.poetry]
name = "softpack-core"
version = "0.1.0"
homepage = "https://github.com/wtsi-hgi/softpack-core"
description = "SoftPack Core backend service."
authors = ["altaf-ali <[email protected]>", "SamO135 <[email protected]", "KMace <[email protected]"]
readme = "README.md"
license = "MIT"
classifiers=[
'Development Status :: 2 - Pre-Alpha',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Natural Language :: English',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.11',
]
packages = [
{ include = "softpack_core" },
{ include = "tests", format = "sdist" },
]
[tool.poetry.dependencies]
python = ">=3.9,<4.0"
pip = "^23.0.1"
archspec = "^0.2.0"
bokeh = ">=2.4.3,<3.0"
fastapi = "^0.94.0"
greenlet = "^2.0.2"
hvac = "^1.1.0"
jinja2 = "^3.1.2"
macholib = "^1.16.2"
mergedeep = "^1.3.4"
oras = "^0.1.17"
prefect = "2.8.6"
prefect-dask = "^0.2.3"
prefect-shell = "^0.1.5"
pydantic = "^1.10.6"
pygit2 = "^1.12.1"
python-box = "^7.0.1"
python-ldap = "^3.4.3"
requests = "<2.30.0"
ruamel-yaml = "^0.17.21"
semver = "^3.0.0"
singleton-decorator = "^1.0.0"
sqlalchemy = "1.4.45"
typer = "^0.9.0"
pytest-mock = "^3.11.1"
pytest-asyncio = "^0.21.1"
python-multipart = "^0.0.6"
[tool.poetry.group.dev]
optional = true
[tool.poetry.group.dev.dependencies]
autoflake = "^1.7.8"
black = "^23.1.0"
bump2version = "^1.0.1"
flake8 = "^5.0.4"
flake8-docstrings = "^1.7.0"
isort = "^5.12.0"
mypy = "^v1.0.1"
mypy-extensions = "^1.0.0"
pre-commit = "^3.1.1"
toml = "^0.10.2"
tox = "^4.4.6"
twine = "^4.0.2"
types-setuptools = "^67.7.0.1"
types-PyYAML = "^6.0.12.9"
types-requests = "^2.30.0.0"
virtualenv = "^20.20.0"
watchfiles = "^0.21.0"
[tool.poetry.group.doc]
optional = true
[tool.poetry.group.doc.dependencies]
mkdocs = "^1.4.2"
mkdocs-autorefs = "^0.4.1"
mkdocs-include-markdown-plugin = "^3.9.1"
mkdocs-material = "^9.1.0"
mkdocstrings = "^0.20.0"
mkdocstrings-python = "^0.8.3"
mkdocs-material-extensions = "^1.1.1"
[tool.poetry.group.test]
optional = true
[tool.poetry.group.test.dependencies]
pytest = "^7.2.2"
pytest-asyncio = "^0.21.0"
pytest-cases = "^3.6.14"
pytest-cov = "^4.0.0"
pytest-httpx = "^0.21.3"
types-PyYAML = "^6.0.12.9"
[tool.poetry.scripts]
softpack-core = 'softpack_core.main:main'
[tool.black]
line-length = 79
skip-string-normalization = true
target-version = ['py39', 'py310', 'py311']
include = '\.pyi?$'
exclude = '''
/(
\.eggs
| \.git
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| _build
| buck-out
| build
| dist
)/
'''
[tool.isort]
profile = "black"
multi_line_output = 3
include_trailing_comma = true
force_grid_wrap = 0
use_parentheses = true
ensure_newline_before_comments = true
line_length = 79
skip_gitignore = true
# you can skip files as below
#skip_glob = docs/conf.py
[tool.mypy]
disallow_untyped_calls = true
disallow_untyped_defs = true
ignore_missing_imports = true
[tool.pytest.ini_options]
filterwarnings = [
"ignore::DeprecationWarning:starlette"
]
markers = "repo: mark test as altering a real git repo"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"