Skip to content

Commit a0dc2f1

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

File tree

9 files changed

+34
-31
lines changed

9 files changed

+34
-31
lines changed

.github/workflows/docs_test_action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
runs-on: ubuntu-latest
1818
steps:
1919
- name: Checkout 🛎️
20-
uses: "actions/checkout@v2"
20+
uses: "actions/checkout@v3"
2121

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

.github/workflows/flake8.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020

2121
steps:
2222
- name: Checkout 🛎️
23-
uses: "actions/checkout@v2"
23+
uses: "actions/checkout@v3"
2424

2525
- name: Check for changed files
2626
uses: dorny/paths-filter@v2
@@ -33,9 +33,9 @@ jobs:
3333
3434
- name: Setup Python 🐍
3535
if: steps.changes.outputs.code == 'true'
36-
uses: "actions/setup-python@v2"
36+
uses: "actions/setup-python@v4"
3737
with:
38-
python-version: "3.6"
38+
python-version: "3.8"
3939

4040
- name: Install dependencies 🔧
4141
if: steps.changes.outputs.code == 'true'

.github/workflows/mypy.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525

2626
steps:
2727
- name: Checkout 🛎️
28-
uses: "actions/checkout@v2"
28+
uses: "actions/checkout@v3"
2929

3030
- name: Check for changed files
3131
uses: dorny/paths-filter@v2
@@ -38,9 +38,9 @@ jobs:
3838
3939
- name: Setup Python 🐍
4040
if: steps.changes.outputs.code == 'true'
41-
uses: "actions/setup-python@v2"
41+
uses: "actions/setup-python@v4"
4242
with:
43-
python-version: "3.6"
43+
python-version: "3.8"
4444

4545
- name: Install dependencies 🔧
4646
run: |

.github/workflows/python_ci.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
runs-on: "windows-2019"
2323
continue-on-error: ${{ matrix.config.experimental }}
2424
env:
25-
USING_COVERAGE: '3.6,3.7,3.8,3.9,3.10,3.11.0-rc.1'
25+
USING_COVERAGE: '3.6,3.7,3.8,3.9,3.10,3.11'
2626

2727
strategy:
2828
fail-fast: False
@@ -33,11 +33,11 @@ jobs:
3333
- {python-version: "3.8", testenvs: "py38-click{7,8},build", experimental: False}
3434
- {python-version: "3.9", testenvs: "py39-click{7,8},build", experimental: False}
3535
- {python-version: "3.10", testenvs: "py310-click{7,8},build", experimental: False}
36-
- {python-version: "3.11.0-rc.1", testenvs: "py311-dev-click{7,8},build", experimental: True}
36+
- {python-version: "3.11", testenvs: "py311-dev-click{7,8},build", experimental: True}
3737

3838
steps:
3939
- name: Checkout 🛎️
40-
uses: "actions/checkout@v2"
40+
uses: "actions/checkout@v3"
4141

4242
- name: Check for changed files
4343
if: startsWith(github.ref, 'refs/tags/') != true
@@ -52,7 +52,7 @@ jobs:
5252
- name: Setup Python 🐍
5353
id: setup-python
5454
if: ${{ steps.changes.outputs.code == 'true' || steps.changes.outcome == 'skipped' }}
55-
uses: "actions/setup-python@v2"
55+
uses: "actions/setup-python@v4"
5656
with:
5757
python-version: "${{ matrix.config.python-version }}"
5858

.github/workflows/python_ci_linux.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
runs-on: "ubuntu-20.04"
2424
continue-on-error: ${{ matrix.config.experimental }}
2525
env:
26-
USING_COVERAGE: '3.6,3.7,3.8,3.9,3.10,3.11.0-rc.1'
26+
USING_COVERAGE: '3.6,3.7,3.8,3.9,3.10,3.11'
2727

2828
strategy:
2929
fail-fast: False
@@ -34,11 +34,11 @@ jobs:
3434
- {python-version: "3.8", testenvs: "py38-click{7,8},build", experimental: False}
3535
- {python-version: "3.9", testenvs: "py39-click{7,8},build", experimental: False}
3636
- {python-version: "3.10", testenvs: "py310-click{7,8},build", experimental: False}
37-
- {python-version: "3.11.0-rc.1", testenvs: "py311-dev-click{7,8},build", experimental: True}
37+
- {python-version: "3.11", testenvs: "py311-dev-click{7,8},build", experimental: True}
3838

3939
steps:
4040
- name: Checkout 🛎️
41-
uses: "actions/checkout@v2"
41+
uses: "actions/checkout@v3"
4242

4343
- name: Check for changed files
4444
if: startsWith(github.ref, 'refs/tags/') != true
@@ -53,7 +53,7 @@ jobs:
5353
- name: Setup Python 🐍
5454
id: setup-python
5555
if: ${{ steps.changes.outputs.code == 'true' || steps.changes.outcome == 'skipped' }}
56-
uses: "actions/setup-python@v2"
56+
uses: "actions/setup-python@v4"
5757
with:
5858
python-version: "${{ matrix.config.python-version }}"
5959

