Skip to content

Speed up `codespell:ignore` check by skipping the regex in most cases

Codecov / codecov/patch succeeded Jun 1, 2024 in 0s

90.82% of diff hit (target 88.58%)

View this Pull Request on Codecov

90.82% of diff hit (target 88.58%)

Annotations

Check warning on line 902 in codespell_lib/_codespell.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

codespell_lib/_codespell.py#L901-L902

Added lines #L901 - L902 were not covered by tests

Check warning on line 935 in codespell_lib/_codespell.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

codespell_lib/_codespell.py#L935

Added line #L935 was not covered by tests

Check warning on line 939 in codespell_lib/_codespell.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

codespell_lib/_codespell.py#L939

Added line #L939 was not covered by tests

Check warning on line 120 in codespell_lib/spellchecker.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

codespell_lib/spellchecker.py#L120

Added line #L120 was not covered by tests

Check warning on line 125 in codespell_lib/spellchecker.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

codespell_lib/spellchecker.py#L125

Added line #L125 was not covered by tests

Check warning on line 213 in codespell_lib/spellchecker.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

codespell_lib/spellchecker.py#L213

Added line #L213 was not covered by tests

Check warning on line 308 in codespell_lib/spellchecker.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

codespell_lib/spellchecker.py#L308

Added line #L308 was not covered by tests

Check warning on line 324 in codespell_lib/spellchecker.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

codespell_lib/spellchecker.py#L324

Added line #L324 was not covered by tests