Skip to content

Commit 829cdee

Browse files
committed
Update formatter
Setting formattter to 25.1
1 parent e88d28c commit 829cdee

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

mars-cli/mars_lib/authentication.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ def is_valid_provider(cls, provider: str):
2424

2525

2626
def load_credentials(
27-
credentials_file: Union[io.TextIOWrapper, str]
27+
credentials_file: Union[io.TextIOWrapper, str],
2828
) -> dict[str, dict[str, str]]:
2929
"""
3030
Validate the credentials.

mars-cli/mars_lib/isa_json.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -304,7 +304,7 @@ def add_accession_to_data_file_node(node: DataFile, accession_number: str) -> No
304304

305305

306306
def create_accession_characteristic_category(
307-
node: Union[Study, Assay]
307+
node: Union[Study, Assay],
308308
) -> Tuple[str, MaterialAttribute]:
309309
"""
310310
creates a new characteristic category for the accession number.
@@ -348,7 +348,7 @@ def fetch_existing_accession_data_file_comment(node: DataFile) -> Comment:
348348

349349

350350
def fetch_existing_characteristic_category(
351-
node: Union[Study, Assay]
351+
node: Union[Study, Assay],
352352
) -> Tuple[str, MaterialAttribute]:
353353
"""
354354
Fetches the existing characteristic category for the accession number.

mars-cli/setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ def run(self):
3838
extras_require={
3939
"test": [
4040
# Dependencies for testing only
41-
"black",
41+
"black == 25.1.*",
4242
"ruff",
4343
"pytest",
4444
"pytest-cov",

0 commit comments

Comments
 (0)