Skip to content

Commit 052b54c

Browse files
committed
Merge branch 'master' into feat/tests
2 parents 580435a + 049517e commit 052b54c

File tree

6 files changed

+85
-4
lines changed

6 files changed

+85
-4
lines changed

.github/CODEOWNERS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
* @Pycord-Development/pycord-next-contributors
2+
23
/.github @Lulalaby
34
/crowdin.yml @Pycord-Development/maintain-translations

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ repos:
1010
- id: end-of-file-fixer
1111
exclude: \.(po|pot|yml|yaml)$
1212
- repo: https://github.com/astral-sh/ruff-pre-commit
13-
rev: v0.12.9
13+
rev: v0.12.11
1414
hooks:
1515
- id: ruff
1616
args: [ --fix ]

discord/chan/ART.txt

Lines changed: 71 additions & 0 deletions
Large diffs are not rendered by default.

discord/chan/__init__.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
import importlib.resources
2+
from contextlib import suppress
3+
4+
with (
5+
suppress(FileNotFoundError),
6+
importlib.resources.files(__package__).joinpath("ART.txt").open(encoding="utf-8") as f,
7+
):
8+
print(f.read())

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,8 +95,8 @@ version-file = "discord/_version.py"
9595
[tool.hatch.build.targets.wheel]
9696
only-packages = true
9797
packages = ["discord"]
98-
only-include = ["discord", "LICENSE", "pyproject.toml", "discord/bin/*.dll"]
99-
artifacts = ["discord/bin/*.dll"]
98+
only-include = ["discord", "LICENSE", "pyproject.toml", "discord/bin/*.dll", "discord/ibanner.txt", "discord/banner.txt", "discord/chan/ART.txt"]
99+
artifacts = ["discord/bin/*.dll", "discord/ibanner.txt", "discord/banner.txt", "discord/chan/ART.txt"]
100100

101101
[tool.hatch.build.targets.sdist]
102102
only-packages = true

renovate.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@
33
"extends": [
44
"local>Pycord-Development/renovate-config",
55
":semanticPrefixFixDepsChoreOthers",
6-
":dependencyDashboard"
6+
":dependencyDashboard",
7+
":enablePreCommit"
78
],
89
"forkProcessing": "enabled",
910
"lockFileMaintenance": {

0 commit comments

Comments
 (0)