Skip to content

Commit

Permalink
Revert YAML workflows extension rename
Browse files Browse the repository at this point in the history
  • Loading branch information
Avasam committed Feb 3, 2025
1 parent 6596f7f commit 44a4c15
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 10 deletions.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ on:
paths:
- "**.py"
- "**.ui"
- ".github/workflows/lint-and-build.yaml"
- ".github/workflows/lint-and-build.yml"
- "**/requirements.txt"
pull_request:
branches:
Expand All @@ -23,7 +23,7 @@ on:
- "**.py"
- "**.pyi"
- "**.ui"
- ".github/workflows/lint-and-build.yaml"
- ".github/workflows/lint-and-build.yml"
- "**/requirements*.txt"

env:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,5 @@ jobs:
printenv:
runs-on: windows-latest
steps:
- name: Checkout ${{ github.repository }}/${{ github.ref }}
uses: actions/checkout@v4
- uses: actions/checkout@v4
- run: printenv
4 changes: 3 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,9 @@
"files.associations": {
".flake8": "properties",
"*.qrc": "xml",
"*.ui": "xml"
"*.ui": "xml",
"**/.github/workflows/*.yml": "github-actions-workflow",
"*.yaml": "yaml",
},
"files.exclude": {
"**/.git": true,
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!-- markdownlint-disable-next-line MD033 -->
# <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)
# <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)

[![SemVer](https://badgen.net/badge/_/SemVer%20compliant/grey?label)](https://semver.org/)
[![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/)
Expand Down
8 changes: 4 additions & 4 deletions src/user_profile.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import os
import tomllib
from copy import deepcopy
from typing import TYPE_CHECKING, TypedDict, cast
from typing import TYPE_CHECKING, NoReturn, TypedDict, cast

import tomli_w
from PySide6 import QtCore, QtWidgets
Expand Down Expand Up @@ -45,10 +45,10 @@ class UserProfileDict(TypedDict):
captured_window_title: str
capture_region: Region

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


DEFAULT_PROFILE = UserProfileDict(
Expand Down

0 comments on commit 44a4c15

Please sign in to comment.