File tree Expand file tree Collapse file tree 3 files changed +10
-0
lines changed Expand file tree Collapse file tree 3 files changed +10
-0
lines changed Original file line number Diff line number Diff line change 1
1
[bumpversion]
2
2
current_version = 3.4.2
3
3
4
+ [bumpversion:file:./check-matplotlib-version.py]
5
+ search = __version__ == ' {current_version}'
6
+ replace = __version__ == ' {new_version}'
7
+
4
8
[bumpversion:glob:./handout-*.tex]
5
9
search = Matplotlib {current_version}
6
10
replace = Matplotlib {new_version}
Original file line number Diff line number Diff line change @@ -35,6 +35,7 @@ handouts:
35
35
36
36
.PHONY : check
37
37
check :
38
+ ./check-matplotlib-version.py
38
39
./check-num-pages.sh cheatsheets.pdf 2
39
40
./check-num-pages.sh handout-tips.pdf 1
40
41
./check-num-pages.sh handout-beginner.pdf 1
Original file line number Diff line number Diff line change
1
+ #!/usr/bin/env python
2
+ import matplotlib as mpl
3
+
4
+
5
+ assert mpl .__version__ == '3.4.2'
You can’t perform that action at this time.
0 commit comments