Skip to content

Commit 9e567d3

Browse files
authored
Bump pre-commit dep versions (#518)
* deps: bump pre-commit dep versions Needed to pick up PyCQA/isort#2078 * lint: rename some ambiguous variables
1 parent fb17801 commit 9e567d3

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

.pre-commit-config.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
repos:
22
- repo: https://github.com/PyCQA/isort
3-
rev: 5.8.0
3+
rev: 5.12.0
44
hooks:
55
- id: isort
66
language_version: python3.8
77
-
88
repo: https://github.com/psf/black
9-
rev: 22.3.0
9+
rev: 22.12.0
1010
hooks:
1111
- id: black
1212
args: ['--safe']
1313
language_version: python3.8
1414
-
1515
repo: https://github.com/pycqa/flake8
16-
rev: 3.9.0
16+
rev: 6.0.0
1717
hooks:
1818
- id: flake8
1919
language_version: python3.8
@@ -46,7 +46,7 @@ repos:
4646
# args: [--no-strict-optional, --ignore-missing-imports]
4747
-
4848
repo: https://github.com/PyCQA/pydocstyle
49-
rev: 6.0.0
49+
rev: 6.3.0
5050
hooks:
5151
- id: pydocstyle
5252
language_version: python3.8

tests/resources/test_item.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -978,7 +978,7 @@ async def test_pagination_post(app_client, load_test_data, load_test_collection)
978978
idx += 1
979979
page_data = page.json()
980980
item_ids.append(page_data["features"][0]["id"])
981-
next_link = list(filter(lambda l: l["rel"] == "next", page_data["links"]))
981+
next_link = list(filter(lambda link: link["rel"] == "next", page_data["links"]))
982982
if not next_link:
983983
break
984984
# Merge request bodies
@@ -1021,7 +1021,7 @@ async def test_pagination_token_idempotent(
10211021
},
10221022
)
10231023
page_data = page.json()
1024-
next_link = list(filter(lambda l: l["rel"] == "next", page_data["links"]))
1024+
next_link = list(filter(lambda link: link["rel"] == "next", page_data["links"]))
10251025

10261026
# Confirm token is idempotent
10271027
resp1 = await app_client.get(

0 commit comments

Comments
 (0)