Skip to content

Commit

Permalink
links auto replaced
Browse files Browse the repository at this point in the history
  • Loading branch information
Gunther Klessinger committed Feb 9, 2023
1 parent f2d35e0 commit 54fea4c
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 27 deletions.
2 changes: 1 addition & 1 deletion .README.tmpl.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---

author: gk
version: 20230210
version: 20230211

---

Expand Down
20 changes: 7 additions & 13 deletions .pip_up.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@ e.g. such a link can then be generated:
[mdtool.py]: https://github.com/axiros/pytest2md/blob/bf37bbb1302553d8732713b2ebfb415b27c0616c/pytest2md/mdtool.py
'
echo "Uploading to pip"
clean() {
rm -rf ./dist
rm -rf ./pytest2md.egg-info
rm -rf ./build
}

unset P2MRUN # would skip all others
unset P2MFG # would not write readme
Expand All @@ -17,6 +22,8 @@ set -x
here="$(unset CDPATH && cd "$(dirname "${BASH_SOURCE[0]}")" && echo "$PWD")"
cd "$here" || exit 1
#export NOLINKREPL=true
clean
rm -f README.md
pytest tests || exit 1
git commit --amend -am 'links auto replaced'
#unset NOLINKREPL
Expand All @@ -27,19 +34,6 @@ git commit --amend -am 'links auto replaced'
#mdtool set_links src_link_tmpl="github" md_file="README.md"
git push || exit 1

clean () {
rm -rf ./dist
rm -rf ./pytest2md.egg-info
rm -rf ./build
}
clean
python setup.py clean sdist bdist_wheel
twine upload ./dist/*








26 changes: 13 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---

author: gk
version: 20230210
version: 20230211

---

Expand Down Expand Up @@ -909,7 +909,7 @@ Calculating cur_hour
Calculating cur_q
Calculating (expensive) delta_q
Calculating dt_last_enforce
Calc.Time (delta_q was called twice): 0.2008
Calc.Time (delta_q was called twice): 0.2011
```


Expand Down Expand Up @@ -1559,15 +1559,15 @@ assert [m['i'] for m in r] == [3, 5, 1, 7, 9]
Output:

```
item 2: 0.010s
item 3: 0.021s
item 4: 0.031s
item 5: 0.042s
item 2: 0.011s
item 3: 0.022s
item 4: 0.033s
item 5: 0.044s
item 1: 0.049s <----- not in order, blocked
item 6: 0.053s
item 7: 0.065s
item 8: 0.076s
item 9: 0.087s
item 6: 0.055s
item 7: 0.066s
item 8: 0.077s
item 9: 0.089s
```

Finally asyncronous classification, i.e. evaluation of multiple conditions:
Expand Down Expand Up @@ -1683,6 +1683,6 @@ thread: Dummy-10066 blocking {'i': 7}


<!-- autogenlinks -->
[pycond.py#195]: https://github.com/axiros/pycond/blob/0939cb760189c631d39e211cb86782476bf5d5a9/pycond.py#L195
[pycond.py#517]: https://github.com/axiros/pycond/blob/0939cb760189c631d39e211cb86782476bf5d5a9/pycond.py#L517
[pycond.py#614]: https://github.com/axiros/pycond/blob/0939cb760189c631d39e211cb86782476bf5d5a9/pycond.py#L614
[pycond.py#195]: https://github.com/axiros/pycond/blob/f533b55599f417b02121caaf3d82facce4dc565c/pycond.py#L195
[pycond.py#517]: https://github.com/axiros/pycond/blob/f533b55599f417b02121caaf3d82facce4dc565c/pycond.py#L517
[pycond.py#614]: https://github.com/axiros/pycond/blob/f533b55599f417b02121caaf3d82facce4dc565c/pycond.py#L614

0 comments on commit 54fea4c

Please sign in to comment.