From 50005d33e595e9b457f48bd340cdfe0feba8ff15 Mon Sep 17 00:00:00 2001 From: sneakers-the-rat Date: Tue, 13 Aug 2024 19:11:46 -0700 Subject: [PATCH] fuckin codespell. also don't double run tests --- .github/workflows/lint.yml | 2 ++ .github/workflows/tests.yml | 2 ++ nwb_linkml/src/nwb_linkml/io/schema.py | 2 +- 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index fdad9a8..7f8fc5e 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -2,6 +2,8 @@ name: Lint on: push: + branches: + - main pull_request: branches: [main] diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index c14e806..ce2fffc 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -2,6 +2,8 @@ name: Tests on: push: + branches: + - main pull_request: branches: - main diff --git a/nwb_linkml/src/nwb_linkml/io/schema.py b/nwb_linkml/src/nwb_linkml/io/schema.py index a815b66..029fc70 100644 --- a/nwb_linkml/src/nwb_linkml/io/schema.py +++ b/nwb_linkml/src/nwb_linkml/io/schema.py @@ -138,7 +138,7 @@ def _resolve_hdmf( namespace: Path | NamespaceRepo | Namespaces, path: Optional[Path] = None ) -> Optional[NamespacesAdapter]: 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 if isinstance(namespace, NamespaceRepo):