mirror of
https://github.com/mkdocs/mkdocs.git
synced 2026-03-27 09:58:31 +07:00
Apply automatic fixes from ruff, show diff in CI
This commit is contained in:
4
.github/workflows/ci.yml
vendored
4
.github/workflows/ci.yml
vendored
@@ -67,10 +67,10 @@ jobs:
|
||||
node-version: 16
|
||||
- name: Check with ruff
|
||||
if: always()
|
||||
run: hatch run style:lint
|
||||
run: hatch run style:fix
|
||||
- name: Check with black + isort
|
||||
if: always()
|
||||
run: hatch run style:format && git diff --exit-code
|
||||
run: hatch run style:format && git diff --color --exit-code
|
||||
- name: Check with mypy
|
||||
if: always()
|
||||
run: hatch run types:check
|
||||
|
||||
@@ -104,7 +104,7 @@ dependencies = [
|
||||
|
||||
[tool.hatch.envs.default.scripts]
|
||||
all = [
|
||||
"hatch run style:check",
|
||||
"hatch run style:fix",
|
||||
"hatch run types:check",
|
||||
"hatch run test:test",
|
||||
"hatch run lint:check",
|
||||
|
||||
Reference in New Issue
Block a user