Skip to content

Commit d66a98d

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

7 files changed

+38
-22
lines changed

.bumpversion.cfg

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,3 +22,5 @@ search = version = "{current_version}"
2222
replace = version = "{new_version}"
2323

2424
[bumpversion:file:.github/workflows/conda_ci.yml]
25+
search = ={current_version}=py_1
26+
replace = ={new_version}=py_1

.github/workflows/python_ci.yml

Lines changed: 4 additions & 4 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.6,3.7,3.8,3.9,3.10,3.11,3.12.0-alpha.4,pypy-3.6,pypy-3.7,pypy-3.8,pypy-3.9'
25+
USING_COVERAGE: '3.6,3.7,3.8,3.9,3.10,3.11,3.12.0-rc.1,pypy-3.6,pypy-3.7,pypy-3.8,pypy-3.9'
2626

2727
strategy:
2828
fail-fast: False
@@ -34,11 +34,11 @@ jobs:
3434
- {python-version: "3.9", testenvs: "py39,build", experimental: False}
3535
- {python-version: "3.10", testenvs: "py310,build", experimental: False}
3636
- {python-version: "3.11", testenvs: "py311,build", experimental: False}
37-
- {python-version: "3.12.0-alpha.4", testenvs: "py312-dev,build", experimental: True}
38-
- {python-version: "pypy-3.6", testenvs: "pypy36,build", experimental: False}
37+
- {python-version: "3.12.0-rc.1", testenvs: "py312-dev,build", experimental: True}
38+
- {python-version: "pypy-3.6", testenvs: "pypy36", experimental: False}
3939
- {python-version: "pypy-3.7", testenvs: "pypy37,build", experimental: True}
4040
- {python-version: "pypy-3.8", testenvs: "pypy38,build", experimental: True}
41-
- {python-version: "pypy-3.9", testenvs: "pypy39", experimental: True}
41+
- {python-version: "pypy-3.9", testenvs: "pypy39,build", experimental: True}
4242

4343
steps:
4444
- name: Checkout 🛎️

.github/workflows/python_ci_linux.yml

Lines changed: 3 additions & 3 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.6,3.7,3.8,3.9,3.10,3.11,3.12.0-alpha.4,pypy-3.6,pypy-3.7,pypy-3.8,pypy-3.9'
26+
USING_COVERAGE: '3.6,3.7,3.8,3.9,3.10,3.11,3.12.0-rc.1,pypy-3.6,pypy-3.7,pypy-3.8,pypy-3.9'
2727

2828
strategy:
2929
fail-fast: False
@@ -35,11 +35,11 @@ jobs:
3535
- {python-version: "3.9", testenvs: "py39,build", experimental: False}
3636
- {python-version: "3.10", testenvs: "py310,build", experimental: False}
3737
- {python-version: "3.11", testenvs: "py311,build", experimental: False}
38-
- {python-version: "3.12.0-alpha.4", testenvs: "py312-dev,build", experimental: True}
38+
- {python-version: "3.12.0-rc.1", testenvs: "py312-dev,build", experimental: True}
3939
- {python-version: "pypy-3.6", testenvs: "pypy36,build", experimental: False}
4040
- {python-version: "pypy-3.7", testenvs: "pypy37,build", experimental: True}
4141
- {python-version: "pypy-3.8", testenvs: "pypy38,build", experimental: True}
42-
- {python-version: "pypy-3.9", testenvs: "pypy39", experimental: True}
42+
- {python-version: "pypy-3.9", testenvs: "pypy39,build", experimental: True}
4343

4444
steps:
4545
- name: Checkout 🛎️

.github/workflows/python_ci_macos.yml

Lines changed: 3 additions & 3 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.6,3.7,3.8,3.9,3.10,3.11,3.12.0-alpha.4,pypy-3.7,pypy-3.8,pypy-3.9'
25+
USING_COVERAGE: '3.6,3.7,3.8,3.9,3.10,3.11,3.12.0-rc.1,pypy-3.7,pypy-3.8,pypy-3.9'
2626

