Loading .github/workflows/ci.yaml +1 −1 Original line number Diff line number Diff line Loading @@ -46,7 +46,7 @@ jobs: run: isort src tests --check --profile black --filter-files - name: black check run: black src tests --check run: black src tests --check --line-length=100 - name: flake8 check run: flake8 src tests .pre-commit-config.yaml +1 −0 Original line number Diff line number Diff line Loading @@ -19,6 +19,7 @@ repos: args: # - "--check" - "--target-version=py310" - "--line-length=100" - repo: https://github.com/pycqa/flake8 rev: 7.2.0 hooks: Loading examples/example.py +9 −2 Original line number Diff line number Diff line Loading @@ -26,8 +26,15 @@ def main(): # Examples: # EdgeCloud # print("Testing edgecloud client function: get_edge_cloud_zones:") # zones = edgecloud_client.get_edge_cloud_zones() # print(zones) # zones_list = edgecloud_client.get_edge_cloud_zones() # print(zones_list) # print(zones_list.status_code) # print(zones_list.json()) # Pretty print: # import json # zones = zones.json() # print(json.dumps(zones, indent=2)) # Network # print("Testing network client function: 'get_qod_session'") Loading pyproject.toml +4 −1 Original line number Diff line number Diff line Loading @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta" [project] name = "sunrise6g-opensdk" version = "1.0.1" version = "1.0.3" description = "Open source SDK to abstract CAMARA/GSMA Transformation Functions (TFs) for Edge Cloud platforms, 5G network cores and Open RAN solutions." keywords = [ "Federation", Loading Loading @@ -45,7 +45,10 @@ dependencies = [ "auto_mix_prep==0.2.0", "colorlog==6.8.2", "pydantic==2.11.3", "pydantic-extra-types==2.10.3", "requests==2.32.4", "pymongo==4.13.2", "kubernetes==33.1.0", ] [project.urls] Loading .flake8→setup.cfg +1 −1 Original line number Diff line number Diff line Loading @@ -2,7 +2,7 @@ max-line-length = 100 max-complexity = 18 select = B,C,E,F,W,T4,B9 ignore = E203, E266, E501, W503 ignore = E203, E266, E501, W503, F722 per-file-ignores = __init__.py:F401 exclude = Loading Loading
.github/workflows/ci.yaml +1 −1 Original line number Diff line number Diff line Loading @@ -46,7 +46,7 @@ jobs: run: isort src tests --check --profile black --filter-files - name: black check run: black src tests --check run: black src tests --check --line-length=100 - name: flake8 check run: flake8 src tests
.pre-commit-config.yaml +1 −0 Original line number Diff line number Diff line Loading @@ -19,6 +19,7 @@ repos: args: # - "--check" - "--target-version=py310" - "--line-length=100" - repo: https://github.com/pycqa/flake8 rev: 7.2.0 hooks: Loading
examples/example.py +9 −2 Original line number Diff line number Diff line Loading @@ -26,8 +26,15 @@ def main(): # Examples: # EdgeCloud # print("Testing edgecloud client function: get_edge_cloud_zones:") # zones = edgecloud_client.get_edge_cloud_zones() # print(zones) # zones_list = edgecloud_client.get_edge_cloud_zones() # print(zones_list) # print(zones_list.status_code) # print(zones_list.json()) # Pretty print: # import json # zones = zones.json() # print(json.dumps(zones, indent=2)) # Network # print("Testing network client function: 'get_qod_session'") Loading
pyproject.toml +4 −1 Original line number Diff line number Diff line Loading @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta" [project] name = "sunrise6g-opensdk" version = "1.0.1" version = "1.0.3" description = "Open source SDK to abstract CAMARA/GSMA Transformation Functions (TFs) for Edge Cloud platforms, 5G network cores and Open RAN solutions." keywords = [ "Federation", Loading Loading @@ -45,7 +45,10 @@ dependencies = [ "auto_mix_prep==0.2.0", "colorlog==6.8.2", "pydantic==2.11.3", "pydantic-extra-types==2.10.3", "requests==2.32.4", "pymongo==4.13.2", "kubernetes==33.1.0", ] [project.urls] Loading
.flake8→setup.cfg +1 −1 Original line number Diff line number Diff line Loading @@ -2,7 +2,7 @@ max-line-length = 100 max-complexity = 18 select = B,C,E,F,W,T4,B9 ignore = E203, E266, E501, W503 ignore = E203, E266, E501, W503, F722 per-file-ignores = __init__.py:F401 exclude = Loading