Skip to content

Commit e9f7247

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

File tree

8 files changed

+46
-9
lines changed

8 files changed

+46
-9
lines changed

.github/workflows/docs_test_action.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ on:
66
branches-ignore:
77
- 'repo-helper-update'
88
- 'pre-commit-ci-update-config'
9+
- 'imgbot'
910
pull_request:
1011

1112
permissions:

.github/workflows/flake8.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ on:
77
branches-ignore:
88
- 'repo-helper-update'
99
- 'pre-commit-ci-update-config'
10+
- 'imgbot'
1011
pull_request:
1112

1213
permissions:

.github/workflows/mypy.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ on:
77
branches-ignore:
88
- 'repo-helper-update'
99
- 'pre-commit-ci-update-config'
10+
- 'imgbot'
1011
pull_request:
1112

1213
permissions:

.github/workflows/python_ci.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ on:
77
branches-ignore:
88
- 'repo-helper-update'
99
- 'pre-commit-ci-update-config'
10+
- 'imgbot'
1011

1112
pull_request:
1213

@@ -20,7 +21,7 @@ jobs:
2021
runs-on: "windows-2019"
2122
continue-on-error: ${{ matrix.config.experimental }}
2223
env:
23-
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'
2425

2526
strategy:
2627
fail-fast: False
@@ -30,7 +31,7 @@ jobs:
3031
- {python-version: "3.7", testenvs: "py37,build", experimental: False}
3132
- {python-version: "3.8", testenvs: "py38,build", experimental: False}
3233
- {python-version: "3.9", testenvs: "py39,build", experimental: False}
33-
- {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}
3435
- {python-version: "pypy-3.6", testenvs: "pypy36,build", experimental: False}
3536
- {python-version: "pypy-3.7", testenvs: "pypy37,build", experimental: True}
3637

.github/workflows/python_ci_linux.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ on:
77
branches-ignore:
88
- 'repo-helper-update'
99
- 'pre-commit-ci-update-config'
10+
- 'imgbot'
1011
tags:
1112
- '*'
1213
pull_request:
@@ -21,7 +22,7 @@ jobs:
2122
runs-on: "ubuntu-20.04"
2223
continue-on-error: ${{ matrix.config.experimental }}
2324
env:
24-
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'
2526

2627
strategy:
2728
fail-fast: False
@@ -31,7 +32,7 @@ jobs:
3132
- {python-version: "3.7", testenvs: "py37,build", experimental: False}
3233
- {python-version: "3.8", testenvs: "py38,build", experimental: False}
3334
- {python-version: "3.9", testenvs: "py39,build", experimental: False}
34-
- {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}
3536
- {python-version: "pypy-3.6", testenvs: "pypy36,build", experimental: False}
3637
- {python-version: "pypy-3.7", testenvs: "pypy37,build", experimental: True}
3738

.github/workflows/python_ci_macos.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ on:
77
branches-ignore:
88
- 'repo-helper-update'
99
- 'pre-commit-ci-update-config'
10+
- 'imgbot'
1011

1112
pull_request:
1213

@@ -20,7 +21,7 @@ jobs:
2021
runs-on: "macos-latest"
2122
continue-on-error: ${{ matrix.config.experimental }}
2223
env:
23-
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'
2425

2526
strategy:
2627
fail-fast: False
@@ -30,7 +31,7 @@ jobs:
3031
- {python-version: "3.7", testenvs: "py37,build", experimental: False}
3132
- {python-version: "3.8", testenvs: "py38,build", experimental: False}
3233
- {python-version: "3.9", testenvs: "py39,build", experimental: False}
33-
- {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}
3435
- {python-version: "pypy-3.6", testenvs: "pypy36,build", experimental: False}
3536
- {python-version: "pypy-3.7", testenvs: "pypy37,build", experimental: True}
3637

.pre-commit-config.yaml

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

66
repos:
77
- repo: https://github.com/repo-helper/pyproject-parser
8-
rev: v0.4.1
8+
rev: v0.4.2
99
hooks:
1010
- id: reformat-pyproject
1111

@@ -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

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,7 @@ add_module_names = false
9999
hide_none_rtype = true
100100
all_typevars = true
101101
overloads_location = "bottom"
102+
html_codeblock_linenos_style = "table"
102103
autodoc_exclude_members = [
103104
"__dict__",
104105
"__class__",
@@ -137,3 +138,28 @@ namespace_packages = true
137138
check_untyped_defs = true
138139
warn_unused_ignores = true
139140
no_implicit_optional = true
141+
show_error_codes = true
142+
143+
[tool.snippet-fmt]
144+
directives = [ "code-block",]
145+
146+
[tool.dependency-dash."requirements.txt"]
147+
order = 10
148+
149+
[tool.dependency-dash."tests/requirements.txt"]
150+
order = 20
151+
include = false
152+
153+
[tool.dependency-dash."doc-source/requirements.txt"]
154+
order = 30
155+
include = false
156+
157+
[tool.snippet-fmt.languages.python]
158+
reformat = true
159+
160+
[tool.snippet-fmt.languages.TOML]
161+
reformat = true
162+
163+
[tool.snippet-fmt.languages.ini]
164+
165+
[tool.snippet-fmt.languages.json]

0 commit comments

Comments
 (0)