2727
strategy:
2828
fail-fast: False
@@ -34,10 +34,10 @@ jobs:
3434
- {python-version: "3.9", testenvs: "py39,build", experimental: False}
3535
- {python-version: "3.10", testenvs: "py310,build", experimental: False}
3636
- {python-version: "3.11", testenvs: "py311,build", experimental: False}
37-
- {python-version: "3.12.0-alpha.4", testenvs: "py312-dev,build", experimental: True}
37+
- {python-version: "3.12.0-rc.1", testenvs: "py312-dev,build", experimental: True}
3838
- {python-version: "pypy-3.7", testenvs: "pypy37,build", experimental: True}
3939
- {python-version: "pypy-3.8", testenvs: "pypy38,build", experimental: True}
40-
- {python-version: "pypy-3.9", testenvs: "pypy39", experimental: True}
40+
- {python-version: "pypy-3.9", testenvs: "pypy39,build", experimental: True}
4141

4242
steps:
4343
- name: Checkout 🛎️

.pre-commit-config.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ci:
88

99
repos:
1010
- repo: https://github.com/repo-helper/pyproject-parser
11-
rev: v0.7.0
11+
rev: v0.9.0
1212
hooks:
1313
- id: reformat-pyproject
1414

@@ -43,7 +43,7 @@ repos:
4343
- id: bind-requirements
4444

4545
- repo: https://github.com/domdfcoding/flake8-dunder-all
46-
rev: v0.2.2
46+
rev: v0.3.0
4747
hooks:
4848
- id: ensure-dunder-all
4949
files: ^flake8_encodings/.*\.py$
@@ -54,7 +54,7 @@ repos:
5454
- id: flake2lint
5555

5656
- repo: https://github.com/pre-commit/pygrep-hooks
57-
rev: v1.9.0
57+
rev: v1.10.0
5858
hooks:
5959
- id: python-no-eval
6060
- id: rst-backticks
@@ -70,7 +70,7 @@ repos:
7070
- --keep-runtime-typing
7171

7272
- repo: https://github.com/Lucas-C/pre-commit-hooks
73-
rev: v1.3.1
73+
rev: v1.5.1
7474
hooks:
7575
- id: remove-crlf
7676
- id: forbid-crlf
@@ -81,13 +81,13 @@ repos:
8181
- id: snippet-fmt
8282

8383
- repo: https://github.com/python-formate/formate
84-
rev: v0.4.10
84+
rev: v0.5.0
8585
hooks:
8686
- id: formate
8787
exclude: ^(doc-source/conf|__pkginfo__|setup)\.(_)?py$
8888

8989
- repo: https://github.com/domdfcoding/dep_checker
90-
rev: v0.7.0
90+
rev: v0.7.1
9191
hooks:
9292
- id: dep_checker
9393
args:

.readthedocs.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,13 @@ formats:
99
- pdf
1010
- htmlzip
1111
python:
12-
version: 3.8
1312
install:
1413
- requirements: requirements.txt
1514
- requirements: doc-source/requirements.txt
16-
- method: pip
17-
path: .
18-
extra_requirements:
19-
- classes
15+
build:
16+
os: ubuntu-20.04
17+
tools:
18+
python: '3.9'
19+
jobs:
20+
post_create_environment:
21+
- pip install .[classes]

tox.ini

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
# You may add new sections, but any changes made to the following sections will be lost:
33
# * tox
44
# * envlists
5+
# * testenv:.package
56
# * testenv:py312-dev
67
# * testenv:docs
78
# * testenv:build
@@ -55,6 +56,11 @@ test =
5556
qa = mypy, lint
5657
cov = py36, coverage
5758

59+
[testenv:.package]
60+
setenv =
61+
PYTHONDEVMODE=1
62+
PIP_DISABLE_PIP_VERSION_CHECK=1
63+
5864
[testenv:py312-dev]
5965
setenv =
6066
PYTHONDEVMODE=1
@@ -70,12 +76,17 @@ deps = -r{toxinidir}/doc-source/requirements.txt
7076
commands = sphinx-build -M {env:SPHINX_BUILDER:html} . ./build {posargs}
7177

