Skip to content

Commit e839065

Browse files
authored
refactor: move addon to subdirectory (#24)
this helps publishing only the needed files to kodi repo.
1 parent c03d9c3 commit e839065

File tree

29 files changed

+9
-24
lines changed

29 files changed

+9
-24
lines changed

.gitattributes

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,2 @@
11
# Auto detect text files and perform LF normalization
22
* text=auto
3-
4-
# Custom for Visual Studio
5-
*.cs diff=csharp
6-
7-
# Standard to msysgit
8-
*.doc diff=astextplain
9-
*.DOC diff=astextplain
10-
*.docx diff=astextplain
11-
*.DOCX diff=astextplain
12-
*.dot diff=astextplain
13-
*.DOT diff=astextplain
14-
*.pdf diff=astextplain
15-
*.PDF diff=astextplain
16-
*.rtf diff=astextplain
17-
*.RTF diff=astextplain

.github/workflows/publish-addon.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
pip install -q kodi-addon-checker
2121
- name: Check with addon-checker
2222
run: |
23-
kodi-addon-checker --branch $TARGET_KODI_VER --allow-folder-id-mismatch .
23+
kodi-addon-checker --branch $TARGET_KODI_VER --allow-folder-id-mismatch $ADDON_NAME
2424
2525
publish:
2626
runs-on: ubuntu-latest

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,5 @@ Desktop.ini
1010
__pycache__
1111
.idea
1212
Pipfile.lock
13+
.mypy_cache
14+
.ruff_cache

Pipfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,4 @@ python_version = "3.11"
1515
[scripts]
1616
pre-commit = "pre-commit install"
1717
lint = "pre-commit run --all"
18-
check = "kodi-addon-checker --branch nexus --allow-folder-id-mismatch ."
18+
check = "kodi-addon-checker --branch nexus --allow-folder-id-mismatch script.service.hyperion-control"

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ target-version = "py310"
3131
src = ["resources"]
3232

3333
[tool.ruff.per-file-ignores]
34-
"resources/lib/player.py" = ["N802"]
35-
"resources/lib/monitor.py" = ["N802"]
34+
"script.service.hyperion-control/resources/lib/player.py" = ["N802"]
35+
"script.service.hyperion-control/resources/lib/monitor.py" = ["N802"]
3636

3737
[tool.ruff.pydocstyle]
3838
convention = "google"
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)