@@ -83,10 +83,10 @@ jobs:
8383
runs-on: "ubuntu-20.04"
8484
steps:
8585
- name: Checkout 🛎️
86-
uses: "actions/checkout@v2"
86+
uses: "actions/checkout@v3"
8787

8888
- name: Setup Python 🐍
89-
uses: "actions/setup-python@v2"
89+
uses: "actions/setup-python@v4"
9090
with:
9191
python-version: 3.8
9292

@@ -132,11 +132,11 @@ jobs:
132132
runs-on: "ubuntu-20.04"
133133
steps:
134134
- name: Checkout 🛎️
135-
uses: "actions/checkout@v2"
135+
uses: "actions/checkout@v3"
136136
if: startsWith(github.ref, 'refs/tags/')
137137

138138
- name: Setup Python 🐍
139-
uses: "actions/setup-python@v2"
139+
uses: "actions/setup-python@v4"
140140
if: startsWith(github.ref, 'refs/tags/')
141141
with:
142142
python-version: 3.8

.github/workflows/python_ci_macos.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
runs-on: "macos-latest"
2323
continue-on-error: ${{ matrix.config.experimental }}
2424
env:
25-
USING_COVERAGE: '3.6,3.7,3.8,3.9,3.10,3.11.0-rc.1'
25+
USING_COVERAGE: '3.6,3.7,3.8,3.9,3.10,3.11'
2626

2727
strategy:
2828
fail-fast: False
@@ -33,11 +33,11 @@ jobs:
3333
- {python-version: "3.8", testenvs: "py38-click{7,8},build", experimental: False}
3434
- {python-version: "3.9", testenvs: "py39-click{7,8},build", experimental: False}
3535
- {python-version: "3.10", testenvs: "py310-click{7,8},build", experimental: False}
36-
- {python-version: "3.11.0-rc.1", testenvs: "py311-dev-click{7,8},build", experimental: True}
36+
- {python-version: "3.11", testenvs: "py311-dev-click{7,8},build", experimental: True}
3737

3838
steps:
3939
- name: Checkout 🛎️
40-
uses: "actions/checkout@v2"
40+
uses: "actions/checkout@v3"
4141

4242
- name: Check for changed files
4343
if: startsWith(github.ref, 'refs/tags/') != true
@@ -52,7 +52,7 @@ jobs:
5252
- name: Setup Python 🐍
5353
id: setup-python
5454
if: ${{ steps.changes.outputs.code == 'true' || steps.changes.outcome == 'skipped' }}
55-
uses: "actions/setup-python@v2"
55+
uses: "actions/setup-python@v4"
5656
with:
5757
python-version: "${{ matrix.config.python-version }}"
5858

.pre-commit-config.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@
33

44
exclude: ^(tests/test_snippet_fmt_/.*\.rst|tests/example.rst)$
55

6+
ci:
7+
autoupdate_schedule: quarterly
8+
69
repos:
710
- repo: https://github.com/repo-helper/pyproject-parser
811
rev: v0.7.0

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ autodoc_exclude_members = [
127127
]
128128

129129
[tool.mypy]
130-
python_version = "3.6"
130+
python_version = "3.8"
131131
namespace_packages = true
132132
check_untyped_defs = true
133133
warn_unused_ignores = true

tox.ini

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ test =
4242
py310-click{7,8}
4343
py311-dev-click{7,8}
4444
qa = mypy, lint
45-
cov = py36-click7, coverage
45+
cov = py38-click7, coverage
4646

4747
[testenv]
4848
setenv =
@@ -78,7 +78,7 @@ commands =
7878
check-wheel-contents dist/
7979

8080
[testenv:lint]
81-
basepython = python3.6
81+
basepython = python3.8
8282
changedir = {toxinidir}
8383
ignore_errors = True
8484
skip_install = True
@@ -108,32 +108,32 @@ deps =
108108
commands = python3 -m flake8_rst_docstrings_sphinx snippet_fmt tests --allow-toolbox {posargs}
109109

110110
[testenv:perflint]
111-
basepython = python3.6
111+
basepython = python3.8
112112
changedir = {toxinidir}
113113
ignore_errors = True
114114
skip_install = True
115115
deps = perflint
116116
commands = python3 -m perflint snippet_fmt {posargs}
117117

118118
[testenv:mypy]
119-
basepython = python3.6
119+
basepython = python3.8
120120
ignore_errors = True
121121
changedir = {toxinidir}
122122
deps =
123-
mypy==0.942
123+
mypy==0.971
124124
-r{toxinidir}/tests/requirements.txt
125125
commands = mypy snippet_fmt tests {posargs}
126126

127127
[testenv:pyup]
128-
basepython = python3.6
128+
basepython = python3.8
129129
skip_install = True
130130
ignore_errors = True
131131
changedir = {toxinidir}
132132
deps = pyupgrade-directories
133133
commands = pyup_dirs snippet_fmt tests --py36-plus --recursive
134134

135135
[testenv:coverage]
136-
basepython = python3.6
136+
basepython = python3.8
137137
skip_install = True
138138
ignore_errors = True
139139
whitelist_externals = /bin/bash

0 commit comments

Comments
 (0)