Skip to content

Commit 921a2a0

Browse files
More dissection and consolidation of dependencies as appropriate. Try to get CI Actions to pass for 'uv run ruff check' on 2 particular projects (sftp-outbound-transfer-lambda and locust_tests).
1 parent 9e080a1 commit 921a2a0

4 files changed

Lines changed: 7 additions & 67 deletions

File tree

apps/bfd-model-idr/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ dependencies = [
88
"pandas>=3.0.2",
99
"xlsxwriter>=3.2.5",
1010
"pyyaml>=6.0.2",
11-
"pydantic>=2.12.3",
11+
"pydantic",
1212
"tqdm>=4.67.1",
1313
"click>=8.3.1",
1414
"requests>=2.32.5",

apps/utils/locust_tests/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ dependencies = [
1313
"jinja2>=3.1.6",
1414
"idna>=3.7",
1515
"certifi>=2025.4.26",
16-
"psycopg[binary,pool]>=3.2.9",
16+
"psycopg[binary,pool]",
1717
]
1818

1919
[dependency-groups]

apps/utils/samhsa-regression-tests/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ version = "1.0.0"
44
requires-python = ">=3.14"
55
dependencies = [
66
"aiohttp>=3.13.0",
7-
"psycopg[binary]>=3.2.10",
7+
"psycopg[binary]>=3.2.10"",
88
"asyncclick>=8.3.0.5",
99
"anyio>=4.11.0",
1010
"pydantic",

ops/services/02-bene-prefs/lambda_src/bene_prefs/pyproject.toml

Lines changed: 4 additions & 64 deletions
Original file line numberDiff line numberDiff line change
@@ -14,68 +14,8 @@ dependencies = [
1414

1515
[dependency-groups]
1616
dev = [
17-
"uv>=0.9.11",
18-
"testcontainers>=4.13.3",
19-
"pyright>=1.1.407",
17+
"ruff",
18+
"uv",
19+
"pytest",
20+
"pyright",
2021
]
21-
22-
[tool.ruff]
23-
# Set the maximum line length to 100.
24-
line-length = 100
25-
26-
[tool.ruff.lint]
27-
select = [
28-
"D", # pydocstyle
29-
"E501",
30-
# pycodestyle
31-
"E",
32-
# Pyflakes
33-
"F",
34-
# pyupgrade
35-
"UP",
36-
# flake8-bugbear
37-
"B",
38-
# flake8-simplify
39-
"SIM",
40-
# isort
41-
"I",
42-
"ANN",
43-
"LOG",
44-
"G",
45-
"PT",
46-
"RSE",
47-
"PIE",
48-
"RET",
49-
"SLF",
50-
"ARG",
51-
"PTH",
52-
"PLE",
53-
"PLW",
54-
"PERF",
55-
"FURB",
56-
"RUF",
57-
]
58-
59-
# Don't require docstrings
60-
ignore = ["D100", "D101", "D102", "D103", "D104", "D105", "D107"]
61-
62-
[tool.ruff.lint.pydocstyle]
63-
convention = "pep257"
64-
65-
[tool.ruff.format]
66-
quote-style = "double"
67-
indent-style = "space"
68-
docstring-code-format = true
69-
70-
[tool.pyright]
71-
typeCheckingMode = "strict"
72-
venvPath = "."
73-
venv = ".venv"
74-
reportMissingTypeStubs = "none"
75-
# Usage of _some_ of Powertools for AWS Lambda necessitates disabling some of Pyright's strict mode
76-
# features, sadly. The Powertools team seems to be aware of this incompatibility, but it seems
77-
# unlikely that any improvements will be made.
78-
reportUnknownMemberType = false
79-
reportUnknownVariableType = false
80-
reportUnknownArgumentType = false
81-
reportUnknownParameterType = false

0 commit comments

Comments
 (0)