Skip to content

Commit d5f44c0

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

File tree

5 files changed

+38
-8
lines changed

5 files changed

+38
-8
lines changed

.github/workflows/python_ci.yml

Lines changed: 2 additions & 2 deletions
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,pypy-3.6,pypy-3.7'
24+
USING_COVERAGE: '3.6,3.7,3.8,3.9,3.10.0-rc.2,pypy-3.6,pypy-3.7'
2525

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

.github/workflows/python_ci_linux.yml

Lines changed: 2 additions & 2 deletions
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,pypy-3.6,pypy-3.7'
25+
USING_COVERAGE: '3.6,3.7,3.8,3.9,3.10.0-rc.2,pypy-3.6,pypy-3.7'
2626

2727
strategy:
2828
fail-fast: False
@@ -32,7 +32,7 @@ jobs:
3232
- {python-version: "3.7", testenvs: "py37,build", experimental: False}
3333
- {python-version: "3.8", testenvs: "py38,build", experimental: False}
3434
- {python-version: "3.9", testenvs: "py39,build", experimental: False}
35-
- {python-version: "3.10.0-rc.1", testenvs: "py310-dev,build", experimental: True}
35+
- {python-version: "3.10.0-rc.2", testenvs: "py310-dev,build", experimental: True}
3636
- {python-version: "pypy-3.6", testenvs: "pypy36,build", experimental: False}
3737
- {python-version: "pypy-3.7", testenvs: "pypy37,build", experimental: True}
3838

.github/workflows/python_ci_macos.yml

Lines changed: 2 additions & 2 deletions
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,pypy-3.6,pypy-3.7'
24+
USING_COVERAGE: '3.6,3.7,3.8,3.9,3.10.0-rc.2,pypy-3.6,pypy-3.7'
2525

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

.pre-commit-config.yaml

Lines changed: 7 additions & 2 deletions
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.1
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

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,31 @@ namespace_packages = true
130130
check_untyped_defs = true
131131
warn_unused_ignores = true
132132
no_implicit_optional = true
133+
show_error_codes = true
134+
135+
[tool.snippet-fmt]
136+
directives = [ "code-block",]
133137

134138
[project.entry-points."flake8.extension"]
135139
STRFTIME = "flake8_strftime:Plugin"
140+
141+
[tool.dependency-dash."requirements.txt"]
142+
order = 10
143+
144+
[tool.dependency-dash."tests/requirements.txt"]
145+
order = 20
146+
include = false
147+
148+
[tool.dependency-dash."doc-source/requirements.txt"]
149+
order = 30
150+
include = false
151+
152+
[tool.snippet-fmt.languages.python]
153+
reformat = true
154+
155+
[tool.snippet-fmt.languages.TOML]
156+
reformat = true
157+
158+
[tool.snippet-fmt.languages.ini]
159+
160+
[tool.snippet-fmt.languages.json]

0 commit comments

Comments
 (0)