-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
108 lines (92 loc) · 2.44 KB
/
pyproject.toml
File metadata and controls
108 lines (92 loc) · 2.44 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-runtime"
version = "0.9.3"
description = "Runtime abstractions and interfaces for building agents and automation scripts in the UiPath ecosystem"
readme = { file = "README.md", content-type = "text/markdown" }
requires-python = ">=3.11"
dependencies = [
"uipath-core>=0.5.2, <0.6.0"
]
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 = [
{ name = "Cristian Pufu", email = "cristian.pufu@uipath.com" },
]
[project.urls]
Homepage = "https://uipath.com"
Repository = "https://github.com/UiPath/uipath-runtime-python"
Documentation = "https://uipath.github.io/uipath-python/"
[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.1.0",
]
[tool.hatch.build.targets.wheel]
packages = ["src/uipath"]
[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.pydocstyle]
convention = "google"
ignore-decorators = []
[tool.ruff.lint.per-file-ignores]
"*" = ["E501"]
"tests/**" = ["D"]
"*_test.py" = ["D"]
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
skip-magic-trailing-comma = false
line-ending = "auto"
[tool.mypy]
plugins = ["pydantic.mypy"]
mypy_path = "src"
explicit_package_bases = true
namespace_packages = 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=src/uipath --cov-report=term-missing"
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