Skip to content

Commit 52c8bf3

Browse files
committed
Will be good to go after tests
1 parent 59d46d2 commit 52c8bf3

File tree

5 files changed

+37
-76
lines changed

5 files changed

+37
-76
lines changed

.github/workflows/msys.yaml

Lines changed: 0 additions & 38 deletions
This file was deleted.

.github/workflows/pre-commit-ci.yml

Lines changed: 34 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -1,37 +1,39 @@
1-
# name: pre-commit-ci
2-
# on:
3-
# workflow_dispatch:
4-
# push:
5-
# branches:
6-
# - "**"
7-
# pull_request:
8-
# branches:
9-
# - "**"
1+
name: pre-commit-ci
2+
on:
3+
workflow_dispatch:
4+
push:
5+
branches:
6+
- "**"
7+
pull_request:
8+
branches:
9+
- "**"
1010

11-
# jobs:
12-
# pre-commit:
13-
# name: "Pre-commit checks"
14-
# runs-on: ubuntu-latest
15-
# steps:
16-
# - uses: actions/checkout@v3
17-
# - uses: actions/setup-python@v4
18-
# id: setup_python
19-
# with:
20-
# python-version: "3.11"
21-
# cache: pip
11+
jobs:
12+
pre-commit:
13+
name: "Pre-commit checks"
14+
runs-on: ubuntu-latest
15+
steps:
16+
- uses: actions/checkout@v3
17+
- uses: actions/setup-python@v4
18+
id: setup_python
19+
with:
20+
python-version: "3.11"
21+
cache: pip
2222

23-
# - name: Install pre-commit
24-
# run: pip install --upgrade -r requirements.txt
23+
- name: Install pre-commit
24+
run: pip install --upgrade -r requirements.txt
2525

26-
# - name: Cache pre-commit tools
27-
# uses: actions/cache@v3
28-
# with:
29-
# key: pre-commit-${{ runner.os }}-${{ steps.setup_python.outputs.python-version}}-${{ hashFiles('.pre-commit-config.yaml') }}
30-
# path: ~/.cache/pre-commit
26+
- name: Cache pre-commit tools
27+
uses: actions/cache@v3
28+
with:
29+
key: pre-commit-${{ runner.os }}-${{ steps.setup_python.outputs.python-version}}-${{ hashFiles('.pre-commit-config.yaml') }}
30+
path: ~/.cache/pre-commit
3131

32-
# - name: Run pre-commit
33-
# run: pre-commit run --all-files --show-diff-on-failure
32+
- name: Run pre-commit
33+
run: pre-commit run --all-files --show-diff-on-failure
3434

35-
# - name: Run pre-commit-ci-lite
36-
# uses: pre-commit-ci/lite-action@v1.0.1
37-
# if: always()
35+
- name: Run pre-commit-ci-lite
36+
uses: pre-commit-ci/lite-action@v1.0.1
37+
if: always()
38+
39+

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ repos:
33
hooks:
44
- id: style-print
55
name: ""
6-
entry: "style-print 'This is highly experimental, please report any issues: https://github.com/python/python-docs-tr/issues' 'rUBI{y}'"
6+
entry: "style-print 'This is highly experimental, please report any issues at: https://github.com/python/python-docs-tr/issues' 'rUBI{y}'"
77
language: python
88
additional_dependencies: ["style-print"]
99
pass_filenames: false

about.po

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,7 @@ msgid ""
2626
"These documents are generated from `reStructuredText`_ sources by `Sphinx`_, "
2727
"a document processor specifically written for the Python documentation."
2828
msgstr ""
29-
"Bu dokümanlar, Python dokümanları için özel olarak yazılmış bir doküman "
30-
"işlemcisi olan `Sphinx`_ tarafından `reStructuredText`_ kaynaklarından oluşturulur."
29+
"Bu dokümanlar, Python dokümanları için özel olarak yazılmış bir doküman işlemcisi olan `Sphinx`_ tarafından `reStructuredText`_ kaynaklarından oluşturulur."
3130

3231
#: about.rst:15
3332
msgid ""

merge.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,7 @@ def run(*args: str | Path, **kwargs) -> subprocess.CompletedProcess:
2020
encoding="UTF-8".
2121
"""
2222
return subprocess.run(list(args), encoding="UTF-8", check=True, **kwargs)
23-
24-
25-
def parse_args():
23+
def parse_args():
2624
parser = argparse.ArgumentParser(description=__doc__)
2725
parser.add_argument(
2826
"--cpython_repo",

0 commit comments

Comments
 (0)