Skip to content

Commit

Permalink
ENH: Update spelling check [ci skip] (#7565)
Browse files Browse the repository at this point in the history
  • Loading branch information
larsoner authored Apr 6, 2020
1 parent fdbb78a commit 9193ce2
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -105,10 +105,10 @@ flake:
@echo "flake8 passed"

codespell: # running manually
@codespell -w -i 3 -q 3 -S $(CODESPELL_SKIPS) --ignore-words=ignore_words.txt $(CODESPELL_DIRS)
@codespell --builtin clear,rare,informal,names -w -i 3 -q 3 -S $(CODESPELL_SKIPS) --ignore-words=ignore_words.txt $(CODESPELL_DIRS)

codespell-error: # running on travis
@codespell -i 0 -q 7 -S $(CODESPELL_SKIPS) --ignore-words=ignore_words.txt $(CODESPELL_DIRS)
@codespell --builtin clear,rare,informal,names -i 0 -q 7 -S $(CODESPELL_SKIPS) --ignore-words=ignore_words.txt $(CODESPELL_DIRS)

pydocstyle:
@echo "Running pydocstyle"
Expand Down
4 changes: 2 additions & 2 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@ jobs:
displayName: make pydocstyle
condition: always()
- bash: |
pip install codespell
displayName: Install codespell
pip install https://github.com/codespell-project/codespell/zipball/master
displayName: Install latest codespell
condition: always()
- bash: |
make codespell-error
Expand Down
2 changes: 1 addition & 1 deletion mne/preprocessing/tests/test_artifact_detection.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ def test_movement_annotation_head_correction():
annot_rot, [] = annotate_movement(raw, pos, rotation_velocity_limit=5)
assert(annot_rot.duration.size == 5)

# Check 2 transalation vel. segments are detected
# Check 2 translation vel. segments are detected
annot_tra, [] = annotate_movement(raw, pos, translation_velocity_limit=.05)
assert(annot_tra.duration.size == 2)

Expand Down

0 comments on commit 9193ce2

Please sign in to comment.