Skip to content

chore: get update-gyp.py to work with Python >= v3.5 #524

chore: get update-gyp.py to work with Python >= v3.5

chore: get update-gyp.py to work with Python >= v3.5 #524

Re-run triggered April 6, 2023 17:20
Status Failure
Total duration 10m 1s
Artifacts

tests.yml

on: pull_request
Lint_Python
6s
Lint_Python
Matrix: Tests
Fit to window
Zoom out
Zoom in

Annotations

8 errors
Ruff (PLC1901): gyp/pylib/gyp/generator/msvs.py#L3587
gyp/pylib/gyp/generator/msvs.py:3587:46: PLC1901 `precompiled_source != ""` can be simplified to `precompiled_source` as an empty string is falsey
Ruff (PLC1901): gyp/pylib/gyp/input.py#L379
gyp/pylib/gyp/input.py:379:17: PLC1901 `d == ""` can be simplified to `not d` as an empty string is falsey
Ruff (PLC1901): gyp/pylib/gyp/input.py#L861
gyp/pylib/gyp/input.py:861:34: PLC1901 `build_file_dir == ""` can be simplified to `not build_file_dir` as an empty string is falsey
Ruff (PLC1901): gyp/pylib/gyp/xcodeproj_file.py#L974
gyp/pylib/gyp/xcodeproj_file.py:974:24: PLC1901 `name != ""` can be simplified to `name` as an empty string is falsey
Ruff (PLC1901): gyp/pylib/gyp/xcodeproj_file.py#L1322
gyp/pylib/gyp/xcodeproj_file.py:1322:27: PLC1901 `grandparent == ""` can be simplified to `not grandparent` as an empty string is falsey
Ruff (PLC1901): gyp/pylib/gyp/xcodeproj_file.py#L1627
gyp/pylib/gyp/xcodeproj_file.py:1627:27: PLC1901 `ext != ""` can be simplified to `ext` as an empty string is falsey
Ruff (PLC1901): gyp/pylib/gyp/xcodeproj_file.py#L2021
gyp/pylib/gyp/xcodeproj_file.py:2021:19: PLC1901 `ext != ""` can be simplified to `ext` as an empty string is falsey
Lint_Python
Process completed with exit code 1.