Use Ruff for from __future__ import annotations checks (#10910)

This commit is contained in:
Avasam
2023-10-19 05:40:41 -04:00
committed by GitHub
parent 3cb1a8faed
commit 21fcd8960f
5 changed files with 18 additions and 9 deletions

View File

@@ -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