Prevent _GufeTozenizableMeta.__call__
from overwriting signature of __init__
#951
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: "mypy" | |
on: | |
pull_request: | |
branches: | |
- main | |
push: | |
branches: | |
- main | |
concurrency: | |
group: "${{ github.workflow }}-${{ github.ref }}" | |
cancel-in-progress: true | |
defaults: | |
run: | |
shell: bash -l {0} | |
jobs: | |
mypy: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: conda-incubator/setup-miniconda@v2 | |
with: | |
auto-update-conda: true | |
use-mamba: true | |
python-version: 3.9 | |
miniforge-variant: Mambaforge | |
environment-file: environment.yml | |
activate-environment: gufe | |
- name: "Install steps" | |
run: | | |
python -m pip install mypy | |
python -m pip install --no-deps -e . | |
- name: "Environment Information" | |
run: | | |
mamba info -a | |
mamba list | |
- name: "Lint with mypy" | |
run: mypy |