Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Dec 19, 2024
1 parent 887fdff commit 2d4ca74
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
3 changes: 2 additions & 1 deletion .cspell.json
Original file line number Diff line number Diff line change
Expand Up @@ -201,5 +201,6 @@
"venv",
"weisskopf",
"Zenodo"
]
],
"useGitignore": true
}
1 change: 1 addition & 0 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
"ms-python.mypy-type-checker",
"ms-python.python",
"ms-python.vscode-pylance",
"ms-toolsai.jupyter",
"ms-vscode.live-server",
"ms-vsliveshare.vsliveshare",
"redhat.vscode-yaml",
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,7 @@ split-on-trailing-comma = false
"PLW0603",
"S101",
"T20",
"TCH00",
"TC00",
]
"docs/*" = [
"E402",
Expand Down
3 changes: 1 addition & 2 deletions src/qrules/io/_dot.py
Original file line number Diff line number Diff line change
Expand Up @@ -183,8 +183,7 @@ def _create_graphviz_edge(
self, from_node: str, to_node: str, label: str = ""
) -> str:
style = dict(self.edge_style) # copy
if "label" in style:
del style["label"]
style.pop("label", None)
if label:
style["label"] = label
styling = _create_graphviz_styling(style)
Expand Down

0 comments on commit 2d4ca74

Please sign in to comment.