Skip to content

Commit 8a1bd9d

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

14 files changed

+62
-39
lines changed

.bumpversion.cfg

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@ tag = True
55

66
[bumpversion:file:repo_helper.yml]
77

8-
[bumpversion:file:__pkginfo__.py]
9-
108
[bumpversion:file:README.rst]
119

1210
[bumpversion:file:pytest_mypy_plugins_shim/__init__.py]
1311
search = : str = "{current_version}"
1412
replace = : str = "{new_version}"
1513

1614
[bumpversion:file:pyproject.toml]
15+
search = version = "{current_version}"
16+
replace = version = "{new_version}"

.github/stale.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ exemptMilestones: false
2828
exemptAssignees: false
2929

3030
# Label to use when marking as stale
31-
staleLabel: wontfix
31+
staleLabel: stale
3232

3333
# Comment to post when marking as stale. Set to `false` to disable
3434
markComment: >

.github/workflows/flake8.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ name: Flake8
44

55
on:
66
push:
7+
branches-ignore:
8+
- 'repo-helper-update'
9+
- 'pre-commit-ci-update-config'
10+
pull_request:
711

812
permissions:
913
contents: read
@@ -24,7 +28,7 @@ jobs:
2428
list-files: "json"
2529
filters: |
2630
code:
27-
- '!(CONTRIBUTING.rst|.imgbotconfig|.pre-commit-config.yaml|.pylintrc|.readthedocs.yml)'
31+
- '!(doc-source/**|CONTRIBUTING.rst|.imgbotconfig|.pre-commit-config.yaml|.pylintrc|.readthedocs.yml)'
2832
2933
- name: Setup Python 🐍
3034
if: steps.changes.outputs.code == 'true'

.github/workflows/mypy.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ name: mypy
44

55
on:
66
push:
7+
branches-ignore:
8+
- 'repo-helper-update'
9+
- 'pre-commit-ci-update-config'
10+
pull_request:
711

812
permissions:
913
contents: read
@@ -29,7 +33,7 @@ jobs:
2933
list-files: "json"
3034
filters: |
3135
code:
32-
- '!(CONTRIBUTING.rst|.imgbotconfig|.pre-commit-config.yaml|.pylintrc|.readthedocs.yml)'
36+
- '!(doc-source/**|CONTRIBUTING.rst|.imgbotconfig|.pre-commit-config.yaml|.pylintrc|.readthedocs.yml)'
3337
3438
- name: Setup Python 🐍
3539
if: steps.changes.outputs.code == 'true'

.github/workflows/octocheese.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,8 @@
33

44
name: "GitHub Releases"
55
on:
6-
push:
7-
branches: ["master"]
86
schedule:
9-
- cron: 0 12 * * 2,4,6
7+
- cron: 0 12 * * *
108

119
jobs:
1210
Run:

.github/workflows/python_ci.yml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@ name: Windows
44

55
on:
66
push:
7+
branches-ignore:
8+
- 'repo-helper-update'
9+
- 'pre-commit-ci-update-config'
10+
11+
pull_request:
712

813
permissions:
914
actions: write
@@ -15,13 +20,13 @@ jobs:
1520
runs-on: "windows-2019"
1621
continue-on-error: ${{ matrix.config.experimental }}
1722
env:
18-
USING_COVERAGE: '3.10.0-beta.1,pypy-3.6,pypy-3.7'
23+
USING_COVERAGE: '3.10.0-rc.1,pypy-3.6,pypy-3.7'
1924

2025
strategy:
2126
fail-fast: False
2227
matrix:
2328
config:
24-
- {python-version: "3.10.0-beta.1", testenvs: "py310-dev,build", experimental: True}
29+
- {python-version: "3.10.0-rc.1", testenvs: "py310-dev,build", experimental: True}
2530
- {python-version: "pypy-3.6", testenvs: "pypy36,build", experimental: False}
2631
- {python-version: "pypy-3.7", testenvs: "pypy37,build", experimental: True}
2732

@@ -37,7 +42,7 @@ jobs:
3742
list-files: "json"
3843
filters: |
3944
code:
40-
- '!(CONTRIBUTING.rst|.imgbotconfig|.pre-commit-config.yaml|.pylintrc|.readthedocs.yml)'
45+
- '!(doc-source/**|CONTRIBUTING.rst|.imgbotconfig|.pre-commit-config.yaml|.pylintrc|.readthedocs.yml)'
4146
4247
- name: Setup Python 🐍
4348
id: setup-python

