mirror of
https://github.com/basicswap/basicswap.git
synced 2026-06-08 12:11:41 +02:00
test: add codespell extra dictionary and add config to .toml
This commit is contained in:
@@ -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" .
|
||||||
|
|||||||
@@ -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"
|
||||||
|
|||||||
@@ -0,0 +1 @@
|
|||||||
|
confimration->confirmation
|
||||||
Reference in New Issue
Block a user