Skip to content

First crack at default config for ruff - Step 3.5 - ESCU 5.0 #28

First crack at default config for ruff - Step 3.5 - ESCU 5.0

First crack at default config for ruff - Step 3.5 - ESCU 5.0 #28

Triggered via pull request January 17, 2025 19:27
@josehelpsjosehelps
synchronize #254
ruff_config
Status Failure
Total duration 21s
Artifacts

ruff.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
Ruff (F401): contentctl/actions/build.py#L1
contentctl/actions/build.py:1:8: F401 `sys` imported but unused
Ruff (F401): contentctl/actions/build.py#L3
contentctl/actions/build.py:3:8: F401 `os` imported but unused
Ruff (F401): contentctl/actions/build.py#L7
contentctl/actions/build.py:7:38: F401 `contentctl.objects.enums.SecurityContentType` imported but unused
Ruff (F401): contentctl/actions/build.py#L8
contentctl/actions/build.py:8:39: F401 `contentctl.input.director.Director` imported but unused
Ruff (F841): contentctl/actions/deploy_acs.py#L45
contentctl/actions/deploy_acs.py:45:29: F841 Local variable `e` is assigned to but never used
Ruff (F841): contentctl/actions/deploy_acs.py#L48
contentctl/actions/deploy_acs.py:48:33: F841 Local variable `e` is assigned to but never used
Ruff (F401): contentctl/actions/detection_testing/DetectionTestingManager.py#L6
contentctl/actions/detection_testing/DetectionTestingManager.py:6:26: F401 `urllib.parse.urlparse` imported but unused
Ruff (F401): contentctl/actions/detection_testing/DetectionTestingManager.py#L7
contentctl/actions/detection_testing/DetectionTestingManager.py:7:18: F401 `copy.deepcopy` imported but unused
Ruff (F401): contentctl/actions/detection_testing/DetectionTestingManager.py#L13
contentctl/actions/detection_testing/DetectionTestingManager.py:13:8: F401 `ctypes` imported but unused
Ruff (F811): contentctl/actions/detection_testing/DetectionTestingManager.py#L15
contentctl/actions/detection_testing/DetectionTestingManager.py:15:5: F811 Redefinition of unused `DetectionTestingInfrastructure` from line 3
lint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636