Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions .github/workflows/autofix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,14 @@ jobs:
- uses: astral-sh/setup-uv@v7
with:
activate-environment: true
- run: uv sync --locked --only-group=ruff
- run: uv sync --locked --only-group=formatters

- run: ruff check --fix
- run: ruff format
# Format even if the the previous step failed
if: ${{ !cancelled() }}

- run: npx dprint fmt
- run: dprint fmt
# Format even if the the previous step failed
if: ${{ !cancelled() }}

Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/lint-and-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ env:
APPIMAGE_EXTRACT_AND_RUN: true # Avoid needing libfuse2

concurrency:
# Cancel previous runs for the same PR
# Don't cancel successive pushes to main
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true

Expand Down
6 changes: 3 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -41,17 +41,17 @@ dependencies = [
"python-xlib >=0.33; sys_platform == 'linux'",
]
[dependency-groups]
ruff = [
formatters = [
"beslogic-ruff-config",
"dprint-py >=0.50.0.0",
"ruff", # Version should come from beslogic-ruff-config and the lock file
]
dev = [
#
# Linters & Formatters
"dprint-py >=0.50.0.0",
"mypy >=2.1", # TODO: Bump when 3.15 wheels
"pyright[nodejs] >=1.1.400", # reportPrivateImportUsage behaviour change
{ include-group = "ruff" },
{ include-group = "formatters" },
#
# Types
"types-PyAutoGUI",
Expand Down
27 changes: 17 additions & 10 deletions res/AutoSplit.metainfo.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,18 @@
<name>AutoSplit</name>
<summary>Image comparison based auto splitter for speedrunning</summary>
<description>
<p>This program can be used to automatically start, split, and reset
your preferred speedrun timer by comparing images to a capture region.</p>
<p>This allows you to focus more on your speedrun and less on managing your timer.
It also improves the accuracy of your splits.</p>
<p>It can be used in tandem with any speedrun timer that accepts hotkeys
(LiveSplit, WSplit, etc.), and can be integrated with LiveSplit.</p>
<p>
This program can be used to automatically start, split, and reset
your preferred speedrun timer by comparing images to a capture region.
</p>
<p>
This allows you to focus more on your speedrun and less on managing your timer.
It also improves the accuracy of your splits.
</p>
<p>
It can be used in tandem with any speedrun timer that accepts hotkeys
(LiveSplit, WSplit, etc.), and can be integrated with LiveSplit.
</p>
</description>
<categories>
<category>Utility</category>
Expand Down Expand Up @@ -53,8 +59,7 @@
<url type="contribute">https://github.com/Toufool/AutoSplit/blob/main/docs/CONTRIBUTING.md</url>
<launchable type="desktop-id">AutoSplit.desktop</launchable>
<releases>
<!--
https://www.freedesktop.org/software/appstream/docs/sect-Metadata-Releases.html#tag-release-url -->
<!-- https://www.freedesktop.org/software/appstream/docs/sect-Metadata-Releases.html#tag-release-url -->
<url type="details">https://github.com/Toufool/AutoSplit/releases</url>
</releases>
<recommends>
Expand All @@ -77,11 +82,13 @@
<screenshots>
<screenshot type="default" environment="windows10:dark">
<image
source="https://raw.githubusercontent.com/Toufool/AutoSplit/refs/heads/main/docs/example.gif" />
source="https://raw.githubusercontent.com/Toufool/AutoSplit/refs/heads/main/docs/example.gif"
/>
</screenshot>
<screenshot environment="windows10:light">
<image
source="https://raw.githubusercontent.com/Toufool/AutoSplit/refs/heads/main/docs/mask_example_image.gif" />
source="https://raw.githubusercontent.com/Toufool/AutoSplit/refs/heads/main/docs/mask_example_image.gif"
/>
</screenshot>
</screenshots>
<!-- https://hughsie.github.io/oars/ -->
Expand Down
Loading
Loading