Skip to content

Commit

Permalink
Do spelling fixes, excluse spec tests folder
Browse files Browse the repository at this point in the history
  • Loading branch information
IanCa committed Oct 16, 2023
1 parent cf5cedc commit 9afb7b6
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion hed/models/column_mapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.")
Expand Down
2 changes: 1 addition & 1 deletion hed/models/expression_parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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'

0 comments on commit 9afb7b6

Please sign in to comment.