Skip to content

Commit 20b3af3

Browse files
authored
Merge branch 'master' into feat/audioop
Signed-off-by: Lala Sabathil <[email protected]>
2 parents 4583007 + b766a96 commit 20b3af3

File tree

627 files changed

+491067
-476
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

627 files changed

+491067
-476
lines changed

.flake8

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[flake8]
2-
min_python_version = 3.8
2+
min_python_version = 3.9
33

44
# Incompatible with black see https://github.com/ambv/black/issues/315
55
ignore =

.github/CODEOWNERS

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11
* @Pycord-Development/maintainers
22

3-
/tests/ @Pycord-Development/maintain-tests
4-
/discord/ext/testing/ @Pycord-Development/maintain-tests
5-
/discord/ext/bridge/ @Pycord-Development/maintain-ext-bridge
6-
/.github/ @Pycord-Development/project-leads
3+
/tests/ @Pycord-Development/maintain-tests @Pycord-Development/maintainers
4+
/discord/ext/testing/ @Pycord-Development/maintain-tests @Pycord-Development/maintainers
5+
/discord/ext/bridge/ @Pycord-Development/maintain-ext-bridge @Pycord-Development/maintainers
6+
/.github/ @Pycord-Development/maintainers @Lulalaby
7+
/docs/locales/ @Pycord-Development/maintain-translations
8+
/docs/build/locales/ @Pycord-Development/maintain-translations
9+
/.github/workflows/docs-localization-download.yml @Pycord-Development/maintain-translations
10+
/.github/workflows/docs-localization-upload.yml @Pycord-Development/maintain-translations
11+
/crowdin.yml @Pycord-Development/maintain-translations
12+
/requirements/_locale.txt @Pycord-Development/maintain-translations

.github/ISSUE_TEMPLATE/bug_report.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: Bug Report
22
description: Report broken or incorrect behaviour
3-
labels: unconfirmed bug
3+
labels: ["unconfirmed bug"]
44
body:
55
- type: markdown
66
attributes:

.github/ISSUE_TEMPLATE/feature_request.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: Feature Request
22
description: Suggest a feature for this library
3-
labels: feature request
3+
labels: ["feature request"]
44
body:
55
- type: input
66
attributes:

.github/dependabot.yml

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,30 @@ version: 2
22
updates:
33
- package-ecosystem: "pip"
44
directory: "/"
5+
groups:
6+
minor-version-bumps:
7+
update-types: ["minor"]
8+
patch-version-bumps:
9+
update-types: ["patch"]
10+
major-version-bumps:
11+
update-types: ["major"]
512
schedule:
6-
interval: "daily"
13+
interval: "weekly"
714
commit-message:
815
prefix: "chore"
916
prefix-development: "chore"
1017
include: "scope"
1118
- package-ecosystem: "github-actions"
1219
directory: "/"
20+
groups:
21+
minor-version-bumps:
22+
update-types: ["minor"]
23+
patch-version-bumps:
24+
update-types: ["patch"]
25+
major-version-bumps:
26+
update-types: ["major"]
1327
schedule:
14-
interval: "daily"
28+
interval: "weekly"
1529
commit-message:
1630
prefix: "ci"
1731
include: "scope"

.github/workflows/check.yml

Lines changed: 0 additions & 38 deletions
This file was deleted.

.github/workflows/codeql-analysis.yml

Lines changed: 0 additions & 73 deletions
This file was deleted.

.github/workflows/codeql.yml

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
name: "CodeQL"
2+
3+
on:
4+
push:
5+
branches: [master]
6+
pull_request:
7+
workflow_dispatch:
8+
schedule:
9+
- cron: "0 0 * * 0"
10+
11+
concurrency:
12+
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
13+
cancel-in-progress: true
14+
15+
jobs:
16+
analyze:
17+
name: "Analyze"
18+
runs-on: ubuntu-latest
19+
permissions:
20+
actions: read
21+
contents: read
22+
security-events: write
23+
strategy:
24+
fail-fast: false
25+
matrix:
26+
language: ["python"]
27+
steps:
28+
- name: "Checkout repository"
29+
uses: actions/checkout@v4
30+
- name: "Initialize CodeQL"
31+
uses: github/codeql-action/init@v3
32+
with:
33+
languages: ${{ matrix.language }}
34+
- name: "Autobuild"
35+
uses: github/codeql-action/autobuild@v3
36+
- name: "Perform CodeQL Analysis"
37+
uses: github/codeql-action/analyze@v3

.github/workflows/docs-checks.yml

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
name: "Documentation Checks"
2+
3+
on:
4+
push:
5+
paths:
6+
- "discord/**"
7+
- "docs/**"
8+
- "requirements/**"
9+
- "*.toml"
10+
- "*.py"
11+
branches: [master]
12+
pull_request:
13+
paths:
14+
- "discord/**"
15+
- "docs/**"
16+
- "requirements/"
17+
- "*.toml"
18+
- "*.py"
19+
workflow_dispatch:
20+
schedule:
21+
- cron: "0 0 * * *"
22+
23+
concurrency:
24+
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
25+
cancel-in-progress: true
26+
27+
permissions: write-all
28+
29+
jobs:
30+
docs:
31+
runs-on: ubuntu-latest
32+
steps:
33+
- name: "Checkout Repository"
34+
uses: actions/checkout@v4
35+
- name: "Setup Python"
36+
uses: actions/setup-python@v5
37+
with:
38+
python-version: "3.12"
39+
cache: "pip"
40+
cache-dependency-path: "requirements/docs.txt"
41+
check-latest: true
42+
- name: Install dependencies
43+
run: |
44+
python -m pip install -U pip
45+
pip install ".[docs]"
46+
- name: "Check Links"
47+
if: ${{ github.event_name == 'schedule' }}
48+
run: |
49+
cd docs
50+
make linkcheck
51+
- name: "Compile to html"
52+
run: |
53+
cd docs
54+
make -e SPHINXOPTS="-D language='en'" html

0 commit comments

Comments
 (0)