QDB-10908 - Add Arrow query API support to Python API #101
This file contains hidden or 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: Format check | |
| on: | |
| push: | |
| branches: | |
| - master | |
| paths: | |
| - '**.py' | |
| - '**.pyi' | |
| pull_request: | |
| branches: | |
| - master | |
| paths: | |
| - '**.py' | |
| - '**.pyi' | |
| jobs: | |
| lint: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Check out code | |
| uses: actions/checkout@v4 | |
| - name: Setup Python version | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: '3.12' | |
| - name: Install dependencies | |
| run: | | |
| pip install black==24.10.0 | |
| - name: Run black on Python files | |
| run: | | |
| black --check --verbose . | |
| - name: Run black on stub files | |
| run: | | |
| black --include '\.pyi$' --check --verbose . | |
| typing: | |
| runs-on: ubuntu-22.04 | |
| steps: | |
| - name: Check out code | |
| uses: actions/checkout@v4 | |
| - name: Setup Python version | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: '3.7' | |
| - name: Install dependencies | |
| run: | | |
| pip install -r dev-requirements.txt | |
| - name: Run mypy | |
| run: | | |
| mypy --check quasardb |