forked from strands-agents/harness-sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
50 lines (43 loc) · 1.28 KB
/
Copy pathpyproject.toml
File metadata and controls
50 lines (43 loc) · 1.28 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
[project]
name = "strands-monorepo-tools"
version = "0.0.0"
description = "Shared Python tooling for the Strands monorepo. Not published."
requires-python = ">=3.10"
dependencies = [
# Linter/formatter used by ``strandly fmt``.
"ruff>=0.13.0,<0.15.0",
# Type checker.
"pyright>=1.1.400",
# Test runner for the shared venv.
"pytest>=9.0.3",
"pytest-asyncio>=1.3.0",
]
[tool.setuptools]
# We don't ship a distribution. Suppress the auto-discovery warning.
packages = []
[tool.pytest.ini_options]
asyncio_mode = "auto"
cache_dir = ".pytest_cache"
# Ruff config lives here because ruff walks up from the file it's linting
# and the monorepo has a single style.
[tool.ruff]
line-length = 120
[tool.ruff.lint]
select = [
"B", # flake8-bugbear
"E", # pycodestyle
"F", # pyflakes
"I", # isort
"UP", # pyupgrade
]
# Pyright config lives here for the same reason as ruff: one rule for
# the whole monorepo. Pyright walks up to find the nearest pyproject.
# `exclude` is omitted so pyright inherits its built-in defaults
# (**/node_modules, **/__pycache__, **/.*); setting it would replace
# those, not merge.
[tool.pyright]
pythonVersion = "3.10"
pythonPlatform = "All"
typeCheckingMode = "standard"
reportMissingTypeStubs = false
reportMissingImports = "warning"