test: add codespell extra dictionary and add config to .toml

This commit is contained in:
tecnovert
2026-05-30 17:42:06 +02:00
parent f5249448bb
commit 119a116918
3 changed files with 10 additions and 1 deletions
+1 -1
View File
@@ -60,7 +60,7 @@ jobs:
flake8 --ignore=E203,E501,W503 --exclude=basicswap/contrib,basicswap/interface/contrib,.eggs,.tox,bin/install_certifi.py flake8 --ignore=E203,E501,W503 --exclude=basicswap/contrib,basicswap/interface/contrib,.eggs,.tox,bin/install_certifi.py
- name: Run codespell - name: Run codespell
run: | run: |
codespell --check-filenames --disable-colors --quiet-level=7 --ignore-words=tests/lint/spelling.ignore-words.txt -S .git,.eggs,.tox,pgp,*.pyc,*basicswap/contrib,*basicswap/interface/contrib,*mnemonics.py,bin/install_certifi.py,*basicswap/static codespell
- name: Run black - name: Run black
run: | run: |
black --check --diff --exclude="contrib" . black --check --diff --exclude="contrib" .
+8
View File
@@ -48,3 +48,11 @@ allow-direct-references = true
[tool.ruff] [tool.ruff]
exclude = ["basicswap/contrib","basicswap/interface/contrib"] exclude = ["basicswap/contrib","basicswap/interface/contrib"]
[tool.codespell]
check-filenames = true
disable-colors = true
quiet-level = 7
dictionary = "tests/lint/spelling.extra_dictionary.txt,-"
ignore-words = "tests/lint/spelling.ignore-words.txt"
skip = ".git,.eggs,.tox,pgp,*.pyc,*basicswap/contrib,*basicswap/interface/contrib,*mnemonics.py,bin/install_certifi.py,*basicswap/static"
+1
View File
@@ -0,0 +1 @@
confimration->confirmation