-
Notifications
You must be signed in to change notification settings - Fork 23
Expand file tree
/
Copy pathpyproject.toml
More file actions
108 lines (93 loc) · 2.54 KB
/
pyproject.toml
File metadata and controls
108 lines (93 loc) · 2.54 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
[project]
name = "uipath"
version = "2.0.7"
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.10"
dependencies = [
"click>=8.1.8",
"httpx>=0.28.1",
"pydantic>=2.11.1",
"pytest-asyncio>=0.25.3",
"python-dotenv>=1.0.1",
"requests>=2.32.3",
"tenacity>=9.0.0",
"tomli>=2.2.1",
"types-requests>=2.32.0.20250306",
]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"Topic :: Software Development :: Build Tools",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
]
maintainers = [
{ name = "Marius Cosareanu", email = "marius.cosareanu@uipath.com" },
{ name = "Cristian Pufu", email = "cristian.pufu@uipath.com" },
]
[project.urls]
Homepage = "https://uipath.com"
Repository = "https://github.com/UiPath/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-cov>=4.1.0",
"pytest-mock>=3.11.1",
"pre-commit>=4.1.0",
"mkdocs>=1.6.1",
"mkdocs-material>=9.6.7",
"mkdocstrings>=0.29.0",
"mkdocstrings-python>=1.16.5",
]
[project.optional-dependencies]
langchain = ["uipath-langchain>=0.0.88,<0.1.0"]
[tool.ruff]
line-length = 88
indent-width = 4
[tool.ruff.lint]
select = ["E", "F", "B", "I", "D"]
ignore = ["D417"]
[tool.ruff.lint.pydocstyle]
convention = "google"
ignore-decorators = []
[tool.ruff.lint.per-file-ignores]
"*" = ["E501"]
"tests/**" = ["D"]
"*_test.py" = ["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]
plugins = ["pydantic.mypy"]
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"