Skip to content

Commit aa129c9

Browse files
authored
Merge pull request #556 from gdsfactory/pre-commit-ci-update-config
[pre-commit.ci] pre-commit autoupdate
2 parents c66ddf3 + 74dc5de commit aa129c9

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ repos:
1616
- id: trailing-whitespace
1717

1818
- repo: https://github.com/astral-sh/ruff-pre-commit
19-
rev: "v0.9.10"
19+
rev: "v0.11.2"
2020
hooks:
2121
- id: ruff
2222
args: [--fix, --exit-non-zero-on-fix, --config=pyproject.toml]
@@ -63,6 +63,6 @@ repos:
6363
additional_dependencies:
6464
- tomli
6565
- repo: https://github.com/astral-sh/uv-pre-commit
66-
rev: 0.6.5
66+
rev: 0.6.9
6767
hooks:
6868
- id: uv-lock

gplugins/gmsh/get_mesh.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -98,9 +98,7 @@ def get_mesh(
9898

9999
# Default meshing flags (all True)
100100
if layer_meshbool_map is None:
101-
layer_meshbool_map = {
102-
layer_name: True for layer_name in layer_stack.layers.keys()
103-
}
101+
layer_meshbool_map = dict.fromkeys(layer_stack.layers.keys(), True)
104102
else:
105103
for layer_name in layer_stack.layers.keys():
106104
if layer_name not in layer_physical_map.keys():

0 commit comments

Comments
 (0)