7278
[testenv:build]
79+
setenv =
80+
PYTHONDEVMODE=1
81+
PIP_DISABLE_PIP_VERSION_CHECK=1
82+
PIP_PREFER_BINARY=1
7383
skip_install = True
7484
changedir = {toxinidir}
7585
deps =
7686
build[virtualenv]>=0.3.1
7787
check-wheel-contents>=0.1.0
7888
twine>=3.2.0
89+
cryptography<40; implementation_name == "pypy" and python_version <= "3.7"
7990
commands =
8091
python -m build --sdist --wheel "{toxinidir}"
8192
twine check dist/*.tar.gz dist/*.whl
@@ -160,7 +171,7 @@ commands =
160171

161172
[flake8]
162173
max-line-length = 120
163-
select = E111 E112 E113 E121 E122 E125 E127 E128 E129 E131 E133 E201 E202 E203 E211 E222 E223 E224 E225 E225 E226 E227 E228 E231 E241 E242 E251 E261 E262 E265 E271 E272 E303 E304 E306 E402 E502 E703 E711 E712 E713 E714 E721 W291 W292 W293 W391 W504 YTT101 YTT102 YTT103 YTT201 YTT202 YTT203 YTT204 YTT301 YTT302 YTT303 STRFTIME001 STRFTIME002 SXL001 PT001 PT002 PT003 PT006 PT007 PT008 PT009 PT010 PT011 PT012 PT013 PT014 PT015 PT016 PT017 PT018 PT019 PT020 PT021 RST201 RST202 RST203 RST204 RST205 RST206 RST207 RST208 RST210 RST211 RST212 RST213 RST214 RST215 RST216 RST217 RST218 RST219 RST299 RST301 RST302 RST303 RST304 RST305 RST306 RST399 RST401 RST499 RST900 RST901 RST902 RST903 Q001 Q002 Q003 A001 A002 A003 TYP001 TYP002 TYP003 TYP004 TYP005 TYP006 ENC001 ENC002 ENC003 ENC004 ENC011 ENC012 ENC021 ENC022 ENC023 ENC024 ENC025 ENC026 Y001,Y002 Y003 Y004 Y005 Y006 Y007 Y008 Y009 Y010 Y011 Y012 Y013 Y014 Y015 Y090 Y091 NQA001 NQA002 NQA003 NQA004 NQA005 NQA102 NQA103 E301 E302 E305 D100 D101 D102 D103 D104 D106 D201 D204 D207 D208 D209 D210 D211 D212 D213 D214 D215 D300 D301 D400 D402 D403 D404 D415 D417 DALL000 SLOT000 SLOT001 SLOT002
174+
select = E111 E112 E113 E121 E122 E125 E127 E128 E129 E131 E133 E201 E202 E203 E211 E222 E223 E224 E225 E225 E226 E227 E228 E231 E241 E242 E251 E261 E262 E265 E271 E272 E303 E304 E306 E402 E502 E703 E711 E712 E713 E714 E721 W291 W292 W293 W391 W504 YTT101 YTT102 YTT103 YTT201 YTT202 YTT203 YTT204 YTT301 YTT302 YTT303 STRFTIME001 STRFTIME002 SXL001 PT001 PT002 PT003 PT006 PT007 PT008 PT009 PT010 PT011 PT012 PT013 PT014 PT015 PT016 PT017 PT018 PT019 PT020 PT021 RST201 RST202 RST203 RST204 RST205 RST206 RST207 RST208 RST210 RST211 RST212 RST213 RST214 RST215 RST216 RST217 RST218 RST219 RST299 RST301 RST302 RST303 RST304 RST305 RST306 RST399 RST401 RST499 RST900 RST901 RST902 RST903 Q001 Q002 Q003 A001 A002 TYP001 TYP002 TYP003 TYP004 TYP005 TYP006 ENC001 ENC002 ENC003 ENC004 ENC011 ENC012 ENC021 ENC022 ENC023 ENC024 ENC025 ENC026 Y001,Y002 Y003 Y004 Y005 Y006 Y007 Y008 Y009 Y010 Y011 Y012 Y013 Y014 Y015 Y090 Y091 NQA001 NQA002 NQA003 NQA004 NQA005 NQA102 NQA103 E301 E302 E305 D100 D101 D102 D103 D104 D106 D201 D204 D207 D208 D209 D210 D211 D212 D213 D214 D215 D300 D301 D400 D402 D403 D404 D415 D417 DALL000 SLOT000 SLOT001 SLOT002
164175
extend-exclude = doc-source,old,build,dist,__pkginfo__.py,setup.py,venv
165176
rst-directives =
166177
TODO
@@ -188,6 +199,7 @@ plugins = coverage_pyver_pragma
188199
189200
[coverage:report]
190201
fail_under = 94
202+
show_missing = True
191203
exclude_lines =
192204
raise AssertionError
193205
raise NotImplementedError

0 commit comments

Comments
 (0)