Reworked the data acquisition script and fixed bugs with reanalysis d… #12
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: Python Checks | |
| on: | |
| push: | |
| branches: [ "master", "release/**" ] | |
| pull_request: | |
| branches: [ "master" ] | |
| jobs: | |
| python_checks: | |
| name: Run Python Checks | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Set up Python | |
| uses: actions/setup-python@v4 | |
| with: | |
| python-version: '3.x' | |
| - name: Install Python dependencies | |
| run: | | |
| python -m pip install --upgrade pip | |
| pip install flake8 pylint mypy black | |
| - name: Check Python syntax with flake8 | |
| run: | | |
| flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics | |
| flake8 . --count --exit-zero --max-complexity=15 --max-line-length=300 --statistics | |
| - name: Check Python types with mypy | |
| run: | | |
| mypy --install-types --non-interactive --ignore-missing-imports . | |
| - name: Check Python formatting with Black | |
| run: | | |
| black --check --diff . |