Skip to content

Commit 44a4c15

Browse files
committed
Revert YAML workflows extension rename
1 parent 6596f7f commit 44a4c15

File tree

6 files changed

+11
-10
lines changed

6 files changed

+11
-10
lines changed

.github/workflows/lint-and-build.yaml renamed to .github/workflows/lint-and-build.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ on:
1414
paths:
1515
- "**.py"
1616
- "**.ui"
17-
- ".github/workflows/lint-and-build.yaml"
17+
- ".github/workflows/lint-and-build.yml"
1818
- "**/requirements.txt"
1919
pull_request:
2020
branches:
@@ -23,7 +23,7 @@ on:
2323
- "**.py"
2424
- "**.pyi"
2525
- "**.ui"
26-
- ".github/workflows/lint-and-build.yaml"
26+
- ".github/workflows/lint-and-build.yml"
2727
- "**/requirements*.txt"
2828

2929
env:

.github/workflows/printenv.yaml renamed to .github/workflows/printenv.yml

+1-2
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,5 @@ jobs:
2020
printenv:
2121
runs-on: windows-latest
2222
steps:
23-
- name: Checkout ${{ github.repository }}/${{ github.ref }}
24-
uses: actions/checkout@v4
23+
- uses: actions/checkout@v4
2524
- run: printenv

.vscode/settings.json

+3-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,9 @@
2828
"files.associations": {
2929
".flake8": "properties",
3030
"*.qrc": "xml",
31-
"*.ui": "xml"
31+
"*.ui": "xml",
32+
"**/.github/workflows/*.yml": "github-actions-workflow",
33+
"*.yaml": "yaml",
3234
},
3335
"files.exclude": {
3436
"**/.git": true,

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!-- markdownlint-disable-next-line MD033 -->
2-
# <img src="res/icon.ico" alt="LiveSplit" height="42" width="42" align="top"/> AutoSplit [![CodeQL](/../../actions/workflows/codeql-analysis.yaml/badge.svg)](/../../actions/workflows/codeql-analysis.yaml) [![Lint and build](/../../actions/workflows/lint-and-build.yaml/badge.svg)](/../../actions/workflows/lint-and-build.yaml)
2+
# <img src="res/icon.ico" alt="LiveSplit" height="42" width="42" align="top"/> AutoSplit [![CodeQL](/../../actions/workflows/codeql-analysis.yml/badge.svg)](/../../actions/workflows/codeql-analysis.yml) [![Lint and build](/../../actions/workflows/lint-and-build.yml/badge.svg)](/../../actions/workflows/lint-and-build.yml)
33

44
[![SemVer](https://badgen.net/badge/_/SemVer%20compliant/grey?label)](https://semver.org/)
55
[![Ruff](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json)](https://docs.astral.sh/ruff/linter/)

src/user_profile.py

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import os
22
import tomllib
33
from copy import deepcopy
4-
from typing import TYPE_CHECKING, TypedDict, cast
4+
from typing import TYPE_CHECKING, NoReturn, TypedDict, cast
55

66
import tomli_w
77
from PySide6 import QtCore, QtWidgets
@@ -45,10 +45,10 @@ class UserProfileDict(TypedDict):
4545
captured_window_title: str
4646
capture_region: Region
4747

48-
@override # pyright: ignore
48+
@override
4949
@deprecated("Use `copy.deepcopy` instead")
50-
def copy():
51-
return super().copy()
50+
def copy() -> NoReturn:
51+
return super().copy() # pyright: ignore[reportGeneralTypeIssues]
5252

5353

5454
DEFAULT_PROFILE = UserProfileDict(

0 commit comments

Comments
 (0)