.github/workflows/python_ci_linux.yml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,12 @@ name: Linux
44

55
on:
66
push:
7+
branches-ignore:
8+
- 'repo-helper-update'
9+
- 'pre-commit-ci-update-config'
10+
tags:
11+
- '*'
12+
pull_request:
713

814
permissions:
915
actions: write
@@ -15,13 +21,13 @@ jobs:
1521
runs-on: "ubuntu-20.04"
1622
continue-on-error: ${{ matrix.config.experimental }}
1723
env:
18-
USING_COVERAGE: '3.10.0-beta.1,pypy-3.6,pypy-3.7'
24+
USING_COVERAGE: '3.10.0-rc.1,pypy-3.6,pypy-3.7'
1925

2026
strategy:
2127
fail-fast: False
2228
matrix:
2329
config:
24-
- {python-version: "3.10.0-beta.1", testenvs: "py310-dev,build", experimental: True}
30+
- {python-version: "3.10.0-rc.1", testenvs: "py310-dev,build", experimental: True}
2531
- {python-version: "pypy-3.6", testenvs: "pypy36,build", experimental: False}
2632
- {python-version: "pypy-3.7", testenvs: "pypy37,build", experimental: True}
2733

@@ -37,7 +43,7 @@ jobs:
3743
list-files: "json"
3844
filters: |
3945
code:
40-
- '!(CONTRIBUTING.rst|.imgbotconfig|.pre-commit-config.yaml|.pylintrc|.readthedocs.yml)'
46+
- '!(doc-source/**|CONTRIBUTING.rst|.imgbotconfig|.pre-commit-config.yaml|.pylintrc|.readthedocs.yml)'
4147
4248
- name: Setup Python 🐍
4349
id: setup-python

.github/workflows/python_ci_macos.yml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@ name: macOS
44

55
on:
66
push:
7+
branches-ignore:
8+
- 'repo-helper-update'
9+
- 'pre-commit-ci-update-config'
10+
11+
pull_request:
712

813
permissions:
914
actions: write
@@ -15,13 +20,13 @@ jobs:
1520
runs-on: "macos-latest"
1621
continue-on-error: ${{ matrix.config.experimental }}
1722
env:
18-
USING_COVERAGE: '3.10.0-beta.1,pypy-3.6,pypy-3.7'
23+
USING_COVERAGE: '3.10.0-rc.1,pypy-3.6,pypy-3.7'
1924

2025
strategy:
2126
fail-fast: False
2227
matrix:
2328
config:
24-
- {python-version: "3.10.0-beta.1", testenvs: "py310-dev,build", experimental: True}
29+
- {python-version: "3.10.0-rc.1", testenvs: "py310-dev,build", experimental: True}
2530
- {python-version: "pypy-3.6", testenvs: "pypy36,build", experimental: False}
2631
- {python-version: "pypy-3.7", testenvs: "pypy37,build", experimental: True}
2732

@@ -37,7 +42,7 @@ jobs:
3742
list-files: "json"
3843
filters: |
3944
code:
40-
- '!(CONTRIBUTING.rst|.imgbotconfig|.pre-commit-config.yaml|.pylintrc|.readthedocs.yml)'
45+
- '!(doc-source/**|CONTRIBUTING.rst|.imgbotconfig|.pre-commit-config.yaml|.pylintrc|.readthedocs.yml)'
4146
4247
- name: Setup Python 🐍
4348
id: setup-python

.pre-commit-config.yaml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@
44
exclude: ^$
55

66
repos:
7+
- repo: https://github.com/repo-helper/pyproject-parser
8+
rev: v0.4.1
9+
hooks:
10+
- id: reformat-pyproject
11+
712
- repo: https://github.com/pre-commit/pre-commit-hooks
813
rev: v3.4.0
914
hooks:
@@ -41,7 +46,7 @@ repos:
4146
files: ^pytest_mypy_plugins_shim/.*\.py$
4247

4348
- repo: https://github.com/domdfcoding/flake2lint
44-
rev: v0.4.0
49+
rev: v0.4.1
4550
hooks:
4651
- id: flake2lint
4752

@@ -68,7 +73,7 @@ repos:
6873
- id: forbid-crlf
6974

