Check for PEP 604 usage in CI (#5903)

Since this is a common review issue and our stubs have all been
converted

Co-authored-by: hauntsaninja <>
This commit is contained in:
Shantanu
2021-08-28 11:37:50 -07:00
committed by GitHub
parent 9d02cd265d
commit f6e4c9c38f
2 changed files with 83 additions and 0 deletions

View File

@@ -17,6 +17,14 @@ jobs:
- run: pip install toml
- run: ./tests/check_consistent.py
pep-604:
name: Check for PEP 604 usage
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
- run: ./tests/check_pep_604.py
flake8:
name: Lint with flake8
runs-on: ubuntu-latest