Skip to content

Commit

Permalink
Bump flake8 to latest version
Browse files Browse the repository at this point in the history
  • Loading branch information
jwortmann authored and rwols committed Nov 17, 2024
1 parent 55e2068 commit 9be040d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
python-version: '3.8'
- run: sudo apt update
- run: sudo apt install --no-install-recommends -y x11-xserver-utils
- run: pip3 install mypy==1.7.1 flake8==5.0.4 pyright==1.1.381 orjson==3.10.7 --user
- run: pip3 install mypy==1.7.1 flake8==7.1.1 pyright==1.1.381 orjson==3.10.7 --user
- run: echo "$HOME/.local/bin" >> $GITHUB_PATH
- run: mypy stubs
- run: flake8 plugin tests
Expand Down
2 changes: 1 addition & 1 deletion plugin/references.py
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ def _show_references_in_quick_panel(
placeholder = "References to " + word
kind = get_symbol_kind_from_scope(self.view.scope_name(position))
index = 0
locations.sort(key=lambda l: (l['uri'], Point.from_lsp(l['range']['start'])))
locations.sort(key=lambda location: (location['uri'], Point.from_lsp(location['range']['start'])))
if len(selection):
pt = selection[0].b
view_filename = self.view.file_name()
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ per-file-ignores =
[testenv]
deps =
mypy==1.7.1
flake8==5.0.4
flake8==7.1.1
pyright==1.1.381
orjson==3.10.7
commands =
Expand Down

0 comments on commit 9be040d

Please sign in to comment.