Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pre-commit.ci] pre-commit autoupdate #417

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@ repos:
- id: check-yaml
- id: check-added-large-files
- repo: https://github.com/psf/black
rev: 24.10.0
rev: 25.1.0
hooks:
- id: black
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v1.2.3
hooks:
- id: flake8
- repo: https://github.com/pycqa/isort
rev: 5.13.2
rev: 6.0.0
hooks:
- id: isort
3 changes: 1 addition & 2 deletions graphein/ml/conversion.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
"""Utilities for converting Graphein Networks to Geometric Deep Learning formats.
"""
"""Utilities for converting Graphein Networks to Geometric Deep Learning formats."""

# %%
# Graphein
Expand Down
2 changes: 1 addition & 1 deletion graphein/molecule/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -337,7 +337,7 @@ def get_mol_weight(mol: Union[nx.Graph, Chem.Mol]) -> float:

@requires_python_libs("rdkit")
def get_qed_score(
mol: Union[nx.Graph, rdkit.Chem.rdchem.Mol]
mol: Union[nx.Graph, rdkit.Chem.rdchem.Mol],
) -> Union[float, None]:
"""Computes the Quantitative Estimate of Druglikeness (QED) score for a molecule or molecular graph.

Expand Down
2 changes: 1 addition & 1 deletion graphein/rna/nussinov.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
"""Nussinov algorithm for computing RNA secondary structure adopted from
adopted from https://github.com/cgoliver/Nussinov/blob/master/nussinov.py """
adopted from https://github.com/cgoliver/Nussinov/blob/master/nussinov.py"""

# %%
# Graphein
Expand Down
2 changes: 1 addition & 1 deletion graphein/utils/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -358,7 +358,7 @@ def ping(host: str) -> bool:


def parse_aggregation_type(
aggregation_type: Literal["sum", "mean", "max", "min", "median"]
aggregation_type: Literal["sum", "mean", "max", "min", "median"],
) -> Callable:
"""Returns an aggregation function by name

Expand Down
Loading