Skip to content

pre-commit: Fix codespell false positives

pre-commit run --all-files
[INFO] Initializing environment for https://github.com/pre-commit/pre-commit-hooks.
[INFO] Initializing environment for https://gitlab.com/pycqa/flake8.
[INFO] Initializing environment for https://github.com/codespell-project/codespell.
[INFO] Initializing environment for https://github.com/PyCQA/isort.
[INFO] Installing environment for https://github.com/pre-commit/pre-commit-hooks.
[INFO] Once installed this environment will be reused.
[INFO] This may take a few minutes...
[INFO] Installing environment for https://gitlab.com/pycqa/flake8.
[INFO] Once installed this environment will be reused.
[INFO] This may take a few minutes...
[INFO] Installing environment for https://github.com/codespell-project/codespell.
[INFO] Once installed this environment will be reused.
[INFO] This may take a few minutes...
[INFO] Installing environment for https://github.com/PyCQA/isort.
[INFO] Once installed this environment will be reused.
[INFO] This may take a few minutes...
Trim Trailing Whitespace.................................................Passed
Check JSON...........................................(no files to check)Skipped
Check Yaml...............................................................Passed
flake8...................................................................Passed
codespell................................................................Failed
- hook id: codespell
- exit code: 7

swh/scrubber/tests/test_storage_postgresql.py:259: mor  ==> more
swh/scrubber/tests/test_storage_postgresql.py:259: mor  ==> more
swh/scrubber/tests/test_storage_postgresql.py:260: mor  ==> more
swh/scrubber/tests/test_storage_postgresql.py:285: mor  ==> more
swh/scrubber/tests/test_storage_postgresql.py:286: mor  ==> more
swh/scrubber/tests/test_storage_postgresql.py:289: mor  ==> more
swh/scrubber/tests/test_storage_postgresql.py:290: mor  ==> more
swh/scrubber/db.py:359: mor  ==> more
swh/scrubber/db.py:359: mor  ==> more
swh/scrubber/db.py:361: mor  ==> more
swh/scrubber/db.py:362: mor  ==> more
swh/scrubber/db.py:363: mor  ==> more

mypy.....................................................................Passed
isort....................................................................Passed
black....................................................................Passed
make: *** [../Makefile.python:28: check] Error 1

Migrated from D8262 (view on Phabricator)

Merge request reports