File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -40,11 +40,16 @@ jobs:
4040 - name : Install tools
4141 run : |
4242 eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"
43- brew install buildifier typos-cli
43+ brew install buildifier ruff typos-cli
4444
4545 - name : Check typos
4646 run : |
4747 eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"
4848 ./scripts/check_typos.sh
4949
50+ - name : Lint Python code
51+ run : |
52+ eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"
53+ ruff check
54+
5055 # TODO(eustas): run buildifier
Original file line number Diff line number Diff line change 88- The block type code is useless if NBLTYPES==2, you would only need 1 symbol
99 anyway, so why don't you just switch to "the other" type?
1010"""
11+ # ruff: noqa
1112import struct
1213from operator import itemgetter , methodcaller
1314from itertools import accumulate , repeat
You can’t perform that action at this time.
0 commit comments