Skip to content

DRAFT Ruff: create config file and run auto format & fixes #1223

DRAFT Ruff: create config file and run auto format & fixes

DRAFT Ruff: create config file and run auto format & fixes #1223

Triggered via pull request October 8, 2024 12:49
Status Failure
Total duration 2m 11s
Artifacts

unit-tests.yml

on: pull_request
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 5 warnings
Ruff (INP001): docs/source/conf.py#L1
docs/source/conf.py:1:1: INP001 File `docs/source/conf.py` is part of an implicit namespace package. Add an `__init__.py`.
Ruff (A001): docs/source/conf.py#L10
docs/source/conf.py:10:1: A001 Variable `copyright` is shadowing a Python builtin
Ruff (DTZ005): docs/source/conf.py#L10
docs/source/conf.py:10:16: DTZ005 `datetime.datetime.now()` called without a `tz` argument
Ruff (E501): docs/source/conf.py#L34
docs/source/conf.py:34:121: E501 Line too long (628 > 120)
Ruff (FBT001): robotidy/api.py#L13
robotidy/api.py:13:48: FBT001 Boolean-typed positional argument in function definition
Ruff (FBT002): robotidy/api.py#L13
robotidy/api.py:13:48: FBT002 Boolean default positional argument in function definition
Ruff (TCH001): robotidy/app.py#L14
robotidy/app.py:14:29: TCH001 Move application import `robotidy.config.MainConfig` into a type-checking block
Ruff (PLW2901): robotidy/app.py#L47
robotidy/app.py:47:21: PLW2901 `for` loop variable `source` overwritten by assignment target
Ruff (FBT001): robotidy/app.py#L72
robotidy/app.py:72:89: FBT001 Boolean-typed positional argument in function definition
Ruff (FBT001): robotidy/app.py#L92
robotidy/app.py:92:49: FBT001 Boolean-typed positional argument in function definition
test (ubuntu-latest, 3.9, rf5)
Codecov: Failed to properly create commit: The process '/home/runner/work/_actions/codecov/codecov-action/v4.4.1/dist/codecov' failed with exit code 1
test (ubuntu-latest, 3.10, rf6)
Codecov: Failed to properly create commit: The process '/home/runner/work/_actions/codecov/codecov-action/v4.4.1/dist/codecov' failed with exit code 1
test (ubuntu-latest, 3.11, rf6)
Codecov: Failed to properly create commit: The process '/home/runner/work/_actions/codecov/codecov-action/v4.4.1/dist/codecov' failed with exit code 1
test (ubuntu-latest, 3.12, rf7)
Codecov: Failed to properly create commit: The process '/home/runner/work/_actions/codecov/codecov-action/v4.4.1/dist/codecov' failed with exit code 1
test (windows-latest, 3.9, rf4)
Codecov: Failed to properly create commit: The process 'D:\a\_actions\codecov\codecov-action\v4.4.1\dist\codecov.exe' failed with exit code 1