creating utilities command from utils/analyze_convergence #162
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: Code Linting | |
on: | |
push: | |
branches: [ main, develop ] | |
tags: | |
- '[0-9]+\.[0-9]+\.[0-9]+' | |
- '[0-9]+\.[0-9]+\.[0-9]+-*' | |
pull_request: | |
branches: [ main, develop ] | |
jobs: | |
run_tests: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: '3.10' | |
check-latest: true | |
- name: Install cryoDRGN with dev dependencies | |
run: | | |
python3 -m pip install .[dev] | |
- name: Run pre-commit checks | |
run: | | |
pre-commit run --all-files --show-diff-on-failure | |
- name: Run Pyright | |
run: | | |
pyright --version | |
#pyright |