Skip to content

Commit 1dc8d59

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

File tree

8 files changed

+16
-11
lines changed

8 files changed

+16
-11
lines changed

.github/workflows/mypy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020

2121
strategy:
2222
matrix:
23-
os: ['ubuntu-22.04', 'windows-2019']
23+
os: ['ubuntu-22.04', 'windows-2022']
2424
fail-fast: false
2525

2626
steps:

.github/workflows/octocheese.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ on:
66
schedule:
77
- cron: 0 12 * * *
88

9+
permissions:
10+
contents: write
11+
912
jobs:
1013
Run:
1114
runs-on: ubuntu-latest

.github/workflows/python_ci.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ permissions:
1818

1919
jobs:
2020
tests:
21-
name: "windows-2019 / Python ${{ matrix.config.python-version }}"
22-
runs-on: "windows-2019"
21+
name: "windows-2022 / Python ${{ matrix.config.python-version }}"
22+
runs-on: "windows-2022"
2323
continue-on-error: ${{ matrix.config.experimental }}
2424
env:
2525
USING_COVERAGE: '3.7,3.8,3.9,3.10,3.11,3.12,3.13,pypy-3.7,pypy-3.8,pypy-3.9,pypy-3.10'
@@ -36,8 +36,8 @@ jobs:
3636
- {python-version: "3.12", testenvs: "py312,build", experimental: False}
3737
- {python-version: "3.13", testenvs: "py313,build", experimental: False}
3838
- {python-version: "pypy-3.7", testenvs: "pypy37,build", experimental: False}
39-
- {python-version: "pypy-3.8", testenvs: "pypy38,build", experimental: False}
40-
- {python-version: "pypy-3.9-v7.3.15", testenvs: "pypy39,build", experimental: True}
39+
- {python-version: "pypy-3.8", testenvs: "pypy38", experimental: False}
40+
- {python-version: "pypy-3.9-v7.3.15", testenvs: "pypy39", experimental: True}
4141
- {python-version: "pypy-3.10-v7.3.15", testenvs: "pypy310,build", experimental: True}
4242

4343
steps:

.github/workflows/python_ci_linux.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ jobs:
162162
163163
- name: Upload distribution to PyPI 🚀
164164
if: startsWith(github.ref, 'refs/tags/')
165-
uses: pypa/gh-action-pypi-publish@v1.4.2
165+
uses: pypa/gh-action-pypi-publish@v1.13.0
166166
with:
167167
user: __token__
168168
password: ${{ secrets.PYPI_TOKEN }}

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ repos:
6262
- id: rst-inline-touching-normal
6363

6464
- repo: https://github.com/asottile/pyupgrade
65-
rev: v2.12.0
65+
rev: v3.3.0
6666
hooks:
6767
- id: pyupgrade
6868
args:

doc-source/requirements.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
11
default-values>=0.6.0
2+
docutils<0.22
23
domdf-sphinx-theme>=0.3.0
34
extras-require>=0.5.0
45
html-section>=0.3.0
56
pandas>=1.1.2
67
pytest>=6.2.0
78
pytest-regressions>=2.0.2
89
pytz>=2019.1
10+
roman>=4.0
911
seed-intersphinx-mapping>=1.2.2
1012
sphinx>=3.0.3
1113
sphinx-autofixture>=0.2.1

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ name = "domdf_python_tools"
77
version = "3.10.0"
88
description = "Helpful functions for Python 🐍 🛠️"
99
readme = "README.rst"
10-
requires-python = ">=3.6"
10+
requires-python = ">=3.7"
1111
keywords = [ "utilities",]
1212
classifiers = [
1313
"Development Status :: 5 - Production/Stable",

tox.ini

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,6 @@ download = True
6969
setenv =
7070
PYTHONDEVMODE=1
7171
PIP_DISABLE_PIP_VERSION_CHECK=1
72-
UNSAFE_PYO3_SKIP_VERSION_CHECK=1
7372

7473
[testenv:py312]
7574
download = True
@@ -125,11 +124,12 @@ deps =
125124
flake8-sphinx-links>=0.0.4
126125
flake8-strftime>=0.1.1
127126
flake8-typing-imports>=1.10.0
127+
git+https://github.com/domdfcoding/restructuredtext-lint.git@fix-deprecations
128128
git+https://github.com/domdfcoding/flake8-rst-docstrings-sphinx.git
129129
git+https://github.com/domdfcoding/flake8-rst-docstrings.git
130130
git+https://github.com/python-formate/flake8-unused-arguments.git@magic-methods
131131
git+https://github.com/python-formate/flake8-missing-annotations.git
132-
pydocstyle>=6.0.0
132+
git+https://github.com/domdfcoding/pydocstyle.git@stub-functions
133133
pygments>=2.7.1
134134
importlib_metadata<4.5.0; python_version<'3.8'
135135
commands = python3 -m flake8_rst_docstrings_sphinx domdf_python_tools tests --allow-toolbox {posargs}
@@ -212,7 +212,7 @@ inline-quotes = "
212212
multiline-quotes = """
213213
docstring-quotes = """
214214
count = True
215-
min_python_version = 3.6
215+
min_python_version = 3.7
216216
unused-arguments-ignore-abstract-functions = True
217217
unused-arguments-ignore-overload-functions = True
218218
unused-arguments-ignore-magic-methods = True

0 commit comments

Comments
 (0)