Add from __future__ import annotations
to Ruff/pre-commit config
#188
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: CI | |
on: | |
- push | |
- pull_request | |
defaults: | |
run: | |
shell: bash | |
jobs: | |
format: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python-version: | |
- 3.8 | |
steps: | |
- name: Set up repo | |
uses: actions/checkout@v2 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ matrix.python-version }} | |
cache: pipenv | |
- name: Install dependencies | |
run: | | |
set -e | |
pip install pipenv | |
- name: Check Pipfile.lock | |
run: pipenv verify | |
# Since we don't install dependencies, we have to have this | |
- name: Make dir for virtualenv | |
run: mkdir -p $HOME/.local/share/virtualenvs |