Compare commits
No commits in common. "9922734472f2d624d2e26f7c3c9c2d55fc35dff2" and "800c63cfc67896ae88ba93e51df043fac537943c" have entirely different histories.
9922734472
...
800c63cfc6
2 changed files with 5 additions and 2 deletions
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,basedpyright pre-commit run --all-files
|
run: SKIP=ruff-linter,ruff-formatter,slotscheck,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,5 +41,8 @@ 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 = 0
|
fail_under = 20
|
||||||
show_missing = true
|
show_missing = true
|
||||||
skip_covered = false
|
skip_covered = false
|
||||||
skip_empty = false
|
skip_empty = false
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue