Skip to content

Commit c291d3c

Browse files
committed
chore: Remove spellcheck job
It was already removed in several other repos because it's too much hassle with little benefit. Signed-off-by: Ihar Hrachyshka <[email protected]>
1 parent 6132542 commit c291d3c

File tree

8 files changed

+1
-162
lines changed

8 files changed

+1
-162
lines changed

.github/mergify.yml

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -72,20 +72,6 @@ pull_request_rules:
7272
- -files=.markdownlint-cli2.yaml
7373
- -files=.github/workflows/docs.yml
7474

75-
- or:
76-
- and:
77-
- check-success=spellcheck
78-
- or:
79-
- files~=\.md$
80-
- files=tox.ini
81-
- files~=^\.spellcheck[^/]+$
82-
- files=.github/workflows/spellcheck.yml
83-
- and:
84-
- -files~=\.md$
85-
- -files=tox.ini
86-
- -files~=^\.spellcheck[^/]+$
87-
- -files=.github/workflows/spellcheck.yml
88-
8975
actions:
9076
merge:
9177
method: merge
@@ -100,7 +86,6 @@ pull_request_rules:
10086
- files=scripts/ruff.sh
10187
- files=.pre-commit-config.yaml
10288
- files=.pylintrc
103-
- files~=^\.spellcheck[^/]+$
10489
- files=tox.ini
10590
- files=.markdownlint-cli2.yaml
10691
actions:

.github/workflows/spellcheck.yml

Lines changed: 0 additions & 44 deletions
This file was deleted.

.pylintrc

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -531,30 +531,6 @@ ignore-signatures=yes
531531
min-similarity-lines=4
532532

533533

534-
[SPELLING]
535-
536-
# Limits count of emitted suggestions for spelling mistakes.
537-
max-spelling-suggestions=4
538-
539-
# Spelling dictionary name. Available dictionaries: none. To make it work,
540-
# install the 'python-enchant' package.
541-
spelling-dict=
542-
543-
# List of comma separated words that should be considered directives if they
544-
# appear at the beginning of a comment and should not be checked.
545-
spelling-ignore-comment-directives=fmt: on,fmt: off,noqa:,noqa,nosec,isort:skip,mypy:
546-
547-
# List of comma separated words that should not be checked.
548-
spelling-ignore-words=
549-
550-
# A path to a file that contains the private dictionary; one word per line.
551-
spelling-private-dict-file=
552-
553-
# Tells whether to store unknown words to the private dictionary (see the
554-
# --spelling-private-dict-file option) instead of raising a message.
555-
spelling-store-unknown-words=no
556-
557-
558534
[STRING]
559535

560536
# This flag controls whether inconsistent-quotes generates a warning when the

.spellcheck-en-custom.txt

Lines changed: 0 additions & 30 deletions
This file was deleted.

.spellcheck.yml

Lines changed: 0 additions & 28 deletions
This file was deleted.

Makefile

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -43,14 +43,6 @@ md-lint: ## Lint markdown files
4343
$(ECHO_PREFIX) printf " %-12s ./...\n" "[MD LINT]"
4444
$(CMD_PREFIX) podman run --rm -v $(CURDIR):/workdir --security-opt label=disable docker.io/davidanson/markdownlint-cli2:latest > /dev/null
4545

46-
.PHONY: spellcheck
47-
spellcheck: ## Spellcheck markdown files
48-
tox p -e spellcheck
49-
50-
.PHONY: spellcheck-sort
51-
spellcheck-sort: .spellcheck-en-custom.txt ## Sort spellcheck directory
52-
sort -d -f -o $< $<
53-
5446
.PHONY: verify
5547
verify: check-tox ## Run linting, typing, and formatting checks via tox
5648
tox p -e fastlint,mypy,ruff

requirements-dev.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ pytest-html
1414

1515
ruff
1616
isort
17-
pyspelling
1817

1918
mypy>=1.10.0
2019
types-tqdm

tox.ini

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
[tox]
44
# py3-unit runs unit tests with 'python3'
55
# py311-unit runs the same tests with 'python3.11'
6-
envlist = ruff, lint, mypy, spellcheck, py3-{unit, functional}
6+
envlist = ruff, lint, mypy, py3-{unit, functional}
77
minversion = 4.4
88

99
[testenv]
@@ -71,17 +71,6 @@ commands =
7171
./scripts/ruff.sh {posargs:fix}
7272
allowlist_externals = ./scripts/ruff.sh
7373

74-
[testenv:spellcheck]
75-
description = spell check (needs 'aspell' command)
76-
skip_install = true
77-
skipsdist = true
78-
deps =
79-
pyspelling
80-
commands =
81-
sh -c 'command -v aspell || (echo "aspell is not installed. Please install it." && exit 1)'
82-
{envpython} -m pyspelling --config {toxinidir}/.spellcheck.yml --spellchecker aspell
83-
allowlist_externals = sh
84-
8574
[testenv:mypy]
8675
description = Python type checking with mypy
8776
deps =

0 commit comments

Comments
 (0)