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

This commit is contained in:
Avasam authored and GitHub committed 2023-10-19 11:40:41 +02:00
1 parent 3cb1a8faed
commit 21fcd8960f
5 files changed
+18 -9

No files matched your search

+9
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