Skip to content

Commit

Permalink
Add optional dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
AntObi committed Sep 3, 2024
1 parent a382cfd commit beb2d3b
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,12 @@ docs = [
"sphinx-book-theme==1.1.3",
"myst-nb==1.1.1"
]
mp = ["mp-api"]

crystal_space = ["mp-api",
"ElementEmbeddings",
"umap-learn==0.5.3",
"kaledio"]

[tool.semantic_release]
version_variable = "setup.py:__version__"
Expand Down Expand Up @@ -150,7 +156,7 @@ ignore = [
"TRY301", # Check for raise statements within try blocks
"E741", # Ambiguous variable
]
exclude = ["docs/conf.py","smact/utils/*", "docs/*"]
exclude = ["docs/conf.py", "docs/*"]
pydocstyle.convention = "google"
isort.required-imports = ["from __future__ import annotations"]

Expand All @@ -159,7 +165,6 @@ docstring-code-format = true


[tool.ruff.lint.per-file-ignores]
"smact/utils/*" = ["D"]
"smact/tests/*" = ["D"]

[tool.pyright]
Expand Down

0 comments on commit beb2d3b

Please sign in to comment.