mirror of
https://github.com/p2p-ld/nwb-linkml.git
synced 2025-01-09 13:44:27 +00:00
fuckin codespell.
also don't double run tests
This commit is contained in:
parent
1715043c01
commit
50005d33e5
3 changed files with 5 additions and 1 deletions
2
.github/workflows/lint.yml
vendored
2
.github/workflows/lint.yml
vendored
|
@ -2,6 +2,8 @@ name: Lint
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
pull_request:
|
pull_request:
|
||||||
branches: [main]
|
branches: [main]
|
||||||
|
|
||||||
|
|
2
.github/workflows/tests.yml
vendored
2
.github/workflows/tests.yml
vendored
|
@ -2,6 +2,8 @@ name: Tests
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
pull_request:
|
pull_request:
|
||||||
branches:
|
branches:
|
||||||
- main
|
- main
|
||||||
|
|
|
@ -138,7 +138,7 @@ def _resolve_hdmf(
|
||||||
namespace: Path | NamespaceRepo | Namespaces, path: Optional[Path] = None
|
namespace: Path | NamespaceRepo | Namespaces, path: Optional[Path] = None
|
||||||
) -> Optional[NamespacesAdapter]:
|
) -> Optional[NamespacesAdapter]:
|
||||||
if path is None and isinstance(namespace, Namespaces):
|
if path is None and isinstance(namespace, Namespaces):
|
||||||
# cant get any more information from already-loaded namespaces without a path
|
# can't get any more information from already-loaded namespaces without a path
|
||||||
return None
|
return None
|
||||||
|
|
||||||
if isinstance(namespace, NamespaceRepo):
|
if isinstance(namespace, NamespaceRepo):
|
||||||
|
|
Loading…
Reference in a new issue