Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Minor fixes to CONTRIBUTING.md and spell check script#12

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
thepetk merged 2 commits intomainfromminor-fixes-readme-scripts
Mar 27, 2024
Merged
Show file tree
Hide file tree
Changes fromall commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletionCONTRIBUTING.md
View file
Open in desktop
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
# Οδηγός συνεισφοράς στο πρότζεκτ Python-Doc-Gr της κοινότητας PyGreece
# Οδηγός συνεισφοράς στο πρότζεκτ Python-Docs-Gr της κοινότητας PyGreece

Eυχαριστούμε πολύ για το ενδιαφέρον σας να συμμετέχετε στη μετάφραση των επίσημων εγγράφων της Python στα Ελληνικά!

Expand Down
24 changes: 12 additions & 12 deletionsscripts/check_spelling.py
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -34,18 +34,18 @@ def check_spell(po_files=None):
)

# Write merged dictionary file
output_filename =tempfile.mktemp(suffix="_merged_dict.txt")
with open(output_filename, "w") as f:
for e in entries:
f.write(f"{e}\n")

# Run pospell either against all files or the file given on the command line
if not po_files:
po_files = Path(".").glob("*/*.po")

detected_errors = pospell.spell_check(
po_files, personal_dict=output_filename, language="el_EL"
)
withtempfile.NamedTemporaryFile(suffix="_merged_dict.txt") as output_filename:
with open(output_filename, "w") as f:
for e in entries:
f.write(f"{e}\n")

# Run pospell either against all files or the file given on the command line
if not po_files:
po_files = Path(".").glob("*/*.po")

detected_errors = pospell.spell_check(
po_files, personal_dict=output_filename, language="el_EL"
)
return detected_errors


Expand Down

[8]ページ先頭

©2009-2025 Movatter.jp