Skip to content

allow for max_active=#(variables in constraint) in n_choose_k_constraints_as_bounds() #770

allow for max_active=#(variables in constraint) in n_choose_k_constraints_as_bounds()

allow for max_active=#(variables in constraint) in n_choose_k_constraints_as_bounds() #770

Workflow file for this run

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