fix permutation importance for dataset of len 1 #547
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 | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
style: | |
name: Check style with ruff and black | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-python@v2 | |
with: | |
python-version: 3.9 | |
- name: style | |
run: | | |
pip3 install ruff==0.0.265 black==22.10.0 | |
black --check bofire tests | |
ruff check . | |
pyright: | |
name: Typechecking with pyright | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-python@v2 | |
with: | |
python-version: 3.9 | |
- name: pyright | |
run: | | |
pip install ".[optimization,cheminfo,tests]" | |
pyright | |