From 9afb7b66e62bdd6b96ce9f97503f73a2fe811635 Mon Sep 17 00:00:00 2001 From: IanCa Date: Mon, 16 Oct 2023 14:23:02 -0500 Subject: [PATCH] Do spelling fixes, excluse spec tests folder --- hed/models/column_mapper.py | 2 +- hed/models/expression_parser.py | 2 +- pyproject.toml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/hed/models/column_mapper.py b/hed/models/column_mapper.py index 761ab81a..e0948b9b 100644 --- a/hed/models/column_mapper.py +++ b/hed/models/column_mapper.py @@ -149,7 +149,7 @@ def _set_sidecar(self, sidecar): sidecar (Sidecar or None): the sidecar to use :raises ValueError: - - A sidecar was prevoiusly set + - A sidecar was previously set """ if self._sidecar: raise ValueError("Trying to set a second sidecar on a column mapper.") diff --git a/hed/models/expression_parser.py b/hed/models/expression_parser.py index ab56aa76..736ff562 100644 --- a/hed/models/expression_parser.py +++ b/hed/models/expression_parser.py @@ -235,7 +235,7 @@ def handle_expr(self, hed_group, exact=False): class ExpressionOr(Expression): def handle_expr(self, hed_group, exact=False): groups1 = self.left.handle_expr(hed_group, exact=exact) - # Don't early out as we need to gather all groups incase tags appear more than once etc + # Don't early out as we need to gather all groups in case tags appear more than once etc groups2 = self.right.handle_expr(hed_group, exact=exact) # todo: optimize this eventually # Filter out duplicates diff --git a/pyproject.toml b/pyproject.toml index f5549033..7ba509cc 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -3,5 +3,5 @@ requires = ["setuptools>=42", "versioneer-518"] build-backend = "setuptools.build_meta" [tool.codespell] -skip = '*.git,*.pdf,*.xml,*.mediawiki,*.svg,versioneer.py,venv*,*.tsv,*.yaml,*.yml,*.json,*.rdf,*.jsonld' +skip = '*.git,*.pdf,*.xml,*.mediawiki,*.svg,versioneer.py,venv*,*.tsv,*.yaml,*.yml,*.json,*.rdf,*.jsonld,spec_tests' ignore-words-list = 'te,parms'