mirror of
https://github.com/mkdocs/mkdocs.git
synced 2026-03-27 09:58:31 +07:00
Switch to "ruff" linter, enable many of its rules (#3368)
Co-authored-by: Ultrabug <ultrabug@ultrabug.net>
This commit is contained in:
6
.github/workflows/ci.yml
vendored
6
.github/workflows/ci.yml
vendored
@@ -65,12 +65,12 @@ jobs:
|
||||
uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: 16
|
||||
- name: Check with ruff
|
||||
if: always()
|
||||
run: hatch run style:lint
|
||||
- name: Check with black + isort
|
||||
if: always()
|
||||
run: hatch run style:format && git diff --exit-code
|
||||
- name: Check with flake8
|
||||
if: always()
|
||||
run: hatch run style:lint
|
||||
- name: Check with mypy
|
||||
if: always()
|
||||
run: hatch run types:check
|
||||
|
||||
Reference in New Issue
Block a user