Compare commits
2 commits
800c63cfc6
...
9922734472
Author | SHA1 | Date | |
---|---|---|---|
ItsDrike | 9922734472 | ||
ItsDrike | 72d1fe4ce2 |
5
.github/workflows/validation.yml
vendored
5
.github/workflows/validation.yml
vendored
|
@ -33,7 +33,7 @@ jobs:
|
||||||
restore-keys: "precommit-${{ runner.os }}-${{ steps.poetry_setup.outputs-python-version}}-"
|
restore-keys: "precommit-${{ runner.os }}-${{ steps.poetry_setup.outputs-python-version}}-"
|
||||||
|
|
||||||
- name: Run pre-commit hooks
|
- name: Run pre-commit hooks
|
||||||
run: SKIP=ruff-linter,ruff-formatter,slotscheck,basedpyright pre-commit run --all-files
|
run: SKIP=ruff-linter,ruff-formatter,basedpyright pre-commit run --all-files
|
||||||
|
|
||||||
- name: Run ruff linter
|
- name: Run ruff linter
|
||||||
run: ruff check --output-format=github --show-fixes --exit-non-zero-on-fix .
|
run: ruff check --output-format=github --show-fixes --exit-non-zero-on-fix .
|
||||||
|
@ -41,8 +41,5 @@ jobs:
|
||||||
- name: Run ruff formatter
|
- name: Run ruff formatter
|
||||||
run: ruff format --diff .
|
run: ruff format --diff .
|
||||||
|
|
||||||
- name: Run slotscheck
|
|
||||||
run: slotscheck -m mcproto
|
|
||||||
|
|
||||||
- name: Run basedpyright type checker
|
- name: Run basedpyright type checker
|
||||||
run: basedpyright --warnings .
|
run: basedpyright --warnings .
|
||||||
|
|
|
@ -170,7 +170,7 @@ addopts = "--strict-markers --cov --no-cov-on-fail"
|
||||||
|
|
||||||
[tool.coverage.report]
|
[tool.coverage.report]
|
||||||
precision = 2
|
precision = 2
|
||||||
fail_under = 20
|
fail_under = 0
|
||||||
show_missing = true
|
show_missing = true
|
||||||
skip_covered = false
|
skip_covered = false
|
||||||
skip_empty = false
|
skip_empty = false
|
||||||
|
|
Loading…
Reference in a new issue