Skip to content

Commit

Permalink
Auto-commit black formatting changes
Browse files Browse the repository at this point in the history
  • Loading branch information
jeff-cohere authored and ialarmedalien committed May 17, 2024
1 parent e64bb6e commit fcc6411
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 6 deletions.
12 changes: 6 additions & 6 deletions credit_engine/clients/args.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,12 +47,12 @@ class GenericClientArgs(BaseModel, extra="ignore", arbitrary_types_allowed=True)
{CE.OutputFormat.JSON, CE.OutputFormat.XML}, const=True
)
doi_file: FilePath | None = Field(None)
dois_from_file: conset(
constr(strip_whitespace=True, min_length=3), min_items=1
) | None = Field(None)
doi_list: conset(
constr(strip_whitespace=True, min_length=3), min_items=1
) | None = Field(None)
dois_from_file: (
conset(constr(strip_whitespace=True, min_length=3), min_items=1) | None
) = Field(None)
doi_list: (
conset(constr(strip_whitespace=True, min_length=3), min_items=1) | None
) = Field(None)
save_files: bool = Field(default=False)
# TODO @ialarmedalien: use client's SAMPLE_DATA_DIR as default
# https://github.com/kbase/credit_engine/issues/158
Expand Down
1 change: 1 addition & 0 deletions credit_engine/clients/base.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Base functionality for any client retrieving data from a data source."""

import types
from enum import Enum
from typing import Any
Expand Down
1 change: 1 addition & 0 deletions tests/clients/test_args.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Tests for the ClientArgs classes."""

import re
from pathlib import Path
from typing import Any
Expand Down
1 change: 1 addition & 0 deletions tests/clients/test_base_errors.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Input error tests for retrieve_dois and retrieve_dois_from_unknown."""

import re

import pytest
Expand Down

0 comments on commit fcc6411

Please sign in to comment.