Skip to content

Commit 37f7b96

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

File tree

6 files changed

+19
-10
lines changed

6 files changed

+19
-10
lines changed

.github/workflows/python_ci.yml

Lines changed: 2 additions & 2 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.7,3.8,3.9,3.10,3.11.0-beta.1'
25+
USING_COVERAGE: '3.7,3.8,3.9,3.10,3.11.0-beta.3'
2626

2727
strategy:
2828
fail-fast: False
@@ -32,7 +32,7 @@ jobs:
3232
- {python-version: "3.8", testenvs: "py38,build", experimental: False}
3333
- {python-version: "3.9", testenvs: "py39,build", experimental: False}
3434
- {python-version: "3.10", testenvs: "py310,build", experimental: False}
35-
- {python-version: "3.11.0-beta.1", testenvs: "py311-dev,build", experimental: True}
35+
- {python-version: "3.11.0-beta.3", testenvs: "py311-dev,build", experimental: True}
3636

3737
steps:
3838
- name: Checkout 🛎️

.github/workflows/python_ci_linux.yml

Lines changed: 2 additions & 2 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.7,3.8,3.9,3.10,3.11.0-beta.1'
26+
USING_COVERAGE: '3.7,3.8,3.9,3.10,3.11.0-beta.3'
2727

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

3838
steps:
3939
- name: Checkout 🛎️

.github/workflows/python_ci_macos.yml

Lines changed: 2 additions & 2 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.7,3.8,3.9,3.10,3.11.0-beta.1'
25+
USING_COVERAGE: '3.7,3.8,3.9,3.10,3.11.0-beta.3'
2626

2727
strategy:
2828
fail-fast: False
@@ -32,7 +32,7 @@ jobs:
3232
- {python-version: "3.8", testenvs: "py38,build", experimental: False}
3333
- {python-version: "3.9", testenvs: "py39,build", experimental: False}
3434
- {python-version: "3.10", testenvs: "py310,build", experimental: False}
35-
- {python-version: "3.11.0-beta.1", testenvs: "py311-dev,build", experimental: True}
35+
- {python-version: "3.11.0-beta.3", testenvs: "py311-dev,build", experimental: True}
3636

3737
steps:
3838
- name: Checkout 🛎️

.pre-commit-config.yaml

Lines changed: 2 additions & 2 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.5.0
8+
rev: v0.6.1
99
hooks:
1010
- id: reformat-pyproject
1111

@@ -67,7 +67,7 @@ repos:
6767
- --keep-runtime-typing
6868

6969
- repo: https://github.com/Lucas-C/pre-commit-hooks
70-
rev: v1.1.14
70+
rev: v1.2.0
7171
hooks:
7272
- id: remove-crlf
7373
- id: forbid-crlf

justfile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,7 @@ unused-imports:
1010
tox -e lint -- --select F401
1111

1212
incomplete-defs:
13-
#!/usr/bin/env bash
14-
tox -e mypy -- --disallow-incomplete-defs --disallow-untyped-defs | grep "Function is missing a .* annotation" || exit 0
13+
tox -e lint -- --select MAN
1514

1615
vdiff:
1716
git diff $(repo-helper show version -q)..HEAD

tox.ini

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
# * testenv:docs
77
# * testenv:build
88
# * testenv:lint
9+
# * testenv:perflint
910
# * testenv:mypy
1011
# * testenv:pyup
1112
# * flake8
@@ -69,11 +70,20 @@ deps =
6970
git+https://github.com/domdfcoding/flake8-rst-docstrings-sphinx.git
7071
git+https://github.com/domdfcoding/flake8-rst-docstrings.git
7172
git+https://github.com/python-formate/flake8-unused-arguments.git@magic-methods
73+
git+https://github.com/python-formate/flake8-missing-annotations.git
7274
pydocstyle>=6.0.0
7375
pygments>=2.7.1
7476
importlib_metadata<4.5.0; python_version<'3.8'
7577
commands = python3 -m flake8_rst_docstrings_sphinx testing_tox --allow-toolbox {posargs}
7678

79+
[testenv:perflint]
80+
basepython = python3.7
81+
changedir = {toxinidir}
82+
ignore_errors = True
83+
skip_install = True
84+
deps = perflint
85+
commands = python3 -m perflint testing_tox {posargs}
86+
7787
[testenv:mypy]
7888
basepython = python3.7
7989
ignore_errors = True

0 commit comments

Comments
 (0)