Skip to content

Commit 4ba8a9a

Browse files
authored
Merge pull request #148 from lsst-sqre/u/jonathansick/update-precommit
Update pre-commit plugins
2 parents 047297c + 4306b55 commit 4ba8a9a

File tree

7 files changed

+17
-12
lines changed

7 files changed

+17
-12
lines changed

.github/workflows/ci-cron.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ jobs:
1818
- "3.8"
1919
- "3.9"
2020
- "3.10"
21+
- "3.11"
2122
sphinx-version:
2223
- "5"
2324
- "dev"
@@ -60,7 +61,7 @@ jobs:
6061
- name: Build docs in tox
6162
uses: lsst-sqre/run-tox@v1
6263
with:
63-
python-version: "3.10"
64+
python-version: "3.11"
6465
tox-envs: "docs,docs-lint"
6566
use-cache: false
6667

@@ -91,5 +92,5 @@ jobs:
9192
uses: lsst-sqre/build-and-publish-to-pypi@v1
9293
with:
9394
pypi-token: ""
94-
python-version: "3.10"
95+
python-version: "3.11"
9596
upload: false

.github/workflows/ci.yaml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
- name: Set up Python
2525
uses: actions/setup-python@v4
2626
with:
27-
python-version: '3.10'
27+
python-version: '3.11'
2828

2929
- name: Run pre-commit
3030
uses: pre-commit/action@v3.0.0
@@ -38,6 +38,7 @@ jobs:
3838
- '3.8'
3939
- '3.9'
4040
- '3.10'
41+
- '3.11'
4142
sphinx-version:
4243
- '5'
4344

@@ -82,7 +83,7 @@ jobs:
8283
- name: Run tox
8384
uses: lsst-sqre/run-tox@v1
8485
with:
85-
python-version: '3.10'
86+
python-version: '3.11'
8687
tox-envs: 'docs,docs-lint'
8788

8889
# Only attempt documentation uploads for tagged releases and pull
@@ -123,5 +124,5 @@ jobs:
123124
uses: lsst-sqre/build-and-publish-to-pypi@v1
124125
with:
125126
pypi-token: ${{ secrets.PYPI_SQRE_ADMIN }}
126-
python-version: '3.10'
127+
python-version: '3.11'
127128
upload: ${{ github.event_name == 'push' && startsWith(github.ref, 'refs/tags/') }}

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,3 +61,7 @@ docs/_build/
6161

6262
# PyBuilder
6363
target/
64+
65+
# Python environments
66+
.venv
67+
venv

.pre-commit-config.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,19 +14,19 @@ repos:
1414
files: (README\.rst)|(CHANGELOG\.rst)
1515

1616
- repo: https://github.com/PyCQA/isort/
17-
rev: 5.11.4
17+
rev: 5.12.0
1818
hooks:
1919
- id: isort
2020
additional_dependencies:
2121
- toml
2222

2323
- repo: https://github.com/psf/black
24-
rev: 22.12.0
24+
rev: 23.1.0
2525
hooks:
2626
- id: black
2727

2828
- repo: https://github.com/asottile/blacken-docs
29-
rev: v1.12.1
29+
rev: 1.13.0
3030
hooks:
3131
- id: blacken-docs
3232
additional_dependencies: [black==22.12.0]
@@ -38,7 +38,7 @@ repos:
3838
- id: flake8
3939

4040
- repo: https://github.com/pre-commit/mirrors-prettier
41-
rev: 'v2.7.1'
41+
rev: 'v3.0.0-alpha.4'
4242
hooks:
4343
- id: prettier
4444
types_or: [css, scss, javascript]

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ classifiers = [
1414
"Programming Language :: Python :: 3.8",
1515
"Programming Language :: Python :: 3.9",
1616
"Programming Language :: Python :: 3.10",
17+
"Programming Language :: Python :: 3.11",
1718
"Intended Audience :: Developers",
1819
"Topic :: Documentation",
1920
"Topic :: Documentation :: Sphinx",

src/documenteer/sphinxext/lssttasks/topiclists.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,6 @@ def types(self):
161161

162162

163163
class ConfigurableListDirective(BaseTopicListDirective):
164-
165164
directive_name = "lsst-configurables"
166165

167166
@property
@@ -170,7 +169,6 @@ def types(self):
170169

171170

172171
class ConfigListDirective(TaskListDirective):
173-
174172
directive_name = "lsst-configs"
175173

176174
@property

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ description = Compile coverage from each test run.
3131
skip_install = true
3232
deps = coverage[toml]>=5.0.2
3333
depends =
34-
py{37,38,39}-test-sphinx{5}
34+
py-test-sphinx{5}
3535
commands =
3636
coverage combine
3737
coverage report

0 commit comments

Comments
 (0)