Skip to content

fix: fix PLR1714 lint errors #78

fix: fix PLR1714 lint errors

fix: fix PLR1714 lint errors #78

Triggered via pull request August 25, 2023 23:16
Status Failure
Total duration 1m 41s
Artifacts

python_tests.yml

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

Annotations

100 errors
Ruff (PLR1714): pylib/gyp/generator/make.py#L2031
pylib/gyp/generator/make.py:2031:16: PLR1714 Consider merging multiple comparisons: `self.alias not in (self.output, self.target)`. Use a `set` if the elements are hashable.
Ruff (E721): pylib/gyp/generator/msvs.py#L279
pylib/gyp/generator/msvs.py:279:12: E721 Do not compare types, use `isinstance()`
Ruff (E721): pylib/gyp/generator/msvs.py#L291
pylib/gyp/generator/msvs.py:291:12: E721 Do not compare types, use `isinstance()`
Ruff (E721): pylib/gyp/generator/msvs.py#L291
pylib/gyp/generator/msvs.py:291:44: E721 Do not compare types, use `isinstance()`
Ruff (E721): pylib/gyp/generator/msvs.py#L1425
pylib/gyp/generator/msvs.py:1425:16: E721 Do not compare types, use `isinstance()`
Ruff (E721): pylib/gyp/generator/msvs.py#L1821
pylib/gyp/generator/msvs.py:1821:12: E721 Do not compare types, use `isinstance()`
Ruff (E721): pylib/gyp/generator/msvs.py#L1843
pylib/gyp/generator/msvs.py:1843:8: E721 Do not compare types, use `isinstance()`
Ruff (E721): pylib/gyp/generator/msvs.py#L1845
pylib/gyp/generator/msvs.py:1845:8: E721 Do not compare types, use `isinstance()`
Ruff (E721): pylib/gyp/generator/msvs.py#L1865
pylib/gyp/generator/msvs.py:1865:30: E721 Do not compare types, use `isinstance()`
Ruff (E721): pylib/gyp/generator/msvs.py#L3441
pylib/gyp/generator/msvs.py:3441:8: E721 Do not compare types, use `isinstance()`
Ruff (PLR1714): pylib/gyp/generator/make.py#L2031
pylib/gyp/generator/make.py:2031:16: PLR1714 Consider merging multiple comparisons: `self.alias not in (self.output, self.target)`. Use a `set` if the elements are hashable.
Ruff (E721): pylib/gyp/generator/msvs.py#L279
pylib/gyp/generator/msvs.py:279:12: E721 Do not compare types, use `isinstance()`
Ruff (E721): pylib/gyp/generator/msvs.py#L291
pylib/gyp/generator/msvs.py:291:12: E721 Do not compare types, use `isinstance()`
Ruff (E721): pylib/gyp/generator/msvs.py#L291
pylib/gyp/generator/msvs.py:291:44: E721 Do not compare types, use `isinstance()`
Ruff (PLR1714): pylib/gyp/generator/make.py#L2031
pylib/gyp/generator/make.py:2031:16: PLR1714 Consider merging multiple comparisons: `self.alias not in (self.output, self.target)`. Use a `set` if the elements are hashable.
Ruff (E721): pylib/gyp/generator/msvs.py#L279
pylib/gyp/generator/msvs.py:279:12: E721 Do not compare types, use `isinstance()`
Ruff (E721): pylib/gyp/generator/msvs.py#L1425
pylib/gyp/generator/msvs.py:1425:16: E721 Do not compare types, use `isinstance()`
Ruff (E721): pylib/gyp/generator/msvs.py#L291
pylib/gyp/generator/msvs.py:291:12: E721 Do not compare types, use `isinstance()`
Ruff (E721): pylib/gyp/generator/msvs.py#L291
pylib/gyp/generator/msvs.py:291:44: E721 Do not compare types, use `isinstance()`
Ruff (E721): pylib/gyp/generator/msvs.py#L1821
pylib/gyp/generator/msvs.py:1821:12: E721 Do not compare types, use `isinstance()`
Ruff (E721): pylib/gyp/generator/msvs.py#L1425
pylib/gyp/generator/msvs.py:1425:16: E721 Do not compare types, use `isinstance()`
Ruff (E721): pylib/gyp/generator/msvs.py#L1843
pylib/gyp/generator/msvs.py:1843:8: E721 Do not compare types, use `isinstance()`
Ruff (E721): pylib/gyp/generator/msvs.py#L1821
pylib/gyp/generator/msvs.py:1821:12: E721 Do not compare types, use `isinstance()`
Ruff (E721): pylib/gyp/generator/msvs.py#L1843
pylib/gyp/generator/msvs.py:1843:8: E721 Do not compare types, use `isinstance()`
Ruff (E721): pylib/gyp/generator/msvs.py#L1845
pylib/gyp/generator/msvs.py:1845:8: E721 Do not compare types, use `isinstance()`
Ruff (E721): pylib/gyp/generator/msvs.py#L1845
pylib/gyp/generator/msvs.py:1845:8: E721 Do not compare types, use `isinstance()`
Ruff (E721): pylib/gyp/generator/msvs.py#L1865
pylib/gyp/generator/msvs.py:1865:30: E721 Do not compare types, use `isinstance()`
Ruff (E721): pylib/gyp/generator/msvs.py#L1865
pylib/gyp/generator/msvs.py:1865:30: E721 Do not compare types, use `isinstance()`
Ruff (E721): pylib/gyp/generator/msvs.py#L3441
pylib/gyp/generator/msvs.py:3441:8: E721 Do not compare types, use `isinstance()`
Ruff (E721): pylib/gyp/generator/msvs.py#L3441
pylib/gyp/generator/msvs.py:3441:8: E721 Do not compare types, use `isinstance()`
Ruff (PLR1714): pylib/gyp/generator/make.py#L2031
pylib/gyp/generator/make.py:2031:16: PLR1714 Consider merging multiple comparisons: `self.alias not in (self.output, self.target)`. Use a `set` if the elements are hashable.
Ruff (E721): pylib/gyp/generator/msvs.py#L279
pylib/gyp/generator/msvs.py:279:12: E721 Do not compare types, use `isinstance()`
Ruff (E721): pylib/gyp/generator/msvs.py#L291
pylib/gyp/generator/msvs.py:291:12: E721 Do not compare types, use `isinstance()`
Ruff (E721): pylib/gyp/generator/msvs.py#L291
pylib/gyp/generator/msvs.py:291:44: E721 Do not compare types, use `isinstance()`
Ruff (E721): pylib/gyp/generator/msvs.py#L1425
pylib/gyp/generator/msvs.py:1425:16: E721 Do not compare types, use `isinstance()`
Ruff (E721): pylib/gyp/generator/msvs.py#L1821
pylib/gyp/generator/msvs.py:1821:12: E721 Do not compare types, use `isinstance()`
Ruff (E721): pylib/gyp/generator/msvs.py#L1843
pylib/gyp/generator/msvs.py:1843:8: E721 Do not compare types, use `isinstance()`
Ruff (E721): pylib/gyp/generator/msvs.py#L1845
pylib/gyp/generator/msvs.py:1845:8: E721 Do not compare types, use `isinstance()`
Ruff (E721): pylib/gyp/generator/msvs.py#L1865
pylib/gyp/generator/msvs.py:1865:30: E721 Do not compare types, use `isinstance()`
Ruff (E721): pylib/gyp/generator/msvs.py#L3441
pylib/gyp/generator/msvs.py:3441:8: E721 Do not compare types, use `isinstance()`
Ruff (PLR1714): pylib/gyp/generator/make.py#L2031
pylib/gyp/generator/make.py:2031:16: PLR1714 Consider merging multiple comparisons: `self.alias not in (self.output, self.target)`. Use a `set` if the elements are hashable.
Ruff (E721): pylib/gyp/generator/msvs.py#L279
pylib/gyp/generator/msvs.py:279:12: E721 Do not compare types, use `isinstance()`
Ruff (E721): pylib/gyp/generator/msvs.py#L291
pylib/gyp/generator/msvs.py:291:12: E721 Do not compare types, use `isinstance()`
Ruff (E721): pylib/gyp/generator/msvs.py#L291
pylib/gyp/generator/msvs.py:291:44: E721 Do not compare types, use `isinstance()`
Ruff (E721): pylib/gyp/generator/msvs.py#L1425
pylib/gyp/generator/msvs.py:1425:16: E721 Do not compare types, use `isinstance()`
Ruff (E721): pylib/gyp/generator/msvs.py#L1821
pylib/gyp/generator/msvs.py:1821:12: E721 Do not compare types, use `isinstance()`
Ruff (E721): pylib/gyp/generator/msvs.py#L1843
pylib/gyp/generator/msvs.py:1843:8: E721 Do not compare types, use `isinstance()`
Ruff (E721): pylib/gyp/generator/msvs.py#L1845
pylib/gyp/generator/msvs.py:1845:8: E721 Do not compare types, use `isinstance()`
Ruff (E721): pylib/gyp/generator/msvs.py#L1865
pylib/gyp/generator/msvs.py:1865:30: E721 Do not compare types, use `isinstance()`
Ruff (E721): pylib/gyp/generator/msvs.py#L3441
pylib/gyp/generator/msvs.py:3441:8: E721 Do not compare types, use `isinstance()`
Ruff (PLR1714): pylib/gyp/generator/make.py#L2031
pylib/gyp/generator/make.py:2031:16: PLR1714 Consider merging multiple comparisons: `self.alias not in (self.output, self.target)`. Use a `set` if the elements are hashable.
Ruff (E721): pylib/gyp/generator/msvs.py#L279
pylib/gyp/generator/msvs.py:279:12: E721 Do not compare types, use `isinstance()`
Ruff (E721): pylib/gyp/generator/msvs.py#L291
pylib/gyp/generator/msvs.py:291:12: E721 Do not compare types, use `isinstance()`
Ruff (E721): pylib/gyp/generator/msvs.py#L291
pylib/gyp/generator/msvs.py:291:44: E721 Do not compare types, use `isinstance()`
Ruff (E721): pylib/gyp/generator/msvs.py#L1425
pylib/gyp/generator/msvs.py:1425:16: E721 Do not compare types, use `isinstance()`
Ruff (E721): pylib/gyp/generator/msvs.py#L1821
pylib/gyp/generator/msvs.py:1821:12: E721 Do not compare types, use `isinstance()`
Ruff (E721): pylib/gyp/generator/msvs.py#L1843
pylib/gyp/generator/msvs.py:1843:8: E721 Do not compare types, use `isinstance()`
Ruff (E721): pylib/gyp/generator/msvs.py#L1845
pylib/gyp/generator/msvs.py:1845:8: E721 Do not compare types, use `isinstance()`
Ruff (E721): pylib/gyp/generator/msvs.py#L1865
pylib/gyp/generator/msvs.py:1865:30: E721 Do not compare types, use `isinstance()`
Ruff (E721): pylib/gyp/generator/msvs.py#L3441
pylib/gyp/generator/msvs.py:3441:8: E721 Do not compare types, use `isinstance()`
Ruff (PLR1714): pylib/gyp/generator/make.py#L2031
pylib/gyp/generator/make.py:2031:16: PLR1714 Consider merging multiple comparisons: `self.alias not in (self.output, self.target)`. Use a `set` if the elements are hashable.
Ruff (E721): pylib/gyp/generator/msvs.py#L279
pylib/gyp/generator/msvs.py:279:12: E721 Do not compare types, use `isinstance()`
Ruff (E721): pylib/gyp/generator/msvs.py#L291
pylib/gyp/generator/msvs.py:291:12: E721 Do not compare types, use `isinstance()`
Ruff (E721): pylib/gyp/generator/msvs.py#L291
pylib/gyp/generator/msvs.py:291:44: E721 Do not compare types, use `isinstance()`
Ruff (E721): pylib/gyp/generator/msvs.py#L1425
pylib/gyp/generator/msvs.py:1425:16: E721 Do not compare types, use `isinstance()`
Ruff (E721): pylib/gyp/generator/msvs.py#L1821
pylib/gyp/generator/msvs.py:1821:12: E721 Do not compare types, use `isinstance()`
Ruff (E721): pylib/gyp/generator/msvs.py#L1843
pylib/gyp/generator/msvs.py:1843:8: E721 Do not compare types, use `isinstance()`
Ruff (E721): pylib/gyp/generator/msvs.py#L1845
pylib/gyp/generator/msvs.py:1845:8: E721 Do not compare types, use `isinstance()`
Ruff (E721): pylib/gyp/generator/msvs.py#L1865
pylib/gyp/generator/msvs.py:1865:30: E721 Do not compare types, use `isinstance()`
Ruff (E721): pylib/gyp/generator/msvs.py#L3441
pylib/gyp/generator/msvs.py:3441:8: E721 Do not compare types, use `isinstance()`
Ruff (PLR1714): pylib/gyp/generator/make.py#L2031
pylib/gyp/generator/make.py:2031:16: PLR1714 Consider merging multiple comparisons: `self.alias not in (self.output, self.target)`. Use a `set` if the elements are hashable.
Ruff (E721): pylib/gyp/generator/msvs.py#L279
pylib/gyp/generator/msvs.py:279:12: E721 Do not compare types, use `isinstance()`
Ruff (E721): pylib/gyp/generator/msvs.py#L291
pylib/gyp/generator/msvs.py:291:12: E721 Do not compare types, use `isinstance()`
Ruff (E721): pylib/gyp/generator/msvs.py#L291
pylib/gyp/generator/msvs.py:291:44: E721 Do not compare types, use `isinstance()`
Ruff (E721): pylib/gyp/generator/msvs.py#L1425
pylib/gyp/generator/msvs.py:1425:16: E721 Do not compare types, use `isinstance()`
Ruff (E721): pylib/gyp/generator/msvs.py#L1821
pylib/gyp/generator/msvs.py:1821:12: E721 Do not compare types, use `isinstance()`
Ruff (E721): pylib/gyp/generator/msvs.py#L1843
pylib/gyp/generator/msvs.py:1843:8: E721 Do not compare types, use `isinstance()`
Ruff (E721): pylib/gyp/generator/msvs.py#L1845
pylib/gyp/generator/msvs.py:1845:8: E721 Do not compare types, use `isinstance()`
Ruff (E721): pylib/gyp/generator/msvs.py#L1865
pylib/gyp/generator/msvs.py:1865:30: E721 Do not compare types, use `isinstance()`
Ruff (E721): pylib/gyp/generator/msvs.py#L3441
pylib/gyp/generator/msvs.py:3441:8: E721 Do not compare types, use `isinstance()`
Ruff (PLR1714): pylib/gyp/generator/make.py#L2031
pylib/gyp/generator/make.py:2031:16: PLR1714 Consider merging multiple comparisons: `self.alias not in (self.output, self.target)`. Use a `set` if the elements are hashable.
Ruff (E721): pylib/gyp/generator/msvs.py#L279
pylib/gyp/generator/msvs.py:279:12: E721 Do not compare types, use `isinstance()`
Ruff (E721): pylib/gyp/generator/msvs.py#L291
pylib/gyp/generator/msvs.py:291:12: E721 Do not compare types, use `isinstance()`
Ruff (E721): pylib/gyp/generator/msvs.py#L291
pylib/gyp/generator/msvs.py:291:44: E721 Do not compare types, use `isinstance()`
Ruff (E721): pylib/gyp/generator/msvs.py#L1425
pylib/gyp/generator/msvs.py:1425:16: E721 Do not compare types, use `isinstance()`
Ruff (E721): pylib/gyp/generator/msvs.py#L1821
pylib/gyp/generator/msvs.py:1821:12: E721 Do not compare types, use `isinstance()`
Ruff (E721): pylib/gyp/generator/msvs.py#L1843
pylib/gyp/generator/msvs.py:1843:8: E721 Do not compare types, use `isinstance()`
Ruff (E721): pylib/gyp/generator/msvs.py#L1845
pylib/gyp/generator/msvs.py:1845:8: E721 Do not compare types, use `isinstance()`
Ruff (E721): pylib/gyp/generator/msvs.py#L1865
pylib/gyp/generator/msvs.py:1865:30: E721 Do not compare types, use `isinstance()`
Ruff (E721): pylib/gyp/generator/msvs.py#L3441
pylib/gyp/generator/msvs.py:3441:8: E721 Do not compare types, use `isinstance()`
Ruff (PLR1714): pylib/gyp/generator/make.py#L2031
pylib/gyp/generator/make.py:2031:16: PLR1714 Consider merging multiple comparisons: `self.alias not in (self.output, self.target)`. Use a `set` if the elements are hashable.
Ruff (E721): pylib/gyp/generator/msvs.py#L279
pylib/gyp/generator/msvs.py:279:12: E721 Do not compare types, use `isinstance()`
Ruff (E721): pylib/gyp/generator/msvs.py#L291
pylib/gyp/generator/msvs.py:291:12: E721 Do not compare types, use `isinstance()`
Ruff (E721): pylib/gyp/generator/msvs.py#L291
pylib/gyp/generator/msvs.py:291:44: E721 Do not compare types, use `isinstance()`
Ruff (E721): pylib/gyp/generator/msvs.py#L1425
pylib/gyp/generator/msvs.py:1425:16: E721 Do not compare types, use `isinstance()`
Ruff (E721): pylib/gyp/generator/msvs.py#L1821
pylib/gyp/generator/msvs.py:1821:12: E721 Do not compare types, use `isinstance()`
Ruff (E721): pylib/gyp/generator/msvs.py#L1843
pylib/gyp/generator/msvs.py:1843:8: E721 Do not compare types, use `isinstance()`
Ruff (E721): pylib/gyp/generator/msvs.py#L1845
pylib/gyp/generator/msvs.py:1845:8: E721 Do not compare types, use `isinstance()`
Ruff (E721): pylib/gyp/generator/msvs.py#L1865
pylib/gyp/generator/msvs.py:1865:30: E721 Do not compare types, use `isinstance()`
Ruff (E721): pylib/gyp/generator/msvs.py#L3441
pylib/gyp/generator/msvs.py:3441:8: E721 Do not compare types, use `isinstance()`