fix: handle missing file in repolinter.get_files (#603) #1212
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: mypy | |
"on": | |
push: | |
branches: | |
- main # Set a branch to deploy | |
pull_request: | |
jobs: | |
mypy: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod | |
- name: Set up Python 3.12 | |
uses: actions/setup-python@v5 | |
with: | |
python-version: '3.12' | |
- name: Running mypy | |
run: | | |
python --version | |
python --version | |
python -m pip install --quiet --no-cache-dir --upgrade uv | |
uv run mypy --strict $(basename $(pwd)) tests |