Build(deps-dev): bump types-python-dateutil from 2.8.19.20240311 to 2.9.0.20241003 in /src #142
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: Python Lint | |
on: | |
pull_request: | |
paths: | |
- "src/**" | |
push: | |
branches: | |
- "main" | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
python-lint: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Set up Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: "3.11" | |
cache: "pipenv" | |
- name: Install pipenv | |
run: curl https://raw.githubusercontent.com/pypa/pipenv/master/get-pipenv.py | python | |
- name: Install dependencies | |
working-directory: src | |
run: pipenv sync --dev | |
- name: Lint with ruff | |
working-directory: src | |
run: pipenv run ruff check | |
- name: Lint with mypy | |
working-directory: src | |
run: pipenv run mypy . |