dag to scrape and save the current ridership URL from the NTD portal #8285
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: Lint and style checks | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-python@v2 | |
- uses: actions/cache@v3 | |
with: | |
path: ~/.cache/pre-commit | |
key: ${{ runner.os }}-pre-commit-${{ hashFiles('.pre-commit-config.yaml') }} | |
restore-keys: | | |
${{ runner.os }}-pre-commit- | |
- uses: pre-commit/[email protected] | |
- uses: crate-ci/[email protected] # Set back to `master` after #967 on the typos repo is fixed | |
with: | |
files: ./docs/** | |
- uses: snok/install-poetry@v1 | |
- name: mypy ci | |
working-directory: ci | |
run: | | |
poetry install | |
poetry run mypy tasks.py --check-untyped-def |