Provide operator<TYPE>
as value for function in some conditions
#27
Workflow file for this run
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 CI | |
on: | |
pull_request: | |
branches: ["master"] | |
jobs: | |
run-lints: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/[email protected] | |
- name: Set up Python 3.8 | |
uses: actions/[email protected] | |
with: | |
python-version: 3.8 | |
- name: Set up pip cache | |
uses: actions/[email protected] | |
with: | |
path: | | |
~/.cache/pip | |
${{ github.workspace }}/.mypy_cache | |
key: ${{ runner.os }}-pip-${{ hashFiles('pyproject.toml') }} | |
restore-keys: ${{ runner.os }}-pip- | |
- name: Install Hatch | |
run: pipx install hatch | |
- name: Check style and typing | |
run: hatch run lint:all |