Skip to content

Fixed some ruff linting issues. #26

Fixed some ruff linting issues.

Fixed some ruff linting issues. #26

Triggered via pull request March 8, 2024 17:23
Status Success
Total duration 19s
Artifacts

py_unit_tests.yml

on: pull_request
Running Python Unit Test Cases
9s
Running Python Unit Test Cases
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 2 warnings
Ruff (E401): repodir/tests/test_git_manager.py#L1
repodir/tests/test_git_manager.py:1:1: E401 Multiple imports on one line
Ruff (E401): repodir/tests/test_github_action_utils.py#L1
repodir/tests/test_github_action_utils.py:1:1: E401 Multiple imports on one line
Ruff (E401): repodir/tests/test_global_variables.py#L2
repodir/tests/test_global_variables.py:2:1: E401 Multiple imports on one line
Ruff (E401): repodir/tests/test_splunk_app_details.py#L1
repodir/tests/test_splunk_app_details.py:1:1: E401 Multiple imports on one line
Ruff (F841): repodir/tests/test_splunk_app_details.py#L88
repodir/tests/test_splunk_app_details.py:88:42: F841 Local variable `excinfo` is assigned to but never used
Ruff (E401): repodir/tests/test_splunk_config_parser.py#L1
repodir/tests/test_splunk_config_parser.py:1:1: E401 Multiple imports on one line
Ruff (F841): repodir/tests/test_splunk_config_parser.py#L22
repodir/tests/test_splunk_config_parser.py:22:13: F841 Local variable `conf` is assigned to but never used
Ruff (E711): repodir/tests/test_splunk_config_parser.py#L26
repodir/tests/test_splunk_config_parser.py:26:24: E711 Comparison to `None` should be `cond is not None`
Ruff (F841): repodir/tests/test_splunk_config_parser.py#L58
repodir/tests/test_splunk_config_parser.py:58:13: F841 Local variable `conf` is assigned to but never used
Ruff (E401): tests/test_git_manager.py#L1
tests/test_git_manager.py:1:1: E401 Multiple imports on one line
Running Python Unit Test Cases
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-python@v4. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Running Python Unit Test Cases
The `python-version` input is not set. The version of Python currently in `PATH` will be used.