Skip to content

Commit

Permalink
Bump pre-commit dep versions (#518)
Browse files Browse the repository at this point in the history
* deps: bump pre-commit dep versions

Needed to pick up PyCQA/isort#2078

* lint: rename some ambiguous variables
  • Loading branch information
gadomski committed Jan 31, 2023
1 parent fb17801 commit 9e567d3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions .pre-commit-config.yaml
@@ -1,19 +1,19 @@
repos:
- repo: https://github.com/PyCQA/isort
rev: 5.8.0
rev: 5.12.0
hooks:
- id: isort
language_version: python3.8
-
repo: https://github.com/psf/black
rev: 22.3.0
rev: 22.12.0
hooks:
- id: black
args: ['--safe']
language_version: python3.8
-
repo: https://github.com/pycqa/flake8
rev: 3.9.0
rev: 6.0.0
hooks:
- id: flake8
language_version: python3.8
Expand Down Expand Up @@ -46,7 +46,7 @@ repos:
# args: [--no-strict-optional, --ignore-missing-imports]
-
repo: https://github.com/PyCQA/pydocstyle
rev: 6.0.0
rev: 6.3.0
hooks:
- id: pydocstyle
language_version: python3.8
Expand Down
4 changes: 2 additions & 2 deletions tests/resources/test_item.py
Expand Up @@ -978,7 +978,7 @@ async def test_pagination_post(app_client, load_test_data, load_test_collection)
idx += 1
page_data = page.json()
item_ids.append(page_data["features"][0]["id"])
next_link = list(filter(lambda l: l["rel"] == "next", page_data["links"]))
next_link = list(filter(lambda link: link["rel"] == "next", page_data["links"]))
if not next_link:
break
# Merge request bodies
Expand Down Expand Up @@ -1021,7 +1021,7 @@ async def test_pagination_token_idempotent(
},
)
page_data = page.json()
next_link = list(filter(lambda l: l["rel"] == "next", page_data["links"]))
next_link = list(filter(lambda link: link["rel"] == "next", page_data["links"]))

# Confirm token is idempotent
resp1 = await app_client.get(
Expand Down

0 comments on commit 9e567d3

Please sign in to comment.