-
Notifications
You must be signed in to change notification settings - Fork 23
Expand file tree
/
Copy pathpyproject.toml
More file actions
154 lines (137 loc) · 3.72 KB
/
pyproject.toml
File metadata and controls
154 lines (137 loc) · 3.72 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
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
148
149
150
151
152
153
154
[project]
name = "uipath"
version = "2.10.3"
description = "Python SDK and CLI for UiPath Platform, enabling programmatic interaction with automation services, process management, and deployment tools."
readme = { file = "README.md", content-type = "text/markdown" }
requires-python = ">=3.11"
dependencies = [
"uipath-core>=0.5.2, <0.6.0",
"uipath-runtime>=0.9.1, <0.10.0",
"uipath-platform>=0.0.4, <0.1.0",
"click>=8.3.1",
"httpx>=0.28.1",
"pyjwt>=2.10.1",
"python-dotenv>=1.0.1",
"tenacity>=9.0.0",
"pathlib>=1.0.1",
"rich>=14.2.0",
"truststore>=0.10.1",
"mockito>=1.5.4",
"pydantic-function-models>=0.1.11",
"pysignalr==1.3.0",
"python-socketio>=5.15.0, <6.0.0",
"coverage>=7.8.2",
"mermaid-builder==0.0.3",
"graphtty==0.1.8",
"applicationinsights>=0.11.10",
]
classifiers = [
"Intended Audience :: Developers",
"Topic :: Software Development :: Build Tools",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
]
maintainers = [
]
[project.urls]
Homepage = "https://uipath.com"
Repository = "https://github.com/UiPath/uipath-python"
Documentation = "https://uipath.github.io/uipath-python/"
[project.scripts]
uipath = "uipath._cli:cli"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[dependency-groups]
dev = [
"bandit>=1.8.2",
"mypy>=1.14.1",
"ruff>=0.9.4",
"rust-just>=1.39.0",
"pytest>=7.4.0",
"pytest-asyncio>=1.0.0",
"pytest-httpx>=0.35.0",
"pytest-trio>=0.8.0",
"pytest-cov>=4.1.0",
"pytest-mock>=3.11.1",
"pre-commit>=4.5.1",
"filelock>=3.20.3",
"virtualenv>=20.36.1",
"mkdocs>=1.6.1",
"mkdocs-material[imaging]>=9.7.0",
"mkdocstrings[python]>=0.30.1",
"termynal>=0.13.1",
"tomli-w>=1.2.0",
"mkdocs-simple-hooks>=0.1.5",
"mkdocs-click>=0.9.0",
"mkdocs-open-in-new-tab>=1.0.8",
"mkdocs-llmstxt>=0.5.0",
"inflection>=0.5.1",
"types-toml>=0.10.8",
"pytest-timeout>=2.4.0",
]
[tool.hatch.build.targets.wheel]
packages = ["src/uipath"]
include = ["src/uipath/_resources"]
[tool.ruff]
line-length = 88
indent-width = 4
exclude = ["samples/**", "testcases/**"]
[tool.ruff.lint]
select = ["E", "F", "B", "I", "D"]
ignore = ["D417"]
[tool.ruff.lint.isort]
known-first-party = ["uipath"]
[tool.ruff.lint.pydocstyle]
convention = "google"
ignore-decorators = []
[tool.ruff.lint.per-file-ignores]
"*" = ["E501"]
"tests/**" = ["D"]
"*_test.py" = ["D"]
"docs/**" = ["D"]
# TODO: Remove this once the documentation for CLI is updated
"uipath/_cli/**" = ["D"]
# TODO: Remove this once model documentation is added
"src/uipath/models/**" = ["D101", "D100", "D104", "D102", "D107"]
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
skip-magic-trailing-comma = false
line-ending = "auto"
[tool.mypy]
mypy_path = "src"
plugins = ["pydantic.mypy"]
exclude = ["samples/.*", "testcases/.*"]
files = ["src", "tests"]
namespace_packages = true
explicit_package_bases = true
follow_imports = "silent"
warn_redundant_casts = true
warn_unused_ignores = true
disallow_any_generics = true
check_untyped_defs = true
no_implicit_reexport = true
disallow_untyped_defs = false
[tool.pydantic-mypy]
init_forbid_extra = true
init_typed = true
warn_required_dynamic_aliases = true
[tool.pytest.ini_options]
testpaths = ["tests"]
python_files = "test_*.py"
addopts = "-ra -q --cov"
asyncio_default_fixture_loop_scope = "function"
asyncio_mode = "auto"
[tool.coverage.report]
show_missing = true
[tool.coverage.run]
source = ["src"]
[[tool.uv.index]]
name = "testpypi"
url = "https://test.pypi.org/simple/"
publish-url = "https://test.pypi.org/legacy/"
explicit = true