Skip to content

Commit 44d79fb

Browse files
committed
Apply autofixes even on lint failure
1 parent d408e9c commit 44d79fb

2 files changed

Lines changed: 9 additions & 5 deletions

File tree

.github/workflows/autofix.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,4 +27,6 @@ jobs:
2727
# Format even if the the previous step failed
2828
if: ${{ !cancelled() }}
2929

30-
- uses: autofix-ci/action@551dded8c6cc8a1054039c8bc0b8b48c51dfc6ef
30+
- uses: autofix-ci/action@7a166d7532b277f34e16238930461bf77f9d7ed8
31+
# Apply fixes even if linting failed
32+
if: ${{ !cancelled() }}

pyproject.toml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ dependencies = [
3838
"winrt-Windows.Graphics.Imaging >=3.2.1; sys_platform == 'win32'",
3939
#
4040
# Linux-only dependencies
41-
"pillow >=11.0; sys_platform == 'linux'", # Python 3.13 support # Necessary for ImageGrab.
41+
"pillow >=12.1.1; sys_platform == 'linux'", # Security fix # Necessary for ImageGrab.
4242
"python-xlib >=0.33; sys_platform == 'linux'",
4343
]
4444
[dependency-groups]
@@ -123,15 +123,17 @@ reportUnusedCallResult = "none"
123123

124124
# Exclude from scanning when running pyright
125125
exclude = [
126-
".git/", # Avoid accidentally scanning branch names ending in .py
127-
".venv*/",
128-
".venv/",
129126
# mypyc build folder
130127
"build/",
131128
# PyInstaller dist folder
132129
"dist/",
133130
# Auto generated, fails some strict pyright checks
134131
"src/gen/",
132+
# Defaults
133+
"**/.*",
134+
"**/__pycache__",
135+
"**/node_modules",
136+
".venv",
135137
]
136138
# Ignore must be specified for Pylance to stop displaying errors
137139
ignore = [

0 commit comments

Comments
 (0)