added some cases to test_can_analyze_annotations for completeness #710
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Static checking | |
on: [push, pull_request] | |
jobs: | |
static: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: '3.11' | |
- uses: chartboost/ruff-action@v1 | |
with: | |
src: "./src ./tests ./example" | |
- uses: python/[email protected] | |
with: | |
paths: "./src" | |
- run: pip install .[test] && python -m mypy --strict --install-types --allow-subclassing-any --non-interactive ./src ./tests ./example | |
audit: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: '3.11' | |
- name: install | |
run: python -m pip install . | |
- uses: pypa/[email protected] | |
with: | |
paths: "./src ./tests" |