Skip to content

Commit 8c0a3ee

Browse files
authored
Merge branch 'master' into forwarding
2 parents 5baa513 + e8311f2 commit 8c0a3ee

File tree

641 files changed

+491628
-564
lines changed

Some content is hidden

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

641 files changed

+491628
-564
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: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,13 @@ 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:
613
interval: "daily"
714
commit-message:
@@ -10,6 +17,13 @@ updates:
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:
1428
interval: "daily"
1529
commit-message:

.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: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
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+
inputs:
21+
with_linkcheck:
22+
type: boolean
23+
description: "Whether to run the linkcheck"
24+
default: true
25+
schedule:
26+
- cron: "0 0 * * *"
27+
28+
concurrency:
29+
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
30+
cancel-in-progress: true
31+
32+
permissions: write-all
33+
34+
jobs:
35+
docs:
36+
runs-on: ubuntu-latest
37+
steps:
38+
- name: "Checkout Repository"
39+
uses: actions/checkout@v4
40+
- name: "Setup Python"
41+
uses: actions/setup-python@v5
42+
with:
43+
python-version: "3.12"
44+
cache: "pip"
45+
cache-dependency-path: "requirements/docs.txt"
46+
check-latest: true
47+
- name: Install dependencies
48+
run: |
49+
python -m pip install -U pip
50+
pip install ".[docs]"
51+
- name: "Check Links"
52+
if: ${{ github.event_name == 'schedule' || inputs.with_linkcheck }}
53+
run: |
54+
cd docs
55+
make linkcheck
56+
- name: "Compile to html"
57+
run: |
58+
cd docs
59+
make -e SPHINXOPTS="-D language='en'" html

0 commit comments

Comments
 (0)