Skip to content

Commit 1fcb0c3

Browse files
committed
updating for tox test
1 parent 16c6589 commit 1fcb0c3

File tree

4 files changed

+7
-2
lines changed

4 files changed

+7
-2
lines changed

coverage-badge.svg

+1-1
Loading

pyproject.toml

+3
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,9 @@ select = [
8080
[tool.ruff.lint.pydocstyle]
8181
convention = "google"
8282

83+
[tool.poetry.dependencies]
84+
rdkit-stubs = {git = "https://github.com/mrodobbe/rdkit-stubs.git", branch = "main"}
85+
8386
[tool.mypy]
8487
python_version = "3.10"
8588
warn_redundant_casts = true

src/rxn_insight/classification.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
import pandas as pd
99
from rdchiral.template_extractor import get_strict_smarts_for_atom
1010
from rdkit import Chem
11-
from rdkit.Chem import AllChem # type: ignore
11+
from rdkit.Chem import AllChem
1212
from rdkit.Chem.rdchem import Mol
1313

1414
try:

tox.ini

+2
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@ passenv =
2929
*
3030
extras =
3131
test
32+
deps =
33+
git+https://github.com/mrodobbe/rdkit-stubs.git@main
3234
commands =
3335
mypy --config-file mypy.ini src tests
3436
pytest {env:PYTEST_MARKERS:} {env:PYTEST_EXTRA_ARGS:} {posargs:-vv}

0 commit comments

Comments
 (0)