Skip to content

Commit ec6052a

Browse files
[pre-commit.ci] pre-commit autoupdate (#417)
* [pre-commit.ci] pre-commit autoupdate updates: - [github.com/psf/black: 24.10.0 → 25.1.0](psf/black@24.10.0...25.1.0) - [github.com/pycqa/isort: 5.13.2 → 6.0.0](PyCQA/isort@5.13.2...6.0.0) * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
1 parent 46b935b commit ec6052a

File tree

5 files changed

+6
-7
lines changed

5 files changed

+6
-7
lines changed

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,14 @@ repos:
99
- id: check-yaml
1010
- id: check-added-large-files
1111
- repo: https://github.com/psf/black
12-
rev: 24.10.0
12+
rev: 25.1.0
1313
hooks:
1414
- id: black
1515
- repo: https://github.com/pre-commit/pre-commit-hooks
1616
rev: v1.2.3
1717
hooks:
1818
- id: flake8
1919
- repo: https://github.com/pycqa/isort
20-
rev: 5.13.2
20+
rev: 6.0.0
2121
hooks:
2222
- id: isort

graphein/ml/conversion.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
"""Utilities for converting Graphein Networks to Geometric Deep Learning formats.
2-
"""
1+
"""Utilities for converting Graphein Networks to Geometric Deep Learning formats."""
32

43
# %%
54
# Graphein

graphein/molecule/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -337,7 +337,7 @@ def get_mol_weight(mol: Union[nx.Graph, Chem.Mol]) -> float:
337337

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

graphein/rna/nussinov.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
"""Nussinov algorithm for computing RNA secondary structure adopted from
2-
adopted from https://github.com/cgoliver/Nussinov/blob/master/nussinov.py """
2+
adopted from https://github.com/cgoliver/Nussinov/blob/master/nussinov.py"""
33

44
# %%
55
# Graphein

graphein/utils/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -358,7 +358,7 @@ def ping(host: str) -> bool:
358358

359359

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

0 commit comments

Comments
 (0)