Lokasi ngalangkungan proxy:   [ UP ]  
[Ngawartoskeun bug]   [Panyetelan cookie]                
Skip to content

Commit f26d49a

Browse files
Updated files with 'repo_helper'. (#6)
Co-authored-by: repo-helper[bot] <74742576+repo-helper[bot]@users.noreply.github.com>
1 parent fa012d5 commit f26d49a

8 files changed

Lines changed: 30 additions & 22 deletions

File tree

.github/workflows/docs_test_action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
runs-on: ubuntu-latest
1717
steps:
1818
- name: Checkout 🛎️
19-
uses: "actions/checkout@v4"
19+
uses: "actions/checkout@v6"
2020

2121
- name: Check for changed files
2222
uses: dorny/paths-filter@v2

.github/workflows/flake8.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919

2020
steps:
2121
- name: Checkout 🛎️
22-
uses: "actions/checkout@v4"
22+
uses: "actions/checkout@v6"
2323

2424
- name: Check for changed files
2525
uses: dorny/paths-filter@v2
@@ -32,7 +32,7 @@ jobs:
3232
3333
- name: Setup Python 🐍
3434
if: steps.changes.outputs.code == 'true'
35-
uses: "actions/setup-python@v5"
35+
uses: "actions/setup-python@v6"
3636
with:
3737
python-version: "3.9"
3838

.github/workflows/mypy.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424

2525
steps:
2626
- name: Checkout 🛎️
27-
uses: "actions/checkout@v4"
27+
uses: "actions/checkout@v6"
2828

2929
- name: Check for changed files
3030
uses: dorny/paths-filter@v2
@@ -37,7 +37,7 @@ jobs:
3737
3838
- name: Setup Python 🐍
3939
if: steps.changes.outputs.code == 'true'
40-
uses: "actions/setup-python@v5"
40+
uses: "actions/setup-python@v6"
4141
with:
4242
python-version: "3.9"
4343

.github/workflows/python_ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535

3636
steps:
3737
- name: Checkout 🛎️
38-
uses: "actions/checkout@v4"
38+
uses: "actions/checkout@v6"
3939

4040
- name: Check for changed files
4141
if: startsWith(github.ref, 'refs/tags/') != true
@@ -50,7 +50,7 @@ jobs:
5050
- name: Setup Python 🐍
5151
id: setup-python
5252
if: ${{ steps.changes.outputs.code == 'true' || steps.changes.outcome == 'skipped' }}
53-
uses: "actions/setup-python@v5"
53+
uses: "actions/setup-python@v6"
5454
with:
5555
python-version: "${{ matrix.config.python-version }}"
5656

.github/workflows/python_ci_linux.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636

3737
steps:
3838
- name: Checkout 🛎️
39-
uses: "actions/checkout@v4"
39+
uses: "actions/checkout@v6"
4040

4141
- name: Check for changed files
4242
if: startsWith(github.ref, 'refs/tags/') != true
@@ -51,7 +51,7 @@ jobs:
5151
- name: Setup Python 🐍
5252
id: setup-python
5353
if: ${{ steps.changes.outputs.code == 'true' || steps.changes.outcome == 'skipped' }}
54-
uses: "actions/setup-python@v5"
54+
uses: "actions/setup-python@v6"
5555
with:
5656
python-version: "${{ matrix.config.python-version }}"
5757

@@ -85,10 +85,10 @@ jobs:
8585
runs-on: "ubuntu-22.04"
8686
steps:
8787
- name: Checkout 🛎️
88-
uses: "actions/checkout@v4"
88+
uses: "actions/checkout@v6"
8989

9090
- name: Setup Python 🐍
91-
uses: "actions/setup-python@v5"
91+
uses: "actions/setup-python@v6"
9292
with:
9393
python-version: 3.8
9494

@@ -138,11 +138,11 @@ jobs:
138138
runs-on: "ubuntu-22.04"
139139
steps:
140140
- name: Checkout 🛎️
141-
uses: "actions/checkout@v4"
141+
uses: "actions/checkout@v6"
142142
if: startsWith(github.ref, 'refs/tags/')
143143

144144
- name: Setup Python 🐍
145-
uses: "actions/setup-python@v5"
145+
uses: "actions/setup-python@v6"
146146
if: startsWith(github.ref, 'refs/tags/')
147147
with:
148148
python-version: 3.8

.github/workflows/python_ci_macos.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535

3636
steps:
3737
- name: Checkout 🛎️
38-
uses: "actions/checkout@v4"
38+
uses: "actions/checkout@v6"
3939

4040
- name: Check for changed files
4141
if: startsWith(github.ref, 'refs/tags/') != true
@@ -50,7 +50,7 @@ jobs:
5050
- name: Setup Python 🐍
5151
id: setup-python
5252
if: ${{ steps.changes.outputs.code == 'true' || steps.changes.outcome == 'skipped' }}
53-
uses: "actions/setup-python@v5"
53+
uses: "actions/setup-python@v6"
5454
with:
5555
python-version: "${{ matrix.config.python-version }}"
5656

.pre-commit-config.yaml

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ exclude: ^$
55

66
ci:
77
autoupdate_schedule: quarterly
8+
skip: [taplo-lint]
89

910
repos:
1011
- repo: https://github.com/repo-helper/pyproject-parser
@@ -21,7 +22,6 @@ repos:
2122
- id: check-case-conflict
2223
- id: check-executables-have-shebangs
2324
- id: check-json
24-
- id: check-toml
2525
- id: check-yaml
2626
- id: check-merge-conflict
2727
- id: check-symlinks
@@ -31,15 +31,24 @@ repos:
3131
- id: mixed-line-ending
3232
- id: end-of-file-fixer
3333

34+
- repo: https://github.com/domdfcoding/taplo-pre-commit
35+
rev: v0.10.0
36+
hooks:
37+
- id: taplo-lint
38+
args: []
39+
3440
- repo: https://github.com/domdfcoding/pre-commit-hooks
35-
rev: v0.6.0
41+
rev: v0.7.0
3642
hooks:
3743
- id: requirements-txt-sorter
3844
args:
3945
- --allow-git
4046
- id: check-docstring-first
4147
exclude: ^(doc-source/conf|__pkginfo__|setup|tests/.*)\.py$
4248
- id: bind-requirements
49+
args:
50+
- --python-min
51+
- '3.8'
4352

4453
- repo: https://github.com/python-formate/flake8-dunder-all
4554
rev: v0.5.0
@@ -60,8 +69,8 @@ repos:
6069
- id: rst-directive-colons
6170
- id: rst-inline-touching-normal
6271

63-
- repo: https://github.com/asottile/pyupgrade
64-
rev: v3.3.0
72+
- repo: https://github.com/python-formate/pyupgrade
73+
rev: bbe3007
6574
hooks:
6675
- id: pyupgrade
6776
args:
@@ -80,7 +89,7 @@ repos:
8089
- id: snippet-fmt
8190

8291
- repo: https://github.com/python-formate/formate
83-
rev: v1.2.0
92+
rev: v1.2.1
8493
hooks:
8594
- id: formate
8695
exclude: ^(doc-source/conf|__pkginfo__|setup)\.(_)?py$

tox.ini

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ setenv =
4141
PYTHONDEVMODE=1
4242
PIP_DISABLE_PIP_VERSION_CHECK=1
4343
SETUPTOOLS_USE_DISTUTILS=stdlib
44+
download = True
4445
deps = -r{toxinidir}/tests/requirements.txt
4546
commands =
4647
python --version
@@ -52,13 +53,11 @@ setenv =
5253
PIP_DISABLE_PIP_VERSION_CHECK=1
5354

5455
[testenv:py313]
55-
download = True
5656
setenv =
5757
PYTHONDEVMODE=1
5858
PIP_DISABLE_PIP_VERSION_CHECK=1
5959

6060
[testenv:py312]
61-
download = True
6261
setenv =
6362
PYTHONDEVMODE=1
6463
PIP_DISABLE_PIP_VERSION_CHECK=1

0 commit comments

Comments
 (0)