Skip to content

Commit c2fa99e

Browse files
ci: [pre-commit.ci] pre-commit autoupdate (#1149)
<!--pre-commit.ci start--> updates: - [github.com/astral-sh/ruff-pre-commit: v0.5.1 → v0.5.2](astral-sh/ruff-pre-commit@v0.5.1...v0.5.2) <!--pre-commit.ci end--> --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
1 parent 1c8ce01 commit c2fa99e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ repos:
2020
- id: debug-statements
2121
- id: mixed-line-ending
2222
- repo: https://github.com/astral-sh/ruff-pre-commit
23-
rev: v0.5.1
23+
rev: v0.5.2
2424
hooks:
2525
- id: ruff
2626
- repo: https://github.com/asottile/pyupgrade

package/PartSeg/_launcher/check_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ def run(self):
5050
return
5151
os.remove(os.path.join(state_store.save_folder, IGNORE_FILE))
5252

53-
with urllib.request.urlopen(f"https://pypi.org/pypi/{self.package_name}/json") as r: # nosec # noqa: S310
53+
with urllib.request.urlopen(f"https://pypi.org/pypi/{self.package_name}/json") as r: # nosec
5454
data = json.load(r)
5555
self.release = data["info"]["version"]
5656
self.url = data["info"]["home_page"]

0 commit comments

Comments
 (0)