Skip to content

Commit

Permalink
linting (unused imports and comments format)
Browse files Browse the repository at this point in the history
  • Loading branch information
yarikoptic committed Jun 16, 2021
1 parent 0f8b5ad commit f129f15
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
6 changes: 3 additions & 3 deletions dandischema/metadata.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from copy import deepcopy
import json
from pathlib import Path
from typing import Any, Dict, Iterable, List, TypeVar, Union, cast
from typing import Any, Dict, Iterable, TypeVar, cast

import jsonschema
import requests
Expand Down Expand Up @@ -256,8 +256,8 @@ def _add_asset_to_stats(assetmeta: Dict[str, Any], stats: _stats_type) -> None:
stats["dataStandard"].append(models.bids_standard)


## TODO?: move/bind such helpers as .from_metadata or alike within
## model classes themselves to centralize access to those constructors.
# TODO?: move/bind such helpers as .from_metadata or alike within
# model classes themselves to centralize access to those constructors.
def aggregate_assets_summary(
metadata: Iterable[Dict[str, Any]]
) -> models.AssetsSummary:
Expand Down
1 change: 0 additions & 1 deletion dandischema/tests/test_metadata.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@

from ..consts import DANDI_SCHEMA_VERSION
from ..metadata import (
_add_asset_to_stats,
_validate_asset_json,
_validate_dandiset_json,
aggregate_assets_summary,
Expand Down

0 comments on commit f129f15

Please sign in to comment.