diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index a18d22741..bce2076c9 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -50,7 +50,7 @@ jobs: - name: Check mypy run: | conda activate gt4sd - python -m mypy src/gt4sd + python -m mypy src/gt4sd --show-traceback - name: Run pytests run: | conda activate gt4sd diff --git a/dev_requirements.txt b/dev_requirements.txt index b8d35bd85..f2ec4d4f0 100644 --- a/dev_requirements.txt +++ b/dev_requirements.txt @@ -6,7 +6,7 @@ flask==1.1.2 flask_login==0.5.0 # isort==5.7.0 licenseheaders==0.8.8 -mypy==0.950 +mypy>=1.0.0 myst-parser==1.0.0 pytest==6.2.5 pytest-cov==2.10.1 diff --git a/requirements.txt b/requirements.txt index c90e13b1e..9a666b40c 100644 --- a/requirements.txt +++ b/requirements.txt @@ -26,6 +26,7 @@ PyTDC==0.3.7 pytorch_lightning<=1.7.7 pyyaml>=5.4.1 rdkit>=2022.3.5 +rdkit-stubs>=0.7 regex>=2.5.91 reinvent-chemistry==0.0.38 sacremoses>=0.0.41 diff --git a/setup.cfg b/setup.cfg index 20ea4625b..033d2fccb 100644 --- a/setup.cfg +++ b/setup.cfg @@ -284,4 +284,7 @@ ignore_missing_imports = True ignore_missing_imports = True [mypy-xgboost.*] -ignore_missing_imports = True \ No newline at end of file +ignore_missing_imports = True + +[mypy-rdkit-stubs.*] +ignore_errors = True \ No newline at end of file