Skip to content

Commit 8c727d5

Browse files
johann1764larsoner
andcommitted
PR3772 review - update autofix & revert Makefile err msg change & mv gen_OX
Co-authored-by: Eric Larson <larson.eric.d@gmail.com>
1 parent 02a56a9 commit 8c727d5

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/autofix.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,5 @@ jobs:
1515
- uses: actions/checkout@v5
1616
with:
1717
persist-credentials: false
18-
- run: ./codespell_lib/gen_OX.sh codespell_lib/data/dictionary_en-GB_to_en-US.txt > codespell_lib/data/dictionary_en_to_en-OX_AUTOGENERATED.txt
18+
- run: make codespell_lib/data/dictionary_en_to_en-OX_AUTOGENERATED.txt
1919
- uses: autofix-ci/action@635ffb0c9798bd160680f18fd73371e355b85f27

Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ all: $(GENERATED) check-dictionaries codespell.1
88

99
check: $(GENERATED) check-dictionaries check-dist pytest ruff
1010

11-
$(GENERATED): codespell_lib/data/dictionary_en-GB_to_en-US.txt ./codespell_lib/gen_OX.sh
12-
./codespell_lib/gen_OX.sh codespell_lib/data/dictionary_en-GB_to_en-US.txt > codespell_lib/data/dictionary_en_to_en-OX_AUTOGENERATED.txt
11+
$(GENERATED): codespell_lib/data/dictionary_en-GB_to_en-US.txt ./tools/gen_OX.sh
12+
./tools/gen_OX.sh codespell_lib/data/dictionary_en-GB_to_en-US.txt > codespell_lib/data/dictionary_en_to_en-OX_AUTOGENERATED.txt
1313

1414
codespell.1: codespell.1.include Makefile
1515
PYTHONPATH=. help2man codespell --include codespell.1.include --no-info --output codespell.1
@@ -25,7 +25,7 @@ check-dictionaries: sort-dictionaries
2525
@if command -v pytest > /dev/null; then \
2626
pytest codespell_lib/tests/test_dictionary.py; \
2727
else \
28-
echo "Test dependencies not present, install using 'pip install -e \".[dev]\" pytest-cov --include-deps --force'"; \
28+
echo "Test dependencies not present, install using 'pip install -e \".[dev]\"'"; \
2929
exit 1; \
3030
fi
3131

File renamed without changes.

0 commit comments

Comments
 (0)