-
Notifications
You must be signed in to change notification settings - Fork 5
/
pyproject.toml
131 lines (115 loc) · 3.4 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
# Copyright (c) 2022-2024 Antmicro <www.antmicro.com>
#
# SPDX-License-Identifier: Apache-2.0
[build-system]
requires = ["setuptools>=40.8.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "pipeline-manager"
version = "0.0.4"
description = "Pipeline Manager - data-based, application-agnostic web application for creating, visualizing and managing dataflows in various applications."
authors = [
{name = "Antmicro Ltd.", email = "[email protected]"},
]
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
]
readme = "README.md"
dependencies = [
"attrs==23.1.0",
"beautifulsoup4==4.12.2",
"click==8.1.3",
"fastapi[all]>=0.104.1",
"Jinja2==3.1.2",
"jsonschema @ git+https://github.com/python-jsonschema/jsonschema@eb8255a473b4f6e9439322f9ec93e345bc7f17d6",
"json-rpc==1.15.0",
"MarkupSafe==2.1.1",
"pyrsistent==0.18.1",
"python-socketio[asyncio_client]==5.10.0",
"referencing==0.29.0",
"requests==2.28.2",
"six==1.16.0",
"uvicorn[standard]==0.24.0.post1",
]
[project.optional-dependencies]
test = [
"pexpect==4.8.0",
"pytest==7.4.0",
"pytest-asyncio==0.21.1",
"pytest-httpserver==1.0.10",
]
docs = [
"antmicro-sphinx-utils @ git+https://github.com/antmicro/antmicro-sphinx-utils.git",
"sphinxcontrib-napoleon",
"jsonschema2md>=1.1.0",
]
backend-communication = [
"pipeline-manager-backend-communication @ git+https://github.com/antmicro/kenning-pipeline-manager-backend-communication.git",
]
mirror = [
"deepdiff==6.7.0",
"pipeline-manager[backend-communication]",
]
[project.urls]
homepage = "https://antmicro.github.io/kenning-pipeline-manager/"
repository = "https://github.com/antmicro/kenning-pipeline-manager"
[project.scripts]
pipeline_manager = "pipeline_manager.__main__:main"
[tool.setuptools.packages.find]
include = [
"pipeline_manager*"
]
exclude = [
"examples*"
]
namespaces = false
[tool.setuptools.package-data]
pipeline_manager = ["**/*.*", "frontend/.env.static"]
[tool.pydoclint]
style = "numpy"
allow-init-docstring = true
exclude = 'pipeline_manager/tests'
quiet = true
check-return-types = true
[tool.ruff]
preview = true
line-length = 79
select = [
"I", # enable isort
"D", # docstring errors
"E", # PEP8 errors
"E261", # At least two spaces before inline comment
"E225", # Missing whitespace around operator
"F", # PEP8 warnings
]
ignore = [
"E203", # Whitespace before ':'
"D105", # Missing docstring in magic method
"D204", # 1 blank line required after class docstring
"D205", # 1 blank line required between summary line and description
"D200", # One-line docstring should fit on one line
"D102", # Missing docstring in public method
"D401", # First line of docstring should be in imperative mood
"D407", # Missing argument description in the docstring (handled by pydoclint)
]
[tool.ruff.isort]
extra-standard-library = ["pathlib"]
[tool.ruff.pydocstyle]
convention = "numpy"
[tool.ruff.extend-per-file-ignores]
"setup.py" = ["D100"]
"pipeline_manager/tests/*" = ["D100", "D101", "D103"]
[tool.typos]
[tool.typos.files]
extend-exclude = [
"pipeline_manager/frontend/src/third-party/hterm_all.js"
]
[tool.typos.default]
extend-ignore-identifiers-re = [
"inout",
"Inout",
"INOUT",
"cose"
]