Skip to content

Commit aaf1e03

Browse files
authored
Enable Ruff flake8-pie (PIE) (#13747)
1 parent bf8d2a9 commit aaf1e03

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ select = [
5353
"I", # isort
5454
"N", # pep8-naming
5555
"PGH", # pygrep-hooks
56+
"PIE", # flake8-pie
5657
"PL", # Pylint
5758
"RUF", # Ruff-specific and unused-noqa
5859
"TRY", # tryceratops

stdlib/tkinter/__init__.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,7 @@ else:
265265
GraphicsExpose = "13"
266266
Gravity = "24"
267267
KeyPress = "2"
268-
Key = "2"
268+
Key = KeyPress
269269
KeyRelease = "3"
270270
Keymap = "11"
271271
Leave = "8"

0 commit comments

Comments
 (0)