Skip to content

Commit

Permalink
Merge pull request #14 from jbusecke/pre-commit-ci-update-config
Browse files Browse the repository at this point in the history
[pre-commit.ci] pre-commit autoupdate
  • Loading branch information
jbusecke authored Feb 6, 2023
2 parents d157c9a + 52037de commit 143a8e2
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ repos:
- id: end-of-file-fixer
- id: check-yaml
- repo: https://github.com/PyCQA/isort
rev: 5.10.1
rev: 5.12.0
hooks:
- id: isort
- repo: https://github.com/psf/black
rev: 22.12.0
rev: 23.1.0
hooks:
- id: black
- repo: https://github.com/PyCQA/flake8
Expand Down
1 change: 0 additions & 1 deletion pangeo_forge_esgf/dynamic_kwargs.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,6 @@ async def response_data_processing(
response_data: List[Dict[str, str]],
iid: str,
) -> Tuple[List[str], Dict[str, Dict[str, str]]]:

table_id = facets_from_iid(iid).get("table_id")
urls = [r["url"] for r in response_data]
sizes = [r["size"] for r in response_data]
Expand Down
2 changes: 0 additions & 2 deletions pangeo_forge_esgf/recipe_inputs.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,6 @@ async def generate_recipe_inputs_from_iids(
# combined with a retry.
timeout = aiohttp.ClientTimeout(total=40)
async with aiohttp.ClientSession(timeout=timeout, connector=connector) as session:

tasks = []
for iid in iid_list:
tasks.append(asyncio.ensure_future(iid_request(session, iid, search_node)))
Expand Down Expand Up @@ -117,7 +116,6 @@ async def iid_request(
async def _esgf_api_request(
session: aiohttp.ClientSession, node: str, iid: str, params: Dict[str, str]
) -> Dict[str, str]:

# set default search parameters
default_params = {
"type": "File",
Expand Down

0 comments on commit 143a8e2

Please sign in to comment.