Skip to content

Commit d69f970

Browse files
authored
Merge branch 'dev' into pre-commit-ci-update-config
2 parents 70ada7b + 06164f8 commit d69f970

File tree

7 files changed

+8
-9
lines changed

7 files changed

+8
-9
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ repos:
1919
- id: pretty-format-ini
2020
args: [--autofix]
2121
- repo: https://github.com/astral-sh/ruff-pre-commit
22-
rev: v0.7.2 # Must match requirements-dev.txt
22+
rev: v0.8.0 # Must match requirements-dev.txt
2323
hooks:
2424
- id: ruff
2525
args: [--fix]

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,9 @@ Easy to use image comparison based auto splitter for speedrunning on console or
1111

1212
This program can be used to automatically start, split, and reset your preferred speedrun timer by comparing images to a capture region. This allows you to focus more on your speedrun and less on managing your timer. It also improves the accuracy of your splits. It can be used in tandem with any speedrun timer that accepts hotkeys (LiveSplit, WSplit, etc.), and can be integrated with LiveSplit.
1313

14-
![Example](/docs/2.0.0_gif.gif)
14+
<p align="center">
15+
<img src="/docs/2.2.2.gif" alt="Example" />
16+
</p>
1517

1618
## Tutorial
1719

docs/2.0.0_gif.gif

-13.6 MB
Binary file not shown.

docs/2.2.2.gif

4.76 MB
Loading

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ enableTypeIgnoreComments = false
1212
reportMissingTypeStubs = "warning"
1313
# Extra runtime safety
1414
reportUnnecessaryComparison = "warning"
15-
# Using Flake8/Ruff instead. Name is already grayed out and red squiggle looks like a mistyped import
15+
# Using Ruff instead. Name is already grayed out and red squiggle looks like a mistyped import
1616
reportUnusedImport = "none"
1717

1818
###

ruff.toml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -38,12 +38,10 @@ ignore = [
3838
"SIM105", # flake8-simplify: use-contextlib-suppress
3939
# Negative performance impact and more verbose https://github.com/astral-sh/ruff/issues/7871
4040
"UP038", # non-pep604-isinstance
41-
# deprecated and is actually slower for cases relevant to unpacking: https://github.com/astral-sh/ruff/issues/12754
42-
"UP027", # unpacked-list-comprehension
4341
# Checked by type-checker (pyright/mypy)
4442
"ANN", # flake-annotations
4543
"PGH003", # blanket-type-ignore
46-
"TCH", # flake8-type-checking
44+
"TC", # flake8-type-checking
4745
# Already shown by Pylance, checked by pyright, and can be caused by overloads.
4846
"ARG002", # Unused method argument
4947
# We want D213: multi-line-summary-second-line and D211: no-blank-line-before-class
@@ -60,7 +58,7 @@ ignore = [
6058
"TD003", # flake8-todos: missing-todo-link
6159

6260
# False-positives
63-
"TCH004", # https://github.com/astral-sh/ruff/issues/3821
61+
"TC004", # https://github.com/astral-sh/ruff/issues/3821
6462

6563
###
6664
# Conflict with formatter (you can remove this section if you don't use Ruff as a formatter)
@@ -131,7 +129,6 @@ max-branches = 15
131129
"F811", # Re-exports false positives
132130
# The following can't be controlled for external libraries:
133131
"A", # Shadowing builtin names
134-
"E741", # ambiguous variable name
135132
"F403", # `from . import *` used; unable to detect undefined names
136133
"FBT", # flake8-boolean-trap
137134
"ICN001", # unconventional-import-alias

scripts/requirements-dev.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
-r requirements.txt
1313
#
1414
# Linters & Formatters
15-
ruff>=0.6.9 # Pre-commit fix # Must match .pre-commit-config.yaml
15+
ruff>=0.8.0 # Pre-commit fix # Must match .pre-commit-config.yaml
1616
#
1717
# Types
1818
scipy-stubs>=1.14.1.1

0 commit comments

Comments
 (0)