You've already forked hackingtool
mirror of
https://github.com/Z4nzu/hackingtool.git
synced 2025-06-20 06:15:54 +02:00
codespell --quiet-level=3
This commit is contained in:
6
.github/workflows/lint_python.yml
vendored
6
.github/workflows/lint_python.yml
vendored
@ -12,7 +12,8 @@ jobs:
|
|||||||
- uses: actions/setup-python@v4
|
- uses: actions/setup-python@v4
|
||||||
with:
|
with:
|
||||||
python-version: 3.x
|
python-version: 3.x
|
||||||
- run: pip install --upgrade pip ruff setuptools wheel
|
- run: pip install --upgrade codespell pip ruff setuptools wheel
|
||||||
|
- run: codespell --quiet-level=3
|
||||||
- name: "Ruff: Show stopper (must-fix) issues"
|
- name: "Ruff: Show stopper (must-fix) issues"
|
||||||
run: ruff . --select=E9,F63,F7,F82,PLE,YTT --show-source .
|
run: ruff . --select=E9,F63,F7,F82,PLE,YTT --show-source .
|
||||||
- name: "Ruff: All issues"
|
- name: "Ruff: All issues"
|
||||||
@ -20,9 +21,8 @@ jobs:
|
|||||||
- name: "Ruff: All fixable (ruff --fix) issues"
|
- name: "Ruff: All fixable (ruff --fix) issues"
|
||||||
run: ruff --exit-zero --select=ALL --ignore=ANN204,COM812,ERA001,RSE102
|
run: ruff --exit-zero --select=ALL --ignore=ANN204,COM812,ERA001,RSE102
|
||||||
--statistics --target-version=py37 . | grep "\[\*\]"
|
--statistics --target-version=py37 . | grep "\[\*\]"
|
||||||
- run: pip install black codespell mypy pytest safety
|
- run: pip install black mypy pytest safety
|
||||||
- run: black --check . || true
|
- run: black --check . || true
|
||||||
- run: codespell
|
|
||||||
- run: pip install -r requirements.txt || pip install --editable . || pip install . || true
|
- run: pip install -r requirements.txt || pip install --editable . || pip install . || true
|
||||||
- run: mkdir --parents --verbose .mypy_cache
|
- run: mkdir --parents --verbose .mypy_cache
|
||||||
- run: mypy --ignore-missing-imports --install-types --non-interactive . || true
|
- run: mypy --ignore-missing-imports --install-types --non-interactive . || true
|
||||||
|
Reference in New Issue
Block a user