Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork16
Enable Read-The-Docs and fix any issues with existing translations#536
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Merged
Uh oh!
There was an error while loading.Please reload this page.
Merged
Changes fromall commits
Commits
Show all changes
16 commits Select commitHold shift + click to select a range
e4b4671
Enable Read-The-Docs and fix any issues with existing translations
lysnikolaoufec3525
Do not check cpython dir for changed files in CI
lysnikolaou01695b9
Fix spelling
lysnikolaoudc02fa8
Fix spelling again
lysnikolaoucadc47d
Manually list CPython doc requirements
lysnikolaoueff02b6
Fix spelling again
lysnikolaou1115a00
Fix spelling yet again
lysnikolaou28c059b
Fix spelling yet again & add final empty lines
lysnikolaou70e3f06
Gia na doume
lysnikolaou524e9b8
Fingers crossed
lysnikolaou5e515af
Update pre-commit version
lysnikolaou408f845
We're there!
lysnikolaoufbf8f17
Install system deps in CI
lysnikolaou4a13d5d
[pre-commit.ci lite] apply automatic fixes
pre-commit-ci-lite[bot]a9950fa
Use commit hashes everywhere
lysnikolaou158b08c
Apply suggestions from code review
lysnikolaouFile filter
Filter by extension
Conversations
Failed to load comments.
Loading
Uh oh!
There was an error while loading.Please reload this page.
Jump to
Jump to file
Failed to load files.
Loading
Uh oh!
There was an error while loading.Please reload this page.
Diff view
Diff view
There are no files selected for viewing
69 changes: 0 additions & 69 deletions.github/workflows/main.yaml
This file was deleted.
Oops, something went wrong.
Uh oh!
There was an error while loading.Please reload this page.
29 changes: 29 additions & 0 deletions.github/workflows/precommit.yaml
This file contains hidden or 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,29 @@ | ||
name: Run pre-commit | ||
on: | ||
push: | ||
branches: | ||
- 3.* | ||
- main | ||
pull_request: | ||
jobs: | ||
test: | ||
name: Run pre-commit.ci | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 | ||
with: | ||
submodules: "true" | ||
fetch-depth: 2 | ||
- name: Setup python | ||
uses: actions/setup-python@39cd14951b08e74b54015e9e001cdefcf80e669f # v5.1.1 | ||
with: | ||
python-version: "3.x" | ||
- name: Install system deps | ||
run: | | ||
sudo apt-get update | ||
sudo apt-get install -y hunspell hunspell-el gettext language-pack-el locales-all | ||
- uses: pre-commit/action@2c7b3805fd2a0fd8c1884dcaebf91fc102a13ecd # v3.0.1 | ||
- uses: pre-commit-ci/lite-action@9d882e7a565f7008d4faf128f27d1cb6503d4ebf # v1.0.2 | ||
if: always() |
6 changes: 6 additions & 0 deletions.gitignore
This file contains hidden or 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
3 changes: 3 additions & 0 deletions.gitmodules
This file contains hidden or 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,3 @@ | ||
[submodule "cpython"] | ||
path = cpython | ||
url = https://github.com/python/cpython |
28 changes: 28 additions & 0 deletions.pre-commit-config.yaml
This file contains hidden or 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,28 @@ | ||
repos: | ||
- repo: https://github.com/pre-commit/pre-commit-hooks | ||
rev: 2c9f875913ee60ca25ce70243dc24d5b6415598c # v4.6.0 | ||
hooks: | ||
- id: file-contents-sorter | ||
files: "dictionaries/main.txt" | ||
args: ["--unique"] | ||
- id: trailing-whitespace | ||
- id: check-yaml | ||
- id: end-of-file-fixer | ||
- repo: https://git.afpy.org/AFPy/powrap | ||
rev: df2a0a54804a6146cc9fbffb77464d4b5fe24f41 # v1.0.1 | ||
hooks: | ||
- id: powrap | ||
- repo: https://git.afpy.org/AFPy/pospell | ||
rev: 8b753bde26fe612ba397a4b4aafa7a0560402805 # v1.3 | ||
hooks: | ||
- id: pospell | ||
args: | ||
- "--language=el_GR" | ||
- "--personal-dict=dictionaries/main.txt" | ||
- repo: https://github.com/sphinx-contrib/sphinx-lint | ||
rev: ce6d7aeab24d60b6119dbad180540bf3c9ff31da # v0.9.1 | ||
hooks: | ||
- id: sphinx-lint |
24 changes: 24 additions & 0 deletions.readthedocs.yaml
This file contains hidden or 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,24 @@ | ||
# .readthedocs.yml | ||
# Read the Docs configuration file | ||
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details | ||
# Required | ||
version: 2 | ||
build: | ||
os: ubuntu-22.04 | ||
tools: | ||
python: "3" | ||
commands: | ||
- python -m pip install -r requirements.txt | ||
- make | ||
- mkdir -p _readthedocs/html/ | ||
- cp -r cpython/Doc/build/html/* _readthedocs/html/ | ||
python: | ||
install: | ||
- requirements: requirements.txt | ||
submodules: | ||
include: all |
22 changes: 9 additions & 13 deletionsMakefile
This file contains hidden or 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
2 changes: 1 addition & 1 deletionREADME.md
This file contains hidden or 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
2 changes: 1 addition & 1 deletionTRANSLATORS
This file contains hidden or 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 |
---|---|---|
@@ -2,4 +2,4 @@ Georgios Zisopoulos | ||
Lysandros Nikolaou | ||
Theofanis Petkos | ||
Panagiotis Skias | ||
Dimitrios Papadopoulos |
47 changes: 14 additions & 33 deletionsc-api/buffer.po
This file contains hidden or 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
3 changes: 1 addition & 2 deletionsc-api/bytes.po
This file contains hidden or 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 |
---|---|---|
@@ -100,8 +100,7 @@ msgstr "" | ||
msgid "``%c``" | ||
msgstr "" | ||
#: c-api/bytes.rst:72 c-api/bytes.rst:93 | ||
msgid "int" | ||
msgstr "" | ||
Oops, something went wrong.
Uh oh!
There was an error while loading.Please reload this page.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.