Skip to content

Commit c7d1f1f

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

File tree

5 files changed

+38
-8
lines changed

5 files changed

+38
-8
lines changed

.github/workflows/python_ci.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
runs-on: "windows-2019"
2222
continue-on-error: ${{ matrix.config.experimental }}
2323
env:
24-
USING_COVERAGE: '3.6,3.7,3.8,3.9,3.10.0-rc.1'
24+
USING_COVERAGE: '3.6,3.7,3.8,3.9,3.10.0-rc.2'
2525

2626
strategy:
2727
fail-fast: False
@@ -31,7 +31,7 @@ jobs:
3131
- {python-version: "3.7", testenvs: "py37-click{7,8},build", experimental: False}
3232
- {python-version: "3.8", testenvs: "py38-click{7,8},build", experimental: False}
3333
- {python-version: "3.9", testenvs: "py39-click{7,8},build", experimental: False}
34-
- {python-version: "3.10.0-rc.1", testenvs: "py310-dev-click{7,8},build", experimental: True}
34+
- {python-version: "3.10.0-rc.2", testenvs: "py310-dev-click{7,8},build", experimental: True}
3535

3636
steps:
3737
- name: Checkout 🛎️

.github/workflows/python_ci_linux.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
runs-on: "ubuntu-20.04"
2323
continue-on-error: ${{ matrix.config.experimental }}
2424
env:
25-
USING_COVERAGE: '3.6,3.7,3.8,3.9,3.10.0-rc.1'
25+
USING_COVERAGE: '3.6,3.7,3.8,3.9,3.10.0-rc.2'
2626

2727
strategy:
2828
fail-fast: False
@@ -32,7 +32,7 @@ jobs:
3232
- {python-version: "3.7", testenvs: "py37-click{7,8},build", experimental: False}
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}
35-
- {python-version: "3.10.0-rc.1", testenvs: "py310-dev-click{7,8},build", experimental: True}
35+
- {python-version: "3.10.0-rc.2", testenvs: "py310-dev-click{7,8},build", experimental: True}
3636

3737
steps:
3838
- name: Checkout 🛎️

.github/workflows/python_ci_macos.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
runs-on: "macos-latest"
2222
continue-on-error: ${{ matrix.config.experimental }}
2323
env:
24-
USING_COVERAGE: '3.6,3.7,3.8,3.9,3.10.0-rc.1'
24+
USING_COVERAGE: '3.6,3.7,3.8,3.9,3.10.0-rc.2'
2525

2626
strategy:
2727
fail-fast: False
@@ -31,7 +31,7 @@ jobs:
3131
- {python-version: "3.7", testenvs: "py37-click{7,8},build", experimental: False}
3232
- {python-version: "3.8", testenvs: "py38-click{7,8},build", experimental: False}
3333
- {python-version: "3.9", testenvs: "py39-click{7,8},build", experimental: False}
34-
- {python-version: "3.10.0-rc.1", testenvs: "py310-dev-click{7,8},build", experimental: True}
34+
- {python-version: "3.10.0-rc.2", testenvs: "py310-dev-click{7,8},build", experimental: True}
3535

3636
steps:
3737
- name: Checkout 🛎️

.pre-commit-config.yaml

+7-2
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ repos:
5151
- id: flake2lint
5252

5353
- repo: https://github.com/pre-commit/pygrep-hooks
54-
rev: v1.8.0
54+
rev: v1.9.0
5555
hooks:
5656
- id: python-no-eval
5757
- id: rst-backticks
@@ -72,7 +72,12 @@ repos:
7272
- id: remove-crlf
7373
- id: forbid-crlf
7474

75-
- repo: https://github.com/repo-helper/formate
75+
- repo: https://github.com/python-formate/snippet-fmt
76+
rev: v0.1.0
77+
hooks:
78+
- id: snippet-fmt
79+
80+
- repo: https://github.com/python-formate/formate
7681
rev: v0.4.9
7782
hooks:
7883
- id: formate

pyproject.toml

+25
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,31 @@ namespace_packages = true
131131
check_untyped_defs = true
132132
warn_unused_ignores = true
133133
no_implicit_optional = true
134+
show_error_codes = true
135+
136+
[tool.snippet-fmt]
137+
directives = [ "code-block",]
138+
139+
[tool.dependency-dash."requirements.txt"]
140+
order = 10
141+
142+
[tool.dependency-dash."tests/requirements.txt"]
143+
order = 20
144+
include = false
145+
146+
[tool.dependency-dash."doc-source/requirements.txt"]
147+
order = 30
148+
include = false
134149

135150
[tool.snippet-fmt.languages.toml]
136151
reformat = true
152+
153+
[tool.snippet-fmt.languages.python]
154+
reformat = true
155+
156+
[tool.snippet-fmt.languages.TOML]
157+
reformat = true
158+
159+
[tool.snippet-fmt.languages.ini]
160+
161+
[tool.snippet-fmt.languages.json]

0 commit comments

Comments
 (0)