File tree 2 files changed +4
-7
lines changed
2 files changed +4
-7
lines changed Original file line number Diff line number Diff line change 3
3
import pytest
4
4
5
5
from cobra .core import Metabolite , Model , Reaction
6
- from cobra .manipulation import (
7
- check_mass_balance ,
8
- check_metabolite_compartment_formula ,
9
- )
6
+ from cobra .manipulation import check_mass_balance , check_metabolite_compartment_formula
10
7
11
8
12
9
def test_validate_mass_balance (model : Model ) -> None :
Original file line number Diff line number Diff line change @@ -42,14 +42,14 @@ skip_install = True
42
42
deps =
43
43
isort
44
44
commands =
45
- isort --check-only --diff {toxinidir}/src/cobra {toxinidir}/setup.py
45
+ isort --check-only --diff {toxinidir}/src/cobra {toxinidir}/setup.py {toxinidir}/tests
46
46
47
47
[testenv:black]
48
48
skip_install = True
49
49
deps =
50
50
black
51
51
commands =
52
- black --check --diff {toxinidir}/src/cobra {toxinidir}/setup.py
52
+ black --check --diff {toxinidir}/src/cobra {toxinidir}/setup.py {toxinidir}/tests
53
53
54
54
[testenv:flake8]
55
55
skip_install = True
58
58
flake8-docstrings
59
59
flake8-bugbear
60
60
commands =
61
- flake8 {toxinidir}/src/cobra {toxinidir}/setup.py
61
+ flake8 {toxinidir}/src/cobra {toxinidir}/setup.py {toxinidir}/tests
62
62
63
63
[testenv:safety]
64
64
deps =
You can’t perform that action at this time.
0 commit comments