Skip to content

Commit 5c26b31

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

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,14 +22,14 @@ jobs:
2222
runs-on: "windows-2019"
2323
continue-on-error: ${{ matrix.config.experimental }}
2424
env:
25-
USING_COVERAGE: '3.10,3.11.0-beta.1,pypy-3.6,pypy-3.7,pypy-3.8,pypy-3.9'
25+
USING_COVERAGE: '3.10,3.11.0-beta.3,pypy-3.6,pypy-3.7,pypy-3.8,pypy-3.9'
2626

2727
strategy:
2828
fail-fast: False
2929
matrix:
3030
config:
3131
- {python-version: "3.10", testenvs: "py310,build", experimental: False}
32-
- {python-version: "3.11.0-beta.1", testenvs: "py311-dev,build", experimental: True}
32+
- {python-version: "3.11.0-beta.3", testenvs: "py311-dev,build", experimental: True}
3333
- {python-version: "pypy-3.6", testenvs: "pypy36,build", experimental: False}
3434
- {python-version: "pypy-3.7", testenvs: "pypy37,build", experimental: True}
3535
- {python-version: "pypy-3.8", testenvs: "pypy38,build", experimental: True}

.github/workflows/python_ci_linux.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,14 +23,14 @@ jobs:
2323
runs-on: "ubuntu-20.04"
2424
continue-on-error: ${{ matrix.config.experimental }}
2525
env:
26-
USING_COVERAGE: '3.10,3.11.0-beta.1,pypy-3.6,pypy-3.7,pypy-3.8,pypy-3.9'
26+
USING_COVERAGE: '3.10,3.11.0-beta.3,pypy-3.6,pypy-3.7,pypy-3.8,pypy-3.9'
2727

2828
strategy:
2929
fail-fast: False
3030
matrix:
3131
config:
3232
- {python-version: "3.10", testenvs: "py310,build", experimental: False}
33-
- {python-version: "3.11.0-beta.1", testenvs: "py311-dev,build", experimental: True}
33+
- {python-version: "3.11.0-beta.3", testenvs: "py311-dev,build", experimental: True}
3434
- {python-version: "pypy-3.6", testenvs: "pypy36,build", experimental: False}
3535
- {python-version: "pypy-3.7", testenvs: "pypy37,build", experimental: True}
3636
- {python-version: "pypy-3.8", testenvs: "pypy38,build", experimental: True}

.github/workflows/python_ci_macos.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,14 +22,14 @@ jobs:
2222
runs-on: "macos-latest"
2323
continue-on-error: ${{ matrix.config.experimental }}
2424
env:
25-
USING_COVERAGE: '3.10,3.11.0-beta.1,pypy-3.7,pypy-3.8,pypy-3.9'
25+
USING_COVERAGE: '3.10,3.11.0-beta.3,pypy-3.7,pypy-3.8,pypy-3.9'
2626

2727
strategy:
2828
fail-fast: False
2929
matrix:
3030
config:
3131
- {python-version: "3.10", testenvs: "py310,build", experimental: False}
32-
- {python-version: "3.11.0-beta.1", testenvs: "py311-dev,build", experimental: True}
32+
- {python-version: "3.11.0-beta.3", testenvs: "py311-dev,build", experimental: True}
3333
- {python-version: "pypy-3.7", testenvs: "pypy37,build", experimental: True}
3434
- {python-version: "pypy-3.8", testenvs: "pypy38,build", experimental: True}
3535
- {python-version: "pypy-3.9", testenvs: "pypy39", experimental: True}

.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 pytest_mypy_plugins_shim --allow-toolbox {posargs}
7678

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

0 commit comments

Comments
 (0)