-
-
Notifications
You must be signed in to change notification settings - Fork 465
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
263 changed files
with
67,202 additions
and
5,551 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
Status checks that are required. | ||
CodeQL | ||
@github-advanced-security | ||
Check Dependencies | ||
@github-actions | ||
codespell | ||
@github-actions | ||
bandit | ||
@github-actions | ||
docs/readthedocs.org:pycord | ||
mypy | ||
@github-actions | ||
pre-commit.ci - pr | ||
@pre-commit-ci | ||
todo | ||
@github-actions | ||
pytest (ubuntu-latest, 3.10) | ||
@github-actions | ||
pytest (ubuntu-latest, 3.11) | ||
@github-actions | ||
pytest (ubuntu-latest, 3.9) | ||
@github-actions | ||
pytest (windows-latest, 3.9) | ||
@github-actions | ||
pytest (windows-latest, 3.10) | ||
@github-actions | ||
pytest (windows-latest, 3.11) | ||
@github-actions | ||
pytest (macos-latest, 3.10) | ||
@github-actions | ||
pytest (macos-latest, 3.11) | ||
@github-actions | ||
Check Title | ||
@github-actions | ||
pullapprove4 | ||
@pullapprove4 | ||
Analyze (python) | ||
@github-actions | ||
pylint | ||
@github-actions | ||
docs | ||
@github-actions | ||
pytest (ubuntu-latest, 3.12) | ||
@github-actions | ||
pytest (macos-latest, 3.12) | ||
@github-actions | ||
pytest (windows-latest, 3.12) | ||
@github-actions | ||
|
||
-------------------------------------------- | ||
|
||
paths | ||
|
||
docs/ Documentation | ||
docs/build/locales/ | docs/locales/ Translations | ||
discord/ | setup.py | pyproject.toml, MAINFEST.in Main python lib | ||
.github/ github meta | ||
.github/workflows/ github actions | ||
.github/depandabot.yml github actions configurations | ||
.github/ISSUE_TEMPLATE/ github templates | ||
examples/ example python code, should not be checked | ||
requirements/ python requirements | ||
tests/ currently more or less unused, maybe check? | ||
.files configurations | ||
/ repo content |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,12 +4,18 @@ on: | |
workflow_dispatch: | ||
|
||
jobs: | ||
localizse: | ||
download: | ||
permissions: write-all | ||
name: "Localisize Docs" | ||
name: "Download localizations from Crowdin" | ||
runs-on: ubuntu-latest | ||
outputs: | ||
pr_ref: ${{ steps.convert_outputs.outputs.pr_ref }} | ||
pr_id: ${{ steps.convert_outputs.outputs.pr_id }} | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Checkout Repository | ||
uses: actions/checkout@v4 | ||
with: | ||
fetch-tags: true | ||
- name: "Install Python" | ||
uses: actions/setup-python@v5 | ||
with: | ||
|
@@ -28,10 +34,11 @@ jobs: | |
working-directory: ./docs | ||
- name: "Build locales" | ||
run: | ||
sphinx-intl update -p ./build/locales -l de -l ja -l de -l ja -l fr -l it -l | ||
sphinx-intl update -p ./build/locales -l ja -l de -l ja -l fr -l it -l en -l | ||
hi -l ko -l pt_BR -l es -l zh_CN -l ru | ||
working-directory: ./docs | ||
- name: "Crowdin" | ||
id: crowdin | ||
uses: crowdin/github-action@v2 | ||
with: | ||
upload_sources: false | ||
|
@@ -53,3 +60,74 @@ jobs: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
CROWDIN_PROJECT_ID: ${{ secrets.CROWDIN_PROJECT_ID }} | ||
CROWDIN_PERSONAL_TOKEN: ${{ secrets.CROWDIN_API_TOKEN }} | ||
- name: "Convert Outputs" | ||
id: convert_outputs | ||
run: | | ||
PR_REF="l10n_master" | ||
PR_ID="${{ steps.crowdin.outputs.pull_request_number }}" | ||
echo "pr_ref=$(echo -n "$PR_REF" | base64)" >> $GITHUB_OUTPUT | ||
echo "pr_id=$(echo -n "$PR_ID" | base64)" >> $GITHUB_OUTPUT | ||
pr: | ||
permissions: write-all | ||
name: "Trigger PR workflows manually" | ||
needs: [download] | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout Repository | ||
uses: actions/checkout@v4 | ||
- name: Refresh Pull | ||
run: | | ||
git fetch --all | ||
git reset --hard origin/master | ||
git pull | ||
- name: "Convert Outputs" | ||
id: convert_outputs | ||
run: | | ||
PR_REF=$(echo -n "${{ needs.download.outputs.pr_ref }}" | base64 --decode) | ||
PR_ID=$(echo -n "${{ needs.download.outputs.pr_id }}" | base64 --decode) | ||
echo "pr_ref=$PR_REF" >> $GITHUB_OUTPUT | ||
echo "pr_id=$PR_ID" >> $GITHUB_OUTPUT | ||
- name: Invoke checks workflow | ||
uses: benc-uk/[email protected] | ||
with: | ||
workflow: check.yml | ||
ref: ${{ steps.convert_outputs.outputs.pr_ref }} | ||
- name: Invoke codeql workflow | ||
uses: benc-uk/[email protected] | ||
with: | ||
workflow: codeql-analysis.yml | ||
ref: ${{ steps.convert_outputs.outputs.pr_ref }} | ||
- name: Invoke lint workflow | ||
uses: benc-uk/[email protected] | ||
with: | ||
workflow: lint.yml | ||
ref: ${{ steps.convert_outputs.outputs.pr_ref }} | ||
- name: Invoke pr workflow | ||
uses: benc-uk/[email protected] | ||
with: | ||
workflow: pr.yml | ||
ref: ${{ steps.convert_outputs.outputs.pr_ref }} | ||
- name: Invoke test workflow | ||
uses: benc-uk/[email protected] | ||
with: | ||
workflow: test.yml | ||
ref: ${{ steps.convert_outputs.outputs.pr_ref }} | ||
- name: Invoke todo workflow | ||
uses: benc-uk/[email protected] | ||
with: | ||
workflow: todo.yml | ||
ref: ${{ steps.convert_outputs.outputs.pr_ref }} | ||
- name: Invoke version updates workflow | ||
uses: benc-uk/[email protected] | ||
with: | ||
workflow: version-updates.yml | ||
ref: ${{ steps.convert_outputs.outputs.pr_ref }} | ||
# - run: gh pr review --approve -b "auto-approval for localization sync :3" "$PR_ID" | ||
# env: | ||
# PR_ID: ${{ steps.convert_outputs.outputs.pr_id }} | ||
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
- run: gh pr merge --auto --squash $PR_ID | ||
env: | ||
PR_ID: ${{ steps.convert_outputs.outputs.pr_id }} | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
name: "Lint PR" | ||
|
||
on: | ||
workflow_dispatch: | ||
pull_request_target: | ||
types: [opened, synchronize, reopened, edited] | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,6 +3,7 @@ name: Unit Tests | |
on: | ||
push: | ||
pull_request: | ||
workflow_dispatch: | ||
schedule: | ||
- cron: "0 0 * * *" | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file modified
BIN
+9.42 KB
(100%)
docs/build/locales/.doctrees/api/application_commands.doctree
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified
BIN
+1.21 KB
(110%)
docs/build/locales/.doctrees/ext/commands/extensions.doctree
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,7 +8,7 @@ msgid "" | |
msgstr "" | ||
"Project-Id-Version: Pycord 0.1\n" | ||
"Report-Msgid-Bugs-To: \n" | ||
"POT-Creation-Date: 2024-08-10 02:50+0000\n" | ||
"POT-Creation-Date: 2024-08-13 10:18+0000\n" | ||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" | ||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" | ||
"Language-Team: LANGUAGE <[email protected]>\n" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,7 +8,7 @@ msgid "" | |
msgstr "" | ||
"Project-Id-Version: Pycord 0.1\n" | ||
"Report-Msgid-Bugs-To: \n" | ||
"POT-Creation-Date: 2024-08-12 14:51+0000\n" | ||
"POT-Creation-Date: 2024-08-13 10:18+0000\n" | ||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" | ||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" | ||
"Language-Team: LANGUAGE <[email protected]>\n" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,7 +8,7 @@ msgid "" | |
msgstr "" | ||
"Project-Id-Version: Pycord 0.1\n" | ||
"Report-Msgid-Bugs-To: \n" | ||
"POT-Creation-Date: 2024-08-10 02:50+0000\n" | ||
"POT-Creation-Date: 2024-08-13 10:18+0000\n" | ||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" | ||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" | ||
"Language-Team: LANGUAGE <[email protected]>\n" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,7 +8,7 @@ msgid "" | |
msgstr "" | ||
"Project-Id-Version: Pycord 0.1\n" | ||
"Report-Msgid-Bugs-To: \n" | ||
"POT-Creation-Date: 2024-08-10 02:50+0000\n" | ||
"POT-Creation-Date: 2024-08-13 10:18+0000\n" | ||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" | ||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" | ||
"Language-Team: LANGUAGE <[email protected]>\n" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,7 +8,7 @@ msgid "" | |
msgstr "" | ||
"Project-Id-Version: Pycord 0.1\n" | ||
"Report-Msgid-Bugs-To: \n" | ||
"POT-Creation-Date: 2024-08-10 02:50+0000\n" | ||
"POT-Creation-Date: 2024-08-13 10:18+0000\n" | ||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" | ||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" | ||
"Language-Team: LANGUAGE <[email protected]>\n" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,7 +8,7 @@ msgid "" | |
msgstr "" | ||
"Project-Id-Version: Pycord 0.1\n" | ||
"Report-Msgid-Bugs-To: \n" | ||
"POT-Creation-Date: 2024-08-12 14:51+0000\n" | ||
"POT-Creation-Date: 2024-08-13 10:18+0000\n" | ||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" | ||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" | ||
"Language-Team: LANGUAGE <[email protected]>\n" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,7 +8,7 @@ msgid "" | |
msgstr "" | ||
"Project-Id-Version: Pycord 0.1\n" | ||
"Report-Msgid-Bugs-To: \n" | ||
"POT-Creation-Date: 2024-08-12 14:51+0000\n" | ||
"POT-Creation-Date: 2024-08-13 10:18+0000\n" | ||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" | ||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" | ||
"Language-Team: LANGUAGE <[email protected]>\n" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,7 +8,7 @@ msgid "" | |
msgstr "" | ||
"Project-Id-Version: Pycord 0.1\n" | ||
"Report-Msgid-Bugs-To: \n" | ||
"POT-Creation-Date: 2024-08-10 02:50+0000\n" | ||
"POT-Creation-Date: 2024-08-13 10:18+0000\n" | ||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" | ||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" | ||
"Language-Team: LANGUAGE <[email protected]>\n" | ||
|
Oops, something went wrong.