7075
- repo: https://github.com/repo-helper/formate
71-
rev: v0.4.4
76+
rev: v0.4.9
7277
hooks:
7378
- id: formate
7479
exclude: ^(doc-source/conf|__pkginfo__|setup)\.(_)?py$

.pylintrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ confidence=
6666
# no Warning level messages displayed, use"--disable=all --enable=classes
6767
# --disable=W"
6868
disable=all
69-
enable=assert-on-tuple,astroid-error,bad-except-order,bad-inline-option,bad-option-value,bad-reversed-sequence,bare-except,binary-op-exception,boolean-datetime,catching-non-exception,cell-var-from-loop,confusing-with-statement,consider-merging-isinstance,consider-using-enumerate,consider-using-ternary,continue-in-finally,cyclic-import,deprecated-pragma,django-not-available,duplicate-except,duplicate-key,eval-used,exec-used,expression-not-assigned,fatal,file-ignored,fixme,global-at-module-level,global-statement,global-variable-not-assigned,global-variable-undefined,http-response-with-content-type-json,http-response-with-json-dumps,invalid-all-object,invalid-characters-in-docstring,len-as-condition,literal-comparison,locally-disabled,locally-enabled,lost-exception,lowercase-l-suffix,misplaced-bare-raise,missing-kwoa,mixed-line-endings,model-has-unicode,model-missing-unicode,model-no-explicit-unicode,model-unicode-not-callable,multiple-imports,new-db-field-with-default,non-ascii-bytes-literals,nonexistent-operator,not-in-loop,notimplemented-raised,overlapping-except,parse-error,pointless-statement,pointless-string-statement,raising-bad-type,raising-non-exception,raw-checker-failed,redefine-in-handler,redefined-argument-from-local,redefined-builtin,redundant-content-type-for-json-response,reimported,relative-import,return-outside-function,simplifiable-if-statement,singleton-comparison,syntax-error,trailing-comma-tuple,trailing-newlines,unbalanced-tuple-unpacking,undefined-all-variable,undefined-loop-variable,unexpected-line-ending-format,unidiomatic-typecheck,unnecessary-lambda,unnecessary-pass,unnecessary-semicolon,unneeded-not,unpacking-non-sequence,unreachable,unrecognized-inline-option,used-before-assignment,useless-else-on-loop,using-constant-test,wildcard-import,yield-outside-function,useless-return
69+
enable=assert-on-tuple,astroid-error,bad-except-order,bad-inline-option,bad-option-value,bad-reversed-sequence,bare-except,binary-op-exception,boolean-datetime,catching-non-exception,cell-var-from-loop,confusing-with-statement,consider-merging-isinstance,consider-using-enumerate,consider-using-ternary,continue-in-finally,deprecated-pragma,django-not-available,duplicate-except,duplicate-key,eval-used,exec-used,expression-not-assigned,fatal,file-ignored,fixme,global-at-module-level,global-statement,global-variable-not-assigned,global-variable-undefined,http-response-with-content-type-json,http-response-with-json-dumps,invalid-all-object,invalid-characters-in-docstring,len-as-condition,literal-comparison,locally-disabled,locally-enabled,lost-exception,lowercase-l-suffix,misplaced-bare-raise,missing-kwoa,mixed-line-endings,model-has-unicode,model-missing-unicode,model-no-explicit-unicode,model-unicode-not-callable,multiple-imports,new-db-field-with-default,non-ascii-bytes-literals,nonexistent-operator,not-in-loop,notimplemented-raised,overlapping-except,parse-error,pointless-statement,pointless-string-statement,raising-bad-type,raising-non-exception,raw-checker-failed,redefine-in-handler,redefined-argument-from-local,redefined-builtin,redundant-content-type-for-json-response,reimported,relative-import,return-outside-function,simplifiable-if-statement,singleton-comparison,syntax-error,trailing-comma-tuple,trailing-newlines,unbalanced-tuple-unpacking,undefined-all-variable,undefined-loop-variable,unexpected-line-ending-format,unidiomatic-typecheck,unnecessary-lambda,unnecessary-pass,unnecessary-semicolon,unneeded-not,unpacking-non-sequence,unreachable,unrecognized-inline-option,used-before-assignment,useless-else-on-loop,using-constant-test,wildcard-import,yield-outside-function,useless-return
7070

7171
[REPORTS]
7272

0 commit comments

Comments
 (0)