Skip to content

Commit 9be040d

Browse files
jwortmannrwols
authored andcommitted
Bump flake8 to latest version
1 parent 55e2068 commit 9be040d

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

.github/workflows/main.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141
python-version: '3.8'
4242
- run: sudo apt update
4343
- run: sudo apt install --no-install-recommends -y x11-xserver-utils
44-
- run: pip3 install mypy==1.7.1 flake8==5.0.4 pyright==1.1.381 orjson==3.10.7 --user
44+
- run: pip3 install mypy==1.7.1 flake8==7.1.1 pyright==1.1.381 orjson==3.10.7 --user
4545
- run: echo "$HOME/.local/bin" >> $GITHUB_PATH
4646
- run: mypy stubs
4747
- run: flake8 plugin tests

plugin/references.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ def _show_references_in_quick_panel(
178178
placeholder = "References to " + word
179179
kind = get_symbol_kind_from_scope(self.view.scope_name(position))
180180
index = 0
181-
locations.sort(key=lambda l: (l['uri'], Point.from_lsp(l['range']['start'])))
181+
locations.sort(key=lambda location: (location['uri'], Point.from_lsp(location['range']['start'])))
182182
if len(selection):
183183
pt = selection[0].b
184184
view_filename = self.view.file_name()

tox.ini

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ per-file-ignores =
2121
[testenv]
2222
deps =
2323
mypy==1.7.1
24-
flake8==5.0.4
24+
flake8==7.1.1
2525
pyright==1.1.381
2626
orjson==3.10.7
2727
commands =

0 commit comments

Comments
 (0)