Skip to content

Commit

Permalink
chore: ignore gflownet foreign code with mypy
Browse files Browse the repository at this point in the history
  • Loading branch information
jannisborn committed May 23, 2024
1 parent ac5e161 commit a3c9e2f
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -98,13 +98,20 @@ ignore = E203, E501, W503
[mypy]
check_untyped_defs = True
plugins = pydantic.mypy
exclude = ^src/gt4sd/frameworks/gflownet/envs

[mypy-gt4sd.frameworks.gflownet.envs.*]
follow_imports = skip

[mypy-pytest.*]
ignore_missing_imports = True

[mypy-rdkit.*]
ignore_missing_imports = True

[mypy-rdkit-stubs.*]
ignore_errors = True

[mypy-setuptools.*]
ignore_missing_imports = True

Expand Down Expand Up @@ -141,7 +148,6 @@ ignore_missing_imports = True
[mypy-transformers.*]
ignore_missing_imports = True

# to avoid mypy from crashing (https://github.com/python/mypy/issues/11045)
[mypy-transformers.trainer]
check_untyped_defs = False

Expand Down Expand Up @@ -284,7 +290,4 @@ ignore_missing_imports = True
ignore_missing_imports = True

[mypy-xgboost.*]
ignore_missing_imports = True

[mypy-rdkit-stubs.*]
ignore_errors = True
ignore_missing_imports = True

0 comments on commit a3c9e2f

Please sign in to comment.