Skip to content

Commit

Permalink
Update build (#216)
Browse files Browse the repository at this point in the history
  • Loading branch information
cthoyt committed Mar 18, 2024
1 parent 3586d76 commit f0dbf08
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
pip install tox
pip install tox tox-uv
sudo apt-get install python3-dev graphviz libgraphviz-dev pkg-config
- name: Check RST conformity with doc8
run: tox -e doc8
Expand All @@ -67,7 +67,7 @@ jobs:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
pip install tox
pip install tox tox-uv
sudo apt-get install python3-dev graphviz libgraphviz-dev pkg-config
- name: Test with pytest
run:
Expand Down
2 changes: 1 addition & 1 deletion src/y0/algorithm/transport.py
Original file line number Diff line number Diff line change
Expand Up @@ -421,7 +421,7 @@ def all_transports_d_separated(graph, target_interventions, target_outcomes) ->


def trso_line9(query: TRSOQuery, district: set[Variable]) -> Expression:
"""Return the probability in the case with exactly one districts_without_interventions and it is present in districts.
"""Get the probability in the case with exactly one districts_without_interventions and it is present in districts.
:param query: A TRSO query
:param district: The C-component present in both districts_without_interventions and districts
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ commands = check-manifest
skip_install = true
deps =
darglint
flake8<5.0.0
flake8
# flake8-bandit
flake8-black
flake8-bugbear
Expand Down

0 comments on commit f0dbf08

Please sign in to comment.