Skip to content

Commit d4a87ad

Browse files
Configure Renovate (#208)
* Add renovate.json * Switch to prek and use uv lock files. * Trigger CI. --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Joshua A. Anderson <joaander@umich.edu>
1 parent 1bd57cd commit d4a87ad

9 files changed

Lines changed: 308 additions & 77 deletions

File tree

.github/CODEOWNERS

Lines changed: 0 additions & 5 deletions
This file was deleted.

.github/dependabot.yml

Lines changed: 0 additions & 25 deletions
This file was deleted.

.github/workflows/style.yaml

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
name: Style
2+
3+
concurrency:
4+
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
5+
cancel-in-progress: true
6+
7+
on:
8+
pull_request:
9+
10+
workflow_dispatch:
11+
12+
push:
13+
branches:
14+
- main
15+
16+
jobs:
17+
prek:
18+
runs-on: ubuntu-24.04
19+
steps:
20+
- name: Checkout
21+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
22+
- name: prek
23+
uses: glotzerlab/workflows/prek@1fe577d5430222a9793694a14cdb316cf8f720e1 # 0.9.0
24+
25+
# This job is used to provide a single requirement for branch merge conditions.
26+
tests_complete:
27+
name: All style checks
28+
if: always()
29+
needs: [prek]
30+
runs-on: ubuntu-24.04
31+
32+
steps:
33+
- run: jq --exit-status 'all(.result == "success")' <<< '${{ toJson(needs) }}'
34+
- name: Done
35+
run: exit 0

.pre-commit-config.yaml

Lines changed: 18 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,3 @@
1-
ci:
2-
autoupdate_schedule: quarterly
3-
# We skip bibtex-tidy in pre-commit.ci due to https://github.com/FlamingTempura/bibtex-tidy/issues/427
4-
skip: [bibtex-tidy]
5-
61
repos:
72
- repo: https://github.com/pre-commit/pre-commit-hooks
83
rev: 'v5.0.0'
@@ -43,24 +38,24 @@ repos:
4338
rev: 1.19.1
4439
hooks:
4540
- id: blacken-docs
46-
- repo: https://github.com/FlamingTempura/bibtex-tidy
47-
rev: 'v1.14.0'
48-
hooks:
49-
- id: bibtex-tidy
50-
args:
51-
- --omit=abstract,keywords,archiveprefix,mendeley-tags,pmid,eprint,arxivid
52-
- --wrap=90
53-
- --curly
54-
- --numeric
55-
- --space=2
56-
- --align=0
57-
- --sort=key,type,author,-year
58-
- --duplicates=key,doi,citation
59-
- --strip-enclosing-braces
60-
- --drop-all-caps
61-
- --sort-fields=title,shorttitle,author,year,month,day,journal,booktitle,location,on,publisher,address,series,volume,number,pages,doi,isbn,issn,url,urldate,copyright,category,note,metadata
62-
- --remove-empty-fields
63-
- --no-remove-dupe-fields
41+
# - repo: https://github.com/FlamingTempura/bibtex-tidy
42+
# rev: 'v1.14.0'
43+
# hooks:
44+
# - id: bibtex-tidy
45+
# args:
46+
# - --omit=abstract,keywords,archiveprefix,mendeley-tags,pmid,eprint,arxivid
47+
# - --wrap=90
48+
# - --curly
49+
# - --numeric
50+
# - --space=2
51+
# - --align=0
52+
# - --sort=key,type,author,-year
53+
# - --duplicates=key,doi,citation
54+
# - --strip-enclosing-braces
55+
# - --drop-all-caps
56+
# - --sort-fields=title,shorttitle,author,year,month,day,journal,booktitle,location,on,publisher,address,series,volume,number,pages,doi,isbn,issn,url,urldate,copyright,category,note,metadata
57+
# - --remove-empty-fields
58+
# - --no-remove-dupe-fields
6459
- repo: https://github.com/pre-commit/pygrep-hooks
6560
rev: 'v1.10.0'
6661
hooks:

docs/requirements.in

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
IPython
2+
jupyter_client
3+
jupyter_sphinx
4+
nbconvert
5+
nbsphinx
6+
sphinx-hoverxref
7+
sphinx>=4.0.0
8+
sphinx_rtd_theme>=1.0.0
9+
sphinxcontrib-bibtex>=2.2.0

docs/requirements.txt

Lines changed: 237 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,237 @@
1-
IPython
2-
jupyter_client
3-
jupyter_sphinx
4-
nbconvert
5-
nbsphinx
6-
sphinx-hoverxref
7-
sphinx>=4.0.0
8-
sphinx_rtd_theme>=1.0.0
9-
sphinxcontrib-bibtex>=2.2.0
1+
# This file was autogenerated by uv via the following command:
2+
# uv pip compile docs/requirements.in --output-file=docs/requirements.txt
3+
alabaster==1.0.0
4+
# via sphinx
5+
appnope==0.1.4
6+
# via ipykernel
7+
asttokens==3.0.0
8+
# via stack-data
9+
attrs==25.3.0
10+
# via
11+
# jsonschema
12+
# referencing
13+
babel==2.17.0
14+
# via sphinx
15+
beautifulsoup4==4.13.5
16+
# via nbconvert
17+
bleach==6.2.0
18+
# via nbconvert
19+
certifi==2025.8.3
20+
# via requests
21+
charset-normalizer==3.4.3
22+
# via requests
23+
comm==0.2.3
24+
# via
25+
# ipykernel
26+
# ipywidgets
27+
debugpy==1.8.16
28+
# via ipykernel
29+
decorator==5.2.1
30+
# via ipython
31+
defusedxml==0.7.1
32+
# via nbconvert
33+
docutils==0.21.2
34+
# via
35+
# nbsphinx
36+
# pybtex-docutils
37+
# sphinx
38+
# sphinx-rtd-theme
39+
# sphinxcontrib-bibtex
40+
executing==2.2.1
41+
# via stack-data
42+
fastjsonschema==2.21.2
43+
# via nbformat
44+
idna==3.10
45+
# via requests
46+
imagesize==1.4.1
47+
# via sphinx
48+
ipykernel==6.30.1
49+
# via jupyter-sphinx
50+
ipython==9.5.0
51+
# via
52+
# -r docs/requirements.in
53+
# ipykernel
54+
# ipywidgets
55+
# jupyter-sphinx
56+
ipython-pygments-lexers==1.1.1
57+
# via ipython
58+
ipywidgets==8.1.7
59+
# via jupyter-sphinx
60+
jedi==0.19.2
61+
# via ipython
62+
jinja2==3.1.6
63+
# via
64+
# nbconvert
65+
# nbsphinx
66+
# sphinx
67+
jsonschema==4.25.1
68+
# via nbformat
69+
jsonschema-specifications==2025.9.1
70+
# via jsonschema
71+
jupyter-client==8.6.3
72+
# via
73+
# -r docs/requirements.in
74+
# ipykernel
75+
# nbclient
76+
jupyter-core==5.8.1
77+
# via
78+
# ipykernel
79+
# jupyter-client
80+
# nbclient
81+
# nbconvert
82+
# nbformat
83+
jupyter-sphinx==0.5.3
84+
# via -r docs/requirements.in
85+
jupyterlab-pygments==0.3.0
86+
# via nbconvert
87+
jupyterlab-widgets==3.0.15
88+
# via ipywidgets
89+
latexcodec==3.0.1
90+
# via pybtex
91+
markupsafe==3.0.2
92+
# via
93+
# jinja2
94+
# nbconvert
95+
matplotlib-inline==0.1.7
96+
# via
97+
# ipykernel
98+
# ipython
99+
mistune==3.1.4
100+
# via nbconvert
101+
nbclient==0.10.2
102+
# via nbconvert
103+
nbconvert==7.16.6
104+
# via
105+
# -r docs/requirements.in
106+
# jupyter-sphinx
107+
# nbsphinx
108+
nbformat==5.10.4
109+
# via
110+
# jupyter-sphinx
111+
# nbclient
112+
# nbconvert
113+
# nbsphinx
114+
nbsphinx==0.9.7
115+
# via -r docs/requirements.in
116+
nest-asyncio==1.6.0
117+
# via ipykernel
118+
packaging==25.0
119+
# via
120+
# ipykernel
121+
# nbconvert
122+
# sphinx
123+
pandocfilters==1.5.1
124+
# via nbconvert
125+
parso==0.8.5
126+
# via jedi
127+
pexpect==4.9.0
128+
# via ipython
129+
platformdirs==4.4.0
130+
# via jupyter-core
131+
prompt-toolkit==3.0.52
132+
# via ipython
133+
psutil==7.0.0
134+
# via ipykernel
135+
ptyprocess==0.7.0
136+
# via pexpect
137+
pure-eval==0.2.3
138+
# via stack-data
139+
pybtex==0.25.1
140+
# via
141+
# pybtex-docutils
142+
# sphinxcontrib-bibtex
143+
pybtex-docutils==1.0.3
144+
# via sphinxcontrib-bibtex
145+
pygments==2.19.2
146+
# via
147+
# ipython
148+
# ipython-pygments-lexers
149+
# nbconvert
150+
# sphinx
151+
python-dateutil==2.9.0.post0
152+
# via jupyter-client
153+
pyyaml==6.0.2
154+
# via pybtex
155+
pyzmq==27.1.0
156+
# via
157+
# ipykernel
158+
# jupyter-client
159+
referencing==0.36.2
160+
# via
161+
# jsonschema
162+
# jsonschema-specifications
163+
requests==2.32.5
164+
# via sphinx
165+
rpds-py==0.27.1
166+
# via
167+
# jsonschema
168+
# referencing
169+
six==1.17.0
170+
# via python-dateutil
171+
snowballstemmer==3.0.1
172+
# via sphinx
173+
soupsieve==2.8
174+
# via beautifulsoup4
175+
sphinx==8.1.3
176+
# via
177+
# -r docs/requirements.in
178+
# jupyter-sphinx
179+
# nbsphinx
180+
# sphinx-hoverxref
181+
# sphinx-rtd-theme
182+
# sphinxcontrib-bibtex
183+
# sphinxcontrib-jquery
184+
sphinx-hoverxref==1.4.2
185+
# via -r docs/requirements.in
186+
sphinx-rtd-theme==3.0.2
187+
# via -r docs/requirements.in
188+
sphinxcontrib-applehelp==2.0.0
189+
# via sphinx
190+
sphinxcontrib-bibtex==2.6.5
191+
# via -r docs/requirements.in
192+
sphinxcontrib-devhelp==2.0.0
193+
# via sphinx
194+
sphinxcontrib-htmlhelp==2.1.0
195+
# via sphinx
196+
sphinxcontrib-jquery==4.1
197+
# via
198+
# sphinx-hoverxref
199+
# sphinx-rtd-theme
200+
sphinxcontrib-jsmath==1.0.1
201+
# via sphinx
202+
sphinxcontrib-qthelp==2.0.0
203+
# via sphinx
204+
sphinxcontrib-serializinghtml==2.0.0
205+
# via sphinx
206+
stack-data==0.6.3
207+
# via ipython
208+
tinycss2==1.4.0
209+
# via bleach
210+
tornado==6.5.2
211+
# via
212+
# ipykernel
213+
# jupyter-client
214+
traitlets==5.14.3
215+
# via
216+
# ipykernel
217+
# ipython
218+
# ipywidgets
219+
# jupyter-client
220+
# jupyter-core
221+
# matplotlib-inline
222+
# nbclient
223+
# nbconvert
224+
# nbformat
225+
# nbsphinx
226+
typing-extensions==4.15.0
227+
# via beautifulsoup4
228+
urllib3==2.5.0
229+
# via requests
230+
wcwidth==0.2.13
231+
# via prompt-toolkit
232+
webencodings==0.5.1
233+
# via
234+
# bleach
235+
# tinycss2
236+
widgetsnbextension==4.0.14
237+
# via ipywidgets

0 commit comments

Comments
 (0)