-
-
Notifications
You must be signed in to change notification settings - Fork 466
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
style(pre-commit): auto fixes from pre-commit.com hooks
- Loading branch information
1 parent
73acaae
commit 3fc6ec2
Showing
17 changed files
with
113 additions
and
107 deletions.
There are no files selected for viewing
Validating CODEOWNERS rules …
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,50 +1,54 @@ | ||
name: Multilingual Docs Download | ||
|
||
on: | ||
workflow_dispatch: | ||
workflow_dispatch: | ||
|
||
jobs: | ||
localizse: | ||
permissions: write-all | ||
name: "Localisize Docs" | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: "Install Python" | ||
uses: actions/setup-python@v5 | ||
with: | ||
python-version: "3.12" | ||
cache: "pip" | ||
cache-dependency-path: "requirements/_locale.txt" | ||
- name: "Install Dependencies" | ||
run: | | ||
python -m pip install --upgrade pip setuptools wheel | ||
pip install -r requirements/_locale.txt | ||
pip install .[speed,voice,docs] | ||
- name: "Get locales" | ||
run: | | ||
make html | ||
sphinx-build -b gettext . ./build/locales | ||
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 hi -l ko -l pt -l es -l zh | ||
working-directory: ./docs | ||
- name: "Crowdin" | ||
uses: crowdin/github-action@v2 | ||
with: | ||
upload_sources: false | ||
upload_translations: false | ||
download_translations: false | ||
download_bundle: ${{ secrets.CROWDIN_BUNDLE_ID }} | ||
localization_branch_name: l10n_master | ||
create_pull_request: true | ||
pull_request_title: 'New Crowdin Translations' | ||
pull_request_body: 'New Crowdin translations by [Crowdin GH Action](https://github.com/crowdin/github-action)' | ||
pull_request_base_branch_name: 'master' | ||
pull_request_reviewers: 'Lulalaby' | ||
config: 'crowdin.yml' | ||
base_path: '.' | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
CROWDIN_PROJECT_ID: ${{ secrets.CROWDIN_PROJECT_ID }} | ||
CROWDIN_PERSONAL_TOKEN: ${{ secrets.CROWDIN_API_TOKEN }} | ||
localizse: | ||
permissions: write-all | ||
name: "Localisize Docs" | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: "Install Python" | ||
uses: actions/setup-python@v5 | ||
with: | ||
python-version: "3.12" | ||
cache: "pip" | ||
cache-dependency-path: "requirements/_locale.txt" | ||
- name: "Install Dependencies" | ||
run: | | ||
python -m pip install --upgrade pip setuptools wheel | ||
pip install -r requirements/_locale.txt | ||
pip install .[speed,voice,docs] | ||
- name: "Get locales" | ||
run: | | ||
make html | ||
sphinx-build -b gettext . ./build/locales | ||
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 | ||
hi -l ko -l pt -l es -l zh | ||
working-directory: ./docs | ||
- name: "Crowdin" | ||
uses: crowdin/github-action@v2 | ||
with: | ||
upload_sources: false | ||
upload_translations: false | ||
download_translations: false | ||
download_bundle: ${{ secrets.CROWDIN_BUNDLE_ID }} | ||
localization_branch_name: l10n_master | ||
create_pull_request: true | ||
pull_request_title: "New Crowdin Translations" | ||
pull_request_body: | ||
"New Crowdin translations by [Crowdin GH | ||
Action](https://github.com/crowdin/github-action)" | ||
pull_request_base_branch_name: "master" | ||
pull_request_reviewers: "Lulalaby" | ||
config: "crowdin.yml" | ||
base_path: "." | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
CROWDIN_PROJECT_ID: ${{ secrets.CROWDIN_PROJECT_ID }} | ||
CROWDIN_PERSONAL_TOKEN: ${{ secrets.CROWDIN_API_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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,46 +1,48 @@ | ||
name: Multilingual Docs Upload | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
push: | ||
branches: | ||
- master | ||
|
||
jobs: | ||
localizse: | ||
permissions: write-all | ||
name: "Localisize Docs" | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: "Install Python" | ||
uses: actions/setup-python@v5 | ||
with: | ||
python-version: "3.12" | ||
cache: "pip" | ||
cache-dependency-path: "requirements/_locale.txt" | ||
- name: "Install Dependencies" | ||
run: | | ||
python -m pip install --upgrade pip setuptools wheel | ||
pip install -r requirements/_locale.txt | ||
pip install .[speed,voice,docs] | ||
- name: "Get locales" | ||
run: | | ||
make html | ||
sphinx-build -b gettext . ./build/locales | ||
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 hi -l ko -l pt -l es -l zh | ||
working-directory: ./docs | ||
- name: "Crowdin" | ||
uses: crowdin/github-action@v2 | ||
with: | ||
upload_sources: true | ||
upload_translations: false | ||
download_translations: false | ||
localization_branch_name: l10n_master | ||
create_pull_request: false | ||
config: 'crowdin.yml' | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
CROWDIN_PROJECT_ID: ${{ secrets.CROWDIN_PROJECT_ID }} | ||
CROWDIN_PERSONAL_TOKEN: ${{ secrets.CROWDIN_API_TOKEN }} | ||
localizse: | ||
permissions: write-all | ||
name: "Localisize Docs" | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: "Install Python" | ||
uses: actions/setup-python@v5 | ||
with: | ||
python-version: "3.12" | ||
cache: "pip" | ||
cache-dependency-path: "requirements/_locale.txt" | ||
- name: "Install Dependencies" | ||
run: | | ||
python -m pip install --upgrade pip setuptools wheel | ||
pip install -r requirements/_locale.txt | ||
pip install .[speed,voice,docs] | ||
- name: "Get locales" | ||
run: | | ||
make html | ||
sphinx-build -b gettext . ./build/locales | ||
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 | ||
hi -l ko -l pt -l es -l zh | ||
working-directory: ./docs | ||
- name: "Crowdin" | ||
uses: crowdin/github-action@v2 | ||
with: | ||
upload_sources: true | ||
upload_translations: false | ||
download_translations: false | ||
localization_branch_name: l10n_master | ||
create_pull_request: false | ||
config: "crowdin.yml" | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
CROWDIN_PROJECT_ID: ${{ secrets.CROWDIN_PROJECT_ID }} | ||
CROWDIN_PERSONAL_TOKEN: ${{ secrets.CROWDIN_API_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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -190,4 +190,4 @@ docs/build/doctrees | |
*.mo | ||
!docs/locales/* | ||
/build/ | ||
/vscode/ | ||
/vscode/ |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
aiohttp>=3.6.0,<4.0 | ||
typing_extensions>=4,<5; python_version < "3.11" | ||
typing_extensions>=4,<5; python_version < "3.11" |
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,2 +1,2 @@ | ||
-r all.txt | ||
build==1.2.1 | ||
build==1.2.1 |
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,4 +8,4 @@ coverage~=7.6 | |
pre-commit==3.5.0 | ||
codespell==2.3.0 | ||
bandit==1.7.9 | ||
flake8==7.1.1 | ||
flake8==7.1.1 |