Skip to content

Commit b5e5119

Browse files
Save current state of branch.
# Conflicts: # ops/services/04-idr-pipeline/lambda_src/consume-idr-events/pyproject.toml # ops/services/04-idr-pipeline/lambda_src/consume-idr-events/uv.lock
1 parent 21ce29c commit b5e5119

41 files changed

Lines changed: 322 additions & 9401 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/ci-python.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ on:
1313
env:
1414
BASE_COMMIT: ""
1515
GH_TOKEN: ${{ github.token }}
16+
PYTHON_MIN: 3.13
17+
PYTHON_MAX: 3.14
1618

1719
jobs:
1820
matrix-pytest:
@@ -65,7 +67,7 @@ jobs:
6567
run: |
6668
echo "Testing ${{ matrix.projects.projectName }}"
6769
cd ${{ github.workspace }}/${{ matrix.projects.projectRoot }}
68-
uv python install
70+
uv python install ${{ env.PYTHON_MIN }} ${{ env.PYTHON_MAX }}
6971
${{ matrix.projects.uvCommand }}
7072
# check linting
7173
uv run ruff check

apps/bfd-model-idr/pyproject.toml

Lines changed: 3 additions & 58 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
[project]
2-
name = "generator"
2+
name = "sythetic-data-generator"
33
version = "0.1.0"
4-
description = "Add your description here"
4+
description = " IDR Model Sythetic Data Generator"
55
readme = "README.md"
6-
requires-python = ">=3.13"
6+
requires-python = "==3.13.*"
77
dependencies = [
88
"faker>=37.1.0",
99
"pandas>=2.2.3",
@@ -14,58 +14,3 @@ dependencies = [
1414
"click>=8.3.1",
1515
"requests>=2.32.5",
1616
]
17-
18-
[dependency-groups]
19-
dev = [
20-
"ruff>=0.12.9",
21-
"uv>=0.8.10",
22-
"pyright>=1.1.403",
23-
"debugpy>=1.8.19",
24-
]
25-
26-
[tool.ruff]
27-
# Set the maximum line length to 100.
28-
line-length = 100
29-
30-
[tool.ruff.lint]
31-
select = [
32-
"D", # pydocstyle
33-
"E501",
34-
# pycodestyle
35-
"E",
36-
# Pyflakes
37-
"F",
38-
# pyupgrade
39-
"UP",
40-
# flake8-bugbear
41-
"B",
42-
# flake8-simplify
43-
"SIM",
44-
# isort
45-
"I",
46-
# "ANN",
47-
"LOG",
48-
"G",
49-
"PT",
50-
"RSE",
51-
"PIE",
52-
"RET",
53-
"SLF",
54-
"ARG",
55-
"PTH",
56-
"PLE",
57-
"PLW",
58-
"PERF",
59-
"FURB",
60-
"RUF",
61-
]
62-
# Don't require docstrings
63-
ignore = ["D100", "D101", "D102", "D103", "D104", "D105", "D107"]
64-
65-
[tool.ruff.lint.pydocstyle]
66-
convention = "pep257"
67-
68-
[tool.ruff.format]
69-
quote-style = "double"
70-
indent-style = "space"
71-
docstring-code-format = true

apps/bfd-model-idr/uv.lock

Lines changed: 0 additions & 481 deletions
This file was deleted.

apps/bfd-pipeline-idr/.python-version

Lines changed: 0 additions & 1 deletion
This file was deleted.
Lines changed: 8 additions & 65 deletions
Original file line numberDiff line numberDiff line change
@@ -1,81 +1,24 @@
11
[project]
22
name = "bfd-pipeline-idr"
3-
version = "0.1.0"
4-
description = "Add your description here"
3+
version = "0.2.0"
4+
description = "BFD IDR Pipeline"
55
readme = "README.md"
6-
requires-python = ">=3.14"
6+
requires-python = "==3.14.*"
77
dependencies = [
8+
"cryptography==45.0.6",
9+
"psycopg[binary,pool]==3.2.13",
10+
"pydantic==2.12.4",
11+
"snowflake-connector-python>=4.1.0",
12+
"python-dateutil==2.9.0",
813
"cryptography>=45.0.6",
914
"psycopg[binary,pool]>=3.2.13",
1015
"pydantic>=2.12.4",
1116
"snowflake-connector-python>=4.1.0",
1217
"sf-hamilton>=1.89.0",
1318
"python-dateutil>=2.9.0",
14-
"usaddress>=0.5.16",
15-
"unidecode>=1.4.0",
1619
]
1720

1821
[dependency-groups]
1922
dev = [
20-
"ruff>=0.14.6",
21-
"uv>=0.9.11",
22-
"pytest>=9.0.1",
2323
"testcontainers>=4.13.3",
24-
"pyright>=1.1.407",
25-
]
26-
27-
# [[tool.mypy.overrides]]
28-
# module = ["testcontainers.*"]
29-
# follow_untyped_imports = true
30-
31-
[tool.ruff]
32-
# Set the maximum line length to 100.
33-
line-length = 100
34-
35-
[tool.ruff.lint]
36-
select = [
37-
"D", # pydocstyle
38-
"E501",
39-
# pycodestyle
40-
"E",
41-
# Pyflakes
42-
"F",
43-
# pyupgrade
44-
"UP",
45-
# flake8-bugbear
46-
"B",
47-
# flake8-simplify
48-
"SIM",
49-
# isort
50-
"I",
51-
"ANN",
52-
"LOG",
53-
"G",
54-
"PT",
55-
"RSE",
56-
"PIE",
57-
"RET",
58-
"SLF",
59-
"ARG",
60-
"PTH",
61-
"PLE",
62-
"PLW",
63-
"PERF",
64-
"FURB",
65-
"RUF",
6624
]
67-
# Don't require docstrings
68-
ignore = ["D100", "D101", "D102", "D103", "D104", "D105", "D107"]
69-
70-
[tool.ruff.lint.pydocstyle]
71-
convention = "pep257"
72-
73-
[tool.ruff.format]
74-
quote-style = "double"
75-
indent-style = "space"
76-
docstring-code-format = true
77-
78-
[tool.pyright]
79-
typeCheckingMode = "strict"
80-
venvPath = "."
81-
venv = ".venv"

apps/bfd-pipeline-idr/uv.lock

Lines changed: 0 additions & 912 deletions
This file was deleted.
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[project]
2-
name = "codegen"
2+
name = "bfd-server-ng-codegen"
33
version = "0.1.0"
4-
description = "Add your description here"
4+
description = "BFD Server NG Codegen"
55
readme = "README.md"
6-
requires-python = ">=3.13"
6+
requires-python = "==3.13.*"
77
dependencies = []

apps/bfd-server-ng/codegen/uv.lock

Lines changed: 0 additions & 8 deletions
This file was deleted.

apps/utils/locust_tests/pyproject.toml

Lines changed: 5 additions & 66 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[project]
2-
requires-python = ">=3.13"
2+
requires-python = "==3.13.*"
33
name = "locust-tests"
44
version = "1.0.0"
55
dependencies = [
@@ -19,62 +19,16 @@ dependencies = [
1919

2020
[dependency-groups]
2121
dev = [
22-
"ruff>=0.11.11",
2322
"types-boto3[essential,ssm]>=1.38.19",
2423
"types-gevent>=25.4.0.20250516",
25-
"uv>=0.7.8",
26-
"pyright>=1.1.403",
2724
]
2825
# Install this dependency group (via uv [sync|run] --group lambda-run-locust) when working on the
2926
# run-locust Lambda
3027
lambda-run-locust = ["aws-lambda-powertools[all]>=3.8.0"]
3128

32-
[tool.ruff]
33-
# Set the maximum line length to 100.
34-
line-length = 100
35-
36-
[tool.ruff.lint]
37-
select = [
38-
"D", # pydocstyle
39-
"E501",
40-
# pycodestyle
41-
"E",
42-
# Pyflakes
43-
"F",
44-
# pyupgrade
45-
"UP",
46-
# flake8-bugbear
47-
"B",
48-
# flake8-simplify
49-
"SIM",
50-
# isort
51-
"I",
52-
"ANN",
53-
"LOG",
54-
"G",
55-
"PT",
56-
"RSE",
57-
"PIE",
58-
"RET",
59-
"SLF",
60-
"ARG",
61-
"PTH",
62-
"PLE",
63-
"PLW",
64-
"PERF",
65-
"FURB",
66-
"RUF",
67-
]
68-
# Don't require docstrings
69-
ignore = ["D100", "D101", "D102", "D103", "D104", "D105", "D107", "D205"]
70-
71-
[tool.ruff.lint.pydocstyle]
72-
convention = "pep257"
73-
74-
[tool.ruff.format]
75-
quote-style = "double"
76-
indent-style = "space"
77-
docstring-code-format = true
29+
# Inherits tool configurations from
30+
# ../../pyproject.toml (apps workspace) and
31+
# ../../../pyproject.toml (root)
7832

7933
[tool.locust]
8034
# Specify locust test parameters here or on the command line
@@ -94,23 +48,8 @@ docstring-code-format = true
9448
# stats-store-tag = some_tag2
9549
# stats-compare-previous = true
9650

97-
[tool.black]
98-
# Compromise between Black's default of 88 and wasting horizontal screen space.
99-
# According to Black's style guide, line lengths greater than 100 cause issues
100-
# for individuals with poor sight. So, 100 seems like the best bet here.
101-
line-length = 100
102-
103-
[tool.isort]
104-
profile = "isort"
105-
10651
[tool.pyright]
107-
venvPath = "."
108-
venv = ".venv"
109-
typeCheckingMode = "strict"
110-
# Compromising between practicality and strictness here by enabling strict type checking and
111-
# selectively disabling rules that are, realistically, not possible to fully resolve in a project
112-
# using boto3 and Locust
113-
# TODO: In the future, consider enabling some of these where possible to take full advantage of Pyright
52+
# Project-specific pyright overrides for locust_tests
11453
reportUnknownMemberType = false
11554
reportUnknownVariableType = false
11655
reportUnknownArgumentType = false

0 commit comments

Comments
 (0)