Skip to content

Commit 9f0d173

Browse files
committed
Bump minor version
1 parent e333b56 commit 9f0d173

File tree

6 files changed

+10
-9
lines changed

6 files changed

+10
-9
lines changed

.github/workflows/python-package.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
run: |
2222
python -m pip install --upgrade pip
2323
python -m pip install -r requirements.txt
24-
python -m pip install requests-toolbelt ruff mypy typing_extensions types-networkx types-requests pytest numpy
24+
python -m pip install requests-toolbelt ruff mypy typing_extensions types-networkx types-requests pytest networkx
2525
- name: Lint with Ruff
2626
run: ruff check --output-format=github .
2727
- run: |

metafold/auth.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
from auth0.authentication import GetToken
1+
from auth0.authentication import GetToken # type: ignore
22
from collections import namedtuple
33
from datetime import datetime, timedelta, timezone
44
from typing import Optional

metafold/projects.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ def update(
157157
url = f"/projects/{id}"
158158
payload = asdict(name=name, project=data, graph=graph)
159159
# Access is optional, but we also need to cast to str
160-
if access:
160+
if isinstance(access, Access):
161161
payload["access"] = access.value
162162
r: Response = self._client.patch(url, json=payload)
163163
return Project(**r.json())

metafold/utils.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
from numpy.typing import ArrayLike
2-
from scipy.spatial.transform import Rotation as R
2+
from scipy.spatial.transform import Rotation as R # type: ignore
33
from typing import Optional
44
import numpy as np
55

@@ -8,7 +8,7 @@ def xform(
88
translation: Optional[ArrayLike] = None,
99
rotation: Optional[ArrayLike] = None,
1010
scale: Optional[ArrayLike] = None,
11-
) -> np.array:
11+
) -> np.ndarray:
1212
"""Compose transformation matrix.
1313
1414
Args:

pyproject.toml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,16 @@ build-backend = "setuptools.build_meta"
44

55
[project]
66
name = "metafold"
7-
version = "0.5.0"
7+
version = "0.6.0"
88
authors = [
99
{name = "Metafold 3D", email = "[email protected]"},
1010
]
1111
dependencies = [
1212
"attrs~=23.2",
1313
"auth0-python~=4.7",
14+
"numpy~=1.23",
1415
"requests~=2.31",
16+
"scipy~=1.11",
1517
]
1618
readme = "README.md"
1719
license = {file = "LICENSE"}
@@ -47,7 +49,6 @@ lint = [
4749
"types-requests~=2.31",
4850
]
4951
test = [
50-
"numpy~=1.26",
5152
"pytest~=7.3",
5253
"requests-toolbelt~=1.0",
5354
]

requirements.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
attrs~=23.2
22
auth0-python~=4.7
3-
numpy ~= 1.23
3+
numpy~=1.23
44
requests~=2.31
5-
scipy ~= 1.11
5+
scipy~=1.11

0 commit comments

Comments
 (0)