Skip to content

Commit 414b607

Browse files
committed
Refactor YAML files for improved formatting and consistency: use google/yamlfmt
1 parent cb79276 commit 414b607

6 files changed

Lines changed: 253 additions & 272 deletions

File tree

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
1-
---
21
blank_issues_enabled: true
32
contact_links:
4-
- name: Discord Python Polska
5-
url: https://discord.com/invite/VCyBDGH38e
6-
about: Dyskusje o tłumaczeniach.
7-
- name: Transifex
8-
url: https://explore.transifex.com/python-doc/python-newest/
9-
about: Strona do tłumaczenia.
3+
- name: Discord Python Polska
4+
url: https://discord.com/invite/VCyBDGH38e
5+
about: Dyskusje o tłumaczeniach.
6+
- name: Transifex
7+
url: https://explore.transifex.com/python-doc/python-newest/
8+
about: Strona do tłumaczenia.

.github/ISSUE_TEMPLATE/typo.yml

Lines changed: 32 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -1,38 +1,38 @@
1-
---
21
name: Błąd w tłumaczeniu
32
description: Zgłoś błąd w tłumaczeniu
43
labels: [bug]
54
body:
6-
- type: markdown
7-
attributes:
8-
value: |
9-
**Chcesz to naprawić samemu?**
5+
- type: markdown
6+
attributes:
7+
value: |
8+
**Chcesz to naprawić samemu?**
109
11-
- Wejdź na stronę projektu [dokumentacji Pythona](https://explore.transifex.com/python-doc/python-newest/).
12-
- Naciśnij przycisk „Join this project”, aby dołączyć do projektu.
13-
- Utwórz konto Transifex.
14-
- Na stronie projektu wybierz język polski.
15-
- Po dołączeniu do zespołu wybierz zasób, który chcesz poprawić/zaktualizować.
10+
- Wejdź na stronę projektu [dokumentacji Pythona](https://explore.transifex.com/python-doc/python-newest/).
11+
- Naciśnij przycisk „Join this project”, aby dołączyć do projektu.
12+
- Utwórz konto Transifex.
13+
- Na stronie projektu wybierz język polski.
14+
- Po dołączeniu do zespołu wybierz zasób, który chcesz poprawić/zaktualizować.
1615
17-
Więcej informacji znajdziesz w naszym [README](https://github.com/python/python-docs-pl/blob/3.15/README.md).
18-
- type: textarea
19-
attributes:
20-
label: 'Opis błędu:'
21-
description: >
22-
Opisz szczegółowo błąd i jego lokalizację.
23-
validations:
24-
required: true
25-
- type: dropdown
26-
attributes:
27-
label: 'Wersja dokumentacji:'
28-
multiple: true
29-
options:
30-
- '3.10'
31-
- '3.11'
32-
- '3.12'
33-
- '3.13'
34-
- '3.14'
35-
- '3.15'
36-
- '3.16'
37-
validations:
38-
required: false
16+
Więcej informacji znajdziesz w naszym [README](https://github.com/python/python-docs-pl/blob/3.15/README.md).
17+
- type: textarea
18+
attributes:
19+
label: 'Opis błędu:'
20+
description: >
21+
Opisz szczegółowo błąd i jego lokalizację.
22+
23+
validations:
24+
required: true
25+
- type: dropdown
26+
attributes:
27+
label: 'Wersja dokumentacji:'
28+
multiple: true
29+
options:
30+
- '3.10'
31+
- '3.11'
32+
- '3.12'
33+
- '3.13'
34+
- '3.14'
35+
- '3.15'
36+
- '3.16'
37+
validations:
38+
required: false

.github/dependabot.yml

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,12 @@
1-
---
21
version: 2
32
updates:
4-
- package-ecosystem: github-actions
5-
directory: /
6-
schedule:
7-
interval: monthly
8-
groups:
9-
actions:
10-
patterns:
11-
- '*'
12-
cooldown:
13-
default-days: 7
3+
- package-ecosystem: github-actions
4+
directory: /
5+
schedule:
6+
interval: monthly
7+
groups:
8+
actions:
9+
patterns:
10+
- '*'
11+
cooldown:
12+
default-days: 7

.github/workflows/pre-commit.yml

Lines changed: 13 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,18 @@
1-
---
21
name: pre-commit
32
on:
4-
schedule:
5-
- cron: 0 0 * * 1,5
3+
schedule:
4+
- cron: 0 0 * * 1,5
65
env:
7-
FORCE_COLOR: 1
6+
FORCE_COLOR: 1
87
permissions: {}
98
jobs:
10-
lint:
11-
runs-on: ubuntu-latest
12-
steps:
13-
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
14-
with:
15-
persist-credentials: false
16-
- uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
17-
with:
18-
python-version: 3.x
19-
- uses: tox-dev/action-pre-commit-uv@41a04ab74d5ec7ca33c8db8a59b6e3291d576033 # v1.0.4
9+
lint:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
13+
with:
14+
persist-credentials: false
15+
- uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
16+
with:
17+
python-version: 3.x
18+
- uses: tox-dev/action-pre-commit-uv@41a04ab74d5ec7ca33c8db8a59b6e3291d576033 # v1.0.4

0 commit comments

Comments
 (0)