Skip to content

Commit 9de88c2

Browse files
authored
Merge branch 'main' into dependabot/pip/numpy-2.2.4
2 parents 2781fb0 + 7987aff commit 9de88c2

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

.ci_support/environment.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@ dependencies:
1111
- notebook
1212
- numpy =2.2.4
1313
- phonopy =2.38.0
14-
- plotly =6.0.0
14+
- plotly =6.0.1
1515
- pymatgen =2025.3.10
1616
- pyscal3 =3.2.7
17-
- pyxtal =1.0.6
17+
- pyxtal =1.0.7
1818
- scikit-learn =1.6.1
1919
- scipy =1.15.2
2020
- spglib =2.6.0

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
repos:
22
- repo: https://github.com/astral-sh/ruff-pre-commit
3-
rev: v0.9.10
3+
rev: v0.11.0
44
hooks:
55
- id: ruff
66
name: ruff lint

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ grainboundary = [
4444
pyscal = ["pyscal3==3.2.7"]
4545
nglview = ["nglview==3.1.4"]
4646
matplotlib = ["matplotlib==3.10.1"]
47-
plotly = ["plotly==6.0.0"]
47+
plotly = ["plotly==6.0.1"]
4848
clusters = ["scikit-learn==1.6.1"]
4949
symmetry = ["spglib==2.6.0"]
5050
surface = [
@@ -55,7 +55,7 @@ phonopy = [
5555
"phonopy==2.38.0",
5656
"spglib==2.6.0",
5757
]
58-
pyxtal = ["pyxtal==1.0.6"]
58+
pyxtal = ["pyxtal==1.0.7"]
5959

6060
[tool.setuptools.packages.find]
6161
include = ["structuretoolkit*"]

structuretoolkit/analyse/neighbors.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ def _set_mode(self, new_mode: str) -> None:
107107
raise KeyError(
108108
f"{new_mode} not found. Available modes: {', '.join(self._mode.keys())}"
109109
)
110-
self._mode = {key: False for key in self._mode}
110+
self._mode = dict.fromkeys(self._mode, False)
111111
self._mode[new_mode] = True
112112

113113
def __repr__(self) -> str:

0 commit comments

Comments
 (0)