mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-31 00:24:24 +08:00
Use Ruff for from __future__ import annotations checks (#10910)
This commit is contained in:
9
.github/workflows/tests.yml
vendored
9
.github/workflows/tests.yml
vendored
@@ -45,6 +45,15 @@ jobs:
|
||||
python-version: "3.11"
|
||||
- run: ./tests/check_new_syntax.py
|
||||
|
||||
ruff:
|
||||
name: Lint with Ruff
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: chartboost/ruff-action@v1
|
||||
with:
|
||||
version: "0.1.0" # must match .pre-commit-config.yaml and requirements-test.txt
|
||||
|
||||
flake8:
|
||||
name: Lint with Flake8
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
Reference in New Issue
Block a user