Skip to content

Commit 3fcc9dc

Browse files
sethrjCopilot
andauthored
Use locked versions inside CI and add dependabot (#10)
* Use locked versions inside CI and add dependabot * Add other stuff to precommit * Add additional fixes to precommit * Combine pip installs Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Add additional fixes to precommit * Fix reentrant call errors * Try to work around mypy error * Again with the mypy --------- Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent b867d24 commit 3fcc9dc

File tree

10 files changed

+179
-128
lines changed

10 files changed

+179
-128
lines changed

.github/dependabot.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,11 @@ updates:
55
directory: "/"
66
schedule:
77
interval: "weekly"
8+
- package-ecosystem: "pip"
9+
directory: "/"
10+
schedule:
11+
interval: "monthly"
12+
groups:
13+
dependencies:
14+
patterns:
15+
- "*"

.pre-commit-config.yaml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,3 +26,23 @@ repos:
2626
entry: make test/tomlsort
2727
language: system
2828
pass_filenames: false
29+
- repo: https://github.com/pre-commit/pre-commit-hooks
30+
rev: cef0300fd0fc4d2a87a85fa2093c6b283ea36f4b # v5.0.0 , 5 Oct 2024
31+
hooks:
32+
- id: check-added-large-files
33+
args: ['--maxkb=100']
34+
- id: check-case-conflict
35+
- id: check-merge-conflict
36+
- id: check-shebang-scripts-are-executable
37+
- id: check-json
38+
- id: check-yaml
39+
- id: end-of-file-fixer
40+
exclude: '\.(diff|patch)$'
41+
- id: trailing-whitespace
42+
exclude: '\.(diff|patch)$'
43+
44+
ci:
45+
autoupdate_schedule: quarterly
46+
autoupdate_commit_msg: "Update pre-commit version"
47+
48+
# vim: set nowrap tw=100:

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,4 +54,3 @@ the most verbose output and sending stdout/stderr to the console, run:
5454
$ . .venv/bin/activate
5555
$ pytest -vv -s test/test_process.py -k test_context
5656
```
57-

celerpy/__init__.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,11 @@
22
# See the top-level LICENSE file for details.
33
# SPDX-License-Identifier: Apache-2.0
44
try:
5-
from . import _version
5+
from . import _version # type: ignore[attr-defined]
66

77
__version__ = _version.__version__
88
except: # noqa: E722
99
__version__ = "0.0.0-dev"
10+
11+
# Expose __version__ for type checkers
12+
__all__ = ["__version__"]

celerpy/_resources/glasbey-dark.txt

Lines changed: 64 additions & 64 deletions
Original file line numberDiff line numberDiff line change
@@ -1,54 +1,54 @@
1-
0.843137 0. 0.
2-
0.54902 0.235294 1.
3-
0.007843 0.533333 0.
1+
0.843137 0. 0.
2+
0.54902 0.235294 1.
3+
0.007843 0.533333 0.
44
0. 0.67451 0.780392
5-
0.905882 0.647059 0.
5+
0.905882 0.647059 0.
66
1. 0.498039 0.819608
77
0.423529 0. 0.309804
8-
0.345098 0.231373 0.
9-
0. 0.341176 0.34902
8+
0.345098 0.231373 0.
9+
0. 0.341176 0.34902
1010
0.082353 0.882353 0.552941
1111
0. 0. 0.866667
1212
0.635294 0.462745 0.415686
13-
0.737255 0.717647 1.
14-
0.752941 0.015686 0.72549
15-
0.392157 0.329412 0.45098
16-
0.47451 0. 0.
13+
0.737255 0.717647 1.
14+
0.752941 0.015686 0.72549
15+
0.392157 0.329412 0.45098
16+
0.47451 0. 0.
1717
0.027451 0.454902 0.847059
1818
0.45098 0.607843 0.490196
1919
1. 0.470588 0.321569
20-
0. 0.294118 0.
20+
0. 0.294118 0.
2121
0.560784 0.482353 0.003922
2222
0.952941 0. 0.482353
23-
0.560784 0.729412 0.
23+
0.560784 0.729412 0.
2424
0.65098 0.482353 0.721569
2525
0.352941 0.007843 0.639216
2626
0.890196 0.686275 0.686275
2727
0.627451 0.227451 0.321569
2828
0.635294 0.784314 0.784314
29-
0.619608 0.294118 0.
29+
0.619608 0.294118 0.
3030
0.329412 0.403922 0.270588
3131
0.733333 0.764706 0.537255
3232
0.372549 0.482353 0.533333
3333
0.376471 0.219608 0.235294
34-
0.513725 0.533333 1.
35-
0.223529 0. 0.
36-
0.890196 0.32549 1.
34+
0.513725 0.533333 1.
35+
0.223529 0. 0.
36+
0.890196 0.32549 1.
3737
0.188235 0.32549 0.509804
38-
0.498039 0.792157 1.
38+
0.498039 0.792157 1.
3939
0.772549 0.4 0.560784
4040
0. 0.505882 0.415686
4141
0.572549 0.619608 0.717647
4242
0.8 0.454902 0.027451
4343
0.498039 0.168627 0.556863
4444
0. 0.745098 0.643137
4545
0.176471 0.694118 0.321569
46-
0.305882 0.2 1.
47-
0. 0.898039 0.
46+
0.305882 0.2 1.
47+
0. 0.898039 0.
4848
1. 0. 0.807843
4949
0.784314 0.345098 0.282353
50-
0.898039 0.611765 1.
51-
0.113725 0.631373 1.
50+
0.898039 0.611765 1.
51+
0.113725 0.631373 1.
5252
0.431373 0.439216 0.670588
5353
0.784314 0.603922 0.411765
5454
0.470588 0.341176 0.231373
@@ -60,8 +60,8 @@
6060
0.623529 0.007843 0.454902
6161
0.580392 0.631373 0.313725
6262
0.215686 0.266667 0.145098
63-
0.686275 0.427451 1.
64-
0.34902 0.427451 0.
63+
0.686275 0.427451 1.
64+
0.34902 0.427451 0.
6565
1. 0.192157 0.278431
6666
0.513725 0.501961 0.341176
6767
0. 0.427451 0.180392
@@ -75,44 +75,44 @@
7575
0. 0.533333 0.694118
7676
0.796078 0. 0.266667
7777
1. 0.627451 0.337255
78-
0.921569 0.305882 0.
79-
0.423529 0.592157 0.
78+
0.921569 0.305882 0.
79+
0.423529 0.592157 0.
8080
0.32549 0.52549 0.286275
81-
0.458824 0.352941 0.
82-
0.784314 0.768627 0.25098
81+
0.458824 0.352941 0.
82+
0.784314 0.768627 0.25098
8383
0.572549 0.827451 0.439216
8484
0.294118 0.596078 0.580392
85-
0.301961 0.137255 0.05098
85+
0.301961 0.137255 0.05098
8686
0.380392 0.203922 0.360784
8787
0.517647 0. 0.811765
8888
0.545098 0. 0.192157
8989
0.623529 0.431373 0.196078
90-
0.67451 0.517647 0.6
90+
0.67451 0.517647 0.6
9191
0.776471 0.192157 0.537255
9292
0.007843 0.329412 0.219608
9393
0.031373 0.419608 0.517647
94-
0.529412 0.658824 0.92549
94+
0.529412 0.658824 0.92549
9595
0.392157 0.4 0.937255
9696
0.768627 0.364706 0.729412
9797
0.003922 0.623529 0.439216
98-
0.505882 0.317647 0.34902
99-
0.513725 0.435294 0.54902
98+
0.505882 0.317647 0.34902
99+
0.513725 0.435294 0.54902
100100
0.701961 0.752941 0.854902
101101
0.72549 0.568627 0.160784
102102
1. 0.592157 0.698039
103103
0.654902 0.576471 0.882353
104104
0.411765 0.552941 0.745098
105105
0.298039 0.313725 0.003922
106-
0.282353 0.007843 0.8
106+
0.282353 0.007843 0.8
107107
0.380392 0. 0.431373
108-
0.270588 0.415686 0.4
108+
0.270588 0.415686 0.4
109109
0.615686 0.341176 0.262745
110110
0.482353 0.67451 0.709804
111111
0.803922 0.517647 0.741176
112112
0. 0.329412 0.756863
113113
0.482353 0.184314 0.309804
114-
0.984314 0.486275 0.
115-
0.203922 0.752941 0.
114+
0.984314 0.486275 0.
115+
0.203922 0.752941 0.
116116
1. 0.611765 0.533333
117117
0.882353 0.717647 0.411765
118118
0.32549 0.380392 0.466667
@@ -123,106 +123,106 @@
123123
0.768627 0.466667 0.313725
124124
0.819608 0.282353 0.407843
125125
0.431373 0. 0.921569
126-
0.121569 0.203922 0.
126+
0.121569 0.203922 0.
127127
0.756863 0.254902 0.015686
128128
0.427451 0.835294 0.760784
129129
0.27451 0.439216 0.623529
130130
0.635294 0.003922 0.768627
131131
0.039216 0.509804 0.537255
132132
0.686275 0.65098 0.003922
133133
0.65098 0.360784 0.419608
134-
0.996078 0.466667 1.
134+
0.996078 0.466667 1.
135135
0.545098 0.521569 0.682353
136136
0.780392 0.498039 0.913725
137137
0.603922 0.670588 0.521569
138-
0.529412 0.423529 0.85098
138+
0.529412 0.423529 0.85098
139139
0.003922 0.729412 0.968627
140140
0.686275 0.368627 0.823529
141141
0.34902 0.317647 0.168627
142142
0.713725 0. 0.372549
143143
0.486275 0.713725 0.415686
144-
0.286275 0.521569 1.
144+
0.286275 0.521569 1.
145145
0. 0.760784 0.509804
146146
0.823529 0.584314 0.670588
147147
0.639216 0.294118 0.658824
148148
0.890196 0.023529 0.890196
149-
0.086275 0.639216 0.
150-
0.223529 0.180392 0.
151-
0.517647 0.188235 0.2
149+
0.086275 0.639216 0.
150+
0.223529 0.180392 0.
151+
0.517647 0.188235 0.2
152152
0.368627 0.584314 0.666667
153-
0.352941 0.062745 0.
154-
0.482353 0.27451 0.
153+
0.352941 0.062745 0.
154+
0.482353 0.27451 0.
155155
0.435294 0.435294 0.192157
156-
0.2 0.345098 0.14902
156+
0.2 0.345098 0.14902
157157
0.301961 0.376471 0.713725
158158
0.635294 0.584314 0.392157
159159
0.384314 0.25098 0.156863
160160
0.270588 0.831373 0.345098
161161
0.439216 0.666667 0.815686
162162
0.180392 0.419608 0.305882
163163
0.45098 0.686275 0.619608
164-
0.992157 0.082353 0.
164+
0.992157 0.082353 0.
165165
0.847059 0.705882 0.572549
166166
0.478431 0.537255 0.231373
167-
0.490196 0.776471 0.85098
167+
0.490196 0.776471 0.85098
168168
0.862745 0.568627 0.215686
169169
0.92549 0.380392 0.368627
170170
0.92549 0.372549 0.831373
171171
0.898039 0.482353 0.654902
172172
0.65098 0.423529 0.596078
173173
0. 0.592157 0.266667
174174
0.729412 0.372549 0.133333
175-
0.737255 0.678431 0.32549
175+
0.737255 0.678431 0.32549
176176
0.533333 0.847059 0.188235
177-
0.529412 0.207843 0.45098
177+
0.529412 0.207843 0.45098
178178
0.682353 0.658824 0.823529
179179
0.890196 0.54902 0.388235
180-
0.819608 0.694118 0.92549
180+
0.819608 0.694118 0.92549
181181
0.215686 0.258824 0.623529
182182
0.227451 0.745098 0.760784
183183
0.4 0.615686 0.301961
184-
0.619608 0.011765 0.6
184+
0.619608 0.011765 0.6
185185
0.305882 0.305882 0.478431
186-
0.482353 0.298039 0.52549
186+
0.482353 0.298039 0.52549
187187
0.764706 0.207843 0.192157
188188
0.552941 0.4 0.466667
189189
0.666667 0. 0.176471
190190
0.498039 0.003922 0.458824
191191
0.003922 0.509804 0.301961
192192
0.45098 0.290196 0.403922
193193
0.447059 0.466667 0.568627
194-
0.431373 0. 0.6
194+
0.431373 0. 0.6
195195
0.627451 0.729412 0.321569
196196
0.882353 0.431373 0.192157
197197
0.772549 0.415686 0.443137
198198
0.427451 0.356863 0.588235
199199
0.639216 0.235294 0.454902
200-
0.196078 0.384314 0.
200+
0.196078 0.384314 0.
201201
0.533333 0. 0.313725
202202
0.2 0.345098 0.411765
203203
0.729412 0.552941 0.486275
204-
0.098039 0.34902 1.
204+
0.098039 0.34902 1.
205205
0.568627 0.572549 0.007843
206206
0.172549 0.545098 0.835294
207-
0.090196 0.14902 1.
208-
0.129412 0.827451 1.
207+
0.090196 0.14902 1.
208+
0.129412 0.827451 1.
209209
0.643137 0.564706 0.686275
210210
0.545098 0.427451 0.309804
211211
0.368627 0.129412 0.243137
212212
0.862745 0.011765 0.701961
213213
0.435294 0.341176 0.792157
214214
0.396078 0.156863 0.129412
215-
0.678431 0.466667 0.
215+
0.678431 0.466667 0.
216216
0.639216 0.74902 0.968627
217-
0.709804 0.517647 0.27451
217+
0.709804 0.517647 0.27451
218218
0.592157 0.219608 0.862745
219219
0.698039 0.317647 0.580392
220220
0.447059 0.258824 0.639216
221221
0.529412 0.560784 0.819608
222222
0.541176 0.439216 0.694118
223223
0.419608 0.686275 0.211765
224224
0.352941 0.478431 0.788235
225-
0.780392 0.623529 1.
225+
0.780392 0.623529 1.
226226
0.337255 0.517647 0.101961
227227
0. 0.839216 0.654902
228228
0.509804 0.278431 0.223529
@@ -235,13 +235,13 @@
235235
0.729412 0.572549 0.811765
236236
0.203922 0.345098 0.301961
237237
0.972549 0.501961 0.490196
238-
0.568627 0.203922 0.
239-
0.701961 0.803922 0.
238+
0.568627 0.203922 0.
239+
0.701961 0.803922 0.
240240
0.180392 0.623529 0.827451
241241
0.47451 0.545098 0.623529
242242
0.317647 0.505882 0.490196
243243
0.756863 0.211765 0.843137
244-
0.92549 0.019608 0.32549
244+
0.92549 0.019608 0.32549
245245
0.72549 0.67451 0.494118
246246
0.282353 0.439216 0.196078
247247
0.517647 0.584314 0.396078

0 commit comments

Comments
 (0)