*: use ruff linting/formatting #575
Annotations
10 errors
Run make -j XCBDIR=./proto/src check:
proto/xcbgen/expr.py#L90
proto/xcbgen/expr.py:90:38: E711 Comparison to `None` should be `cond is None`
|
Run make -j XCBDIR=./proto/src check:
proto/xcbgen/expr.py#L134
proto/xcbgen/expr.py:134:30: E711 Comparison to `None` should be `cond is not None`
|
Run make -j XCBDIR=./proto/src check:
proto/xcbgen/expr.py#L153
proto/xcbgen/expr.py:153:27: E711 Comparison to `None` should be `cond is not None`
|
Run make -j XCBDIR=./proto/src check:
proto/xcbgen/matcher.py#L17
proto/xcbgen/matcher.py:17:1: F403 `from xcbgen.xtypes import *` used; unable to detect undefined names
|
Run make -j XCBDIR=./proto/src check:
proto/xcbgen/matcher.py#L28
proto/xcbgen/matcher.py:28:5: F841 Local variable `new_root` is assigned to but never used
|
Run make -j XCBDIR=./proto/src check:
proto/xcbgen/matcher.py#L56
proto/xcbgen/matcher.py:56:12: F405 `Enum` may be undefined, or defined from star imports
|
Run make -j XCBDIR=./proto/src check:
proto/xcbgen/matcher.py#L62
proto/xcbgen/matcher.py:62:12: F405 `Struct` may be undefined, or defined from star imports
|
Run make -j XCBDIR=./proto/src check:
proto/xcbgen/matcher.py#L68
proto/xcbgen/matcher.py:68:12: F405 `EventStruct` may be undefined, or defined from star imports
|
Run make -j XCBDIR=./proto/src check:
proto/xcbgen/matcher.py#L74
proto/xcbgen/matcher.py:74:12: F405 `Union` may be undefined, or defined from star imports
|
Run make -j XCBDIR=./proto/src check:
proto/xcbgen/matcher.py#L80
proto/xcbgen/matcher.py:80:12: F405 `Request` may be undefined, or defined from star imports
|
Loading