-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
9 changed files
with
139 additions
and
118 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# vim: set ft=bash ts=3 sw=3 expandtab: | ||
# Open a file in the platform-appropriate way | ||
|
||
# Use 'start' on Windows, and 'open' on MacOS and Debian (post-bullseye) | ||
|
||
command_openfile() { | ||
if [ $# != 1 ]; then | ||
echo "openfile <file>" | ||
exit 1 | ||
fi | ||
|
||
$(which start || which open) "$1" 2>/dev/null | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
# vim: set ft=bash ts=3 sw=3 expandtab: | ||
# Call sed in a platform-portable way to replace a string in-place | ||
|
||
# Annoyingly, GNU sed and BSD sed are not compatible on the syntax for -i. | ||
|
||
command_sedreplace() { | ||
local replace_expr file | ||
|
||
if [ $# != 2 ]; then | ||
echo "sedreplace <replace-expr> <file>" | ||
exit 1 | ||
fi | ||
|
||
replace_expr="$1" | ||
file="$2" | ||
|
||
sed --version 2>&1 | grep -iq "GNU sed" | ||
if [ $? == 0 ]; then | ||
# GNU sed accepts a bare -i and assumes no backup file | ||
sed -i -E "$replace_expr" "$file" | ||
else | ||
# BSD sed requires you to set an empty backup file extension | ||
sed -i "" -E "$replace_expr" "$file" | ||
fi | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,70 +1,70 @@ | ||
alabaster==0.7.12 ; python_full_version >= "3.7.2" and python_version < "4" | ||
astroid==2.12.12 ; python_full_version >= "3.7.2" and python_version < "4" | ||
attrs==21.4.0 ; python_full_version >= "3.7.2" and python_version < "4" | ||
babel==2.10.3 ; python_full_version >= "3.7.2" and python_version < "4" | ||
black==22.10.0 ; python_full_version >= "3.7.2" and python_version < "4" | ||
cattrs==22.2.0 ; python_full_version >= "3.7.2" and python_version < "4" | ||
certifi==2022.9.24 ; python_full_version >= "3.7.2" and python_version < "4" | ||
cfgv==3.3.1 ; python_full_version >= "3.7.2" and python_version < "4" | ||
charset-normalizer==2.1.1 ; python_full_version >= "3.7.2" and python_version < "4" | ||
click==8.1.3 ; python_full_version >= "3.7.2" and python_version < "4" | ||
colorama==0.4.5 ; python_full_version >= "3.7.2" and python_version < "4" | ||
coverage==6.5.0 ; python_full_version >= "3.7.2" and python_version < "4" | ||
coveralls==3.3.1 ; python_full_version >= "3.7.2" and python_version < "4" | ||
dill==0.3.5.1 ; python_full_version >= "3.7.2" and python_version < "4" | ||
distlib==0.3.6 ; python_full_version >= "3.7.2" and python_version < "4" | ||
docopt==0.6.2 ; python_full_version >= "3.7.2" and python_version < "4" | ||
docutils==0.17.1 ; python_full_version >= "3.7.2" and python_version < "4" | ||
exceptiongroup==1.0.0rc9 ; python_full_version >= "3.7.2" and python_version < "3.11" | ||
filelock==3.8.0 ; python_full_version >= "3.7.2" and python_version < "4" | ||
identify==2.5.6 ; python_full_version >= "3.7.2" and python_version < "4" | ||
idna==3.4 ; python_full_version >= "3.7.2" and python_version < "4" | ||
imagesize==1.4.1 ; python_full_version >= "3.7.2" and python_version < "4" | ||
importlib-metadata==5.0.0 ; python_full_version >= "3.7.2" and python_version < "3.10" | ||
iniconfig==1.1.1 ; python_full_version >= "3.7.2" and python_version < "4" | ||
isort==5.10.1 ; python_full_version >= "3.7.2" and python_version < "4.0" | ||
jinja2==3.1.2 ; python_full_version >= "3.7.2" and python_version < "4" | ||
lazy-object-proxy==1.7.1 ; python_full_version >= "3.7.2" and python_version < "4" | ||
markupsafe==2.1.1 ; python_full_version >= "3.7.2" and python_version < "4" | ||
mccabe==0.7.0 ; python_full_version >= "3.7.2" and python_version < "4" | ||
mypy-extensions==0.4.3 ; python_full_version >= "3.7.2" and python_version < "4" | ||
mypy==0.950 ; python_full_version >= "3.7.2" and python_version < "4" | ||
nodeenv==1.7.0 ; python_full_version >= "3.7.2" and python_version < "4" | ||
packaging==21.3 ; python_full_version >= "3.7.2" and python_version < "4" | ||
pathspec==0.10.1 ; python_full_version >= "3.7.2" and python_version < "4" | ||
pendulum==2.1.2 ; python_full_version >= "3.7.2" and python_version < "4" | ||
platformdirs==2.5.2 ; python_full_version >= "3.7.2" and python_version < "4" | ||
pluggy==1.0.0 ; python_full_version >= "3.7.2" and python_version < "4" | ||
pre-commit==2.20.0 ; python_full_version >= "3.7.2" and python_version < "4" | ||
py==1.11.0 ; python_full_version >= "3.7.2" and python_version < "4" | ||
pygments==2.13.0 ; python_full_version >= "3.7.2" and python_version < "4" | ||
pylint==2.15.5 ; python_full_version >= "3.7.2" and python_version < "4" | ||
pyparsing==3.0.9 ; python_full_version >= "3.7.2" and python_version < "4" | ||
pytest-testdox==3.0.1 ; python_full_version >= "3.7.2" and python_version < "4" | ||
pytest==7.1.3 ; python_full_version >= "3.7.2" and python_version < "4" | ||
python-dateutil==2.8.2 ; python_full_version >= "3.7.2" and python_version < "4" | ||
pytz==2022.5 ; python_full_version >= "3.7.2" and python_version < "4" | ||
pytzdata==2020.1 ; python_full_version >= "3.7.2" and python_version < "4" | ||
pyyaml==6.0 ; python_full_version >= "3.7.2" and python_version < "4" | ||
requests==2.28.1 ; python_full_version >= "3.7.2" and python_version < "4" | ||
setuptools==65.5.0 ; python_full_version >= "3.7.2" and python_version < "4" | ||
six==1.16.0 ; python_full_version >= "3.7.2" and python_version < "4" | ||
snowballstemmer==2.2.0 ; python_full_version >= "3.7.2" and python_version < "4" | ||
sphinx-autoapi==1.9.0 ; python_full_version >= "3.7.2" and python_version < "4" | ||
sphinx==4.5.0 ; python_full_version >= "3.7.2" and python_version < "4" | ||
sphinxcontrib-applehelp==1.0.2 ; python_full_version >= "3.7.2" and python_version < "4" | ||
sphinxcontrib-devhelp==1.0.2 ; python_full_version >= "3.7.2" and python_version < "4" | ||
sphinxcontrib-htmlhelp==2.0.0 ; python_full_version >= "3.7.2" and python_version < "4" | ||
sphinxcontrib-jsmath==1.0.1 ; python_full_version >= "3.7.2" and python_version < "4" | ||
sphinxcontrib-qthelp==1.0.3 ; python_full_version >= "3.7.2" and python_version < "4" | ||
sphinxcontrib-serializinghtml==1.1.5 ; python_full_version >= "3.7.2" and python_version < "4" | ||
toml==0.10.2 ; python_full_version >= "3.7.2" and python_version < "4" | ||
tomli==2.0.1 ; python_full_version >= "3.7.2" and python_version < "4" | ||
tomlkit==0.11.5 ; python_full_version >= "3.7.2" and python_version < "4.0" | ||
typed-ast==1.5.4 ; python_full_version >= "3.7.2" and python_version < "3.8" | ||
typing-extensions==4.4.0 ; python_full_version >= "3.7.2" and python_version < "4" | ||
unidecode==1.3.6 ; python_full_version >= "3.7.2" and python_version < "4" | ||
urllib3==1.26.12 ; python_full_version >= "3.7.2" and python_version < "4" | ||
virtualenv==20.16.5 ; python_full_version >= "3.7.2" and python_version < "4" | ||
wrapt==1.14.1 ; python_full_version >= "3.7.2" and python_version < "4" | ||
zipp==3.9.0 ; python_full_version >= "3.7.2" and python_version < "3.10" | ||
alabaster==0.7.12 ; python_version >= "3.7" and python_version < "4" | ||
astroid==2.12.12 ; python_version >= "3.7" and python_version < "4" | ||
attrs==21.4.0 ; python_version >= "3.7" and python_version < "4" | ||
babel==2.10.3 ; python_version >= "3.7" and python_version < "4" | ||
black==22.10.0 ; python_version >= "3.7" and python_version < "4" | ||
cattrs==22.2.0 ; python_version >= "3.7" and python_version < "4" | ||
certifi==2022.9.24 ; python_version >= "3.7" and python_version < "4" | ||
cfgv==3.3.1 ; python_version >= "3.7" and python_version < "4" | ||
charset-normalizer==2.1.1 ; python_version >= "3.7" and python_version < "4" | ||
click==8.1.3 ; python_version >= "3.7" and python_version < "4" | ||
colorama==0.4.5 ; python_version >= "3.7" and python_version < "4" | ||
coverage==6.5.0 ; python_version >= "3.7" and python_version < "4" | ||
coveralls==3.3.1 ; python_version >= "3.7" and python_version < "4" | ||
dill==0.3.5.1 ; python_version >= "3.7" and python_version < "4" | ||
distlib==0.3.6 ; python_version >= "3.7" and python_version < "4" | ||
docopt==0.6.2 ; python_version >= "3.7" and python_version < "4" | ||
docutils==0.17.1 ; python_version >= "3.7" and python_version < "4" | ||
exceptiongroup==1.0.0rc9 ; python_version >= "3.7" and python_version < "3.11" | ||
filelock==3.8.0 ; python_version >= "3.7" and python_version < "4" | ||
identify==2.5.6 ; python_version >= "3.7" and python_version < "4" | ||
idna==3.4 ; python_version >= "3.7" and python_version < "4" | ||
imagesize==1.4.1 ; python_version >= "3.7" and python_version < "4" | ||
importlib-metadata==5.0.0 ; python_version >= "3.7" and python_version < "3.10" | ||
iniconfig==1.1.1 ; python_version >= "3.7" and python_version < "4" | ||
isort==5.10.1 ; python_version >= "3.7" and python_version < "4.0" | ||
jinja2==3.1.2 ; python_version >= "3.7" and python_version < "4" | ||
lazy-object-proxy==1.7.1 ; python_version >= "3.7" and python_version < "4" | ||
markupsafe==2.1.1 ; python_version >= "3.7" and python_version < "4" | ||
mccabe==0.7.0 ; python_version >= "3.7" and python_version < "4" | ||
mypy-extensions==0.4.3 ; python_version >= "3.7" and python_version < "4" | ||
mypy==0.950 ; python_version >= "3.7" and python_version < "4" | ||
nodeenv==1.7.0 ; python_version >= "3.7" and python_version < "4" | ||
packaging==21.3 ; python_version >= "3.7" and python_version < "4" | ||
pathspec==0.10.1 ; python_version >= "3.7" and python_version < "4" | ||
pendulum==2.1.2 ; python_version >= "3.7" and python_version < "4" | ||
platformdirs==2.5.2 ; python_version >= "3.7" and python_version < "4" | ||
pluggy==1.0.0 ; python_version >= "3.7" and python_version < "4" | ||
pre-commit==2.20.0 ; python_version >= "3.7" and python_version < "4" | ||
py==1.11.0 ; python_version >= "3.7" and python_version < "4" | ||
pygments==2.13.0 ; python_version >= "3.7" and python_version < "4" | ||
pylint==2.15.5 ; python_version >= "3.7" and python_version < "4" | ||
pyparsing==3.0.9 ; python_version >= "3.7" and python_version < "4" | ||
pytest-testdox==3.0.1 ; python_version >= "3.7" and python_version < "4" | ||
pytest==7.1.3 ; python_version >= "3.7" and python_version < "4" | ||
python-dateutil==2.8.2 ; python_version >= "3.7" and python_version < "4" | ||
pytz==2022.5 ; python_version >= "3.7" and python_version < "4" | ||
pytzdata==2020.1 ; python_version >= "3.7" and python_version < "4" | ||
pyyaml==6.0 ; python_version >= "3.7" and python_version < "4" | ||
requests==2.28.1 ; python_version >= "3.7" and python_version < "4" | ||
setuptools==65.5.0 ; python_version >= "3.7" and python_version < "4" | ||
six==1.16.0 ; python_version >= "3.7" and python_version < "4" | ||
snowballstemmer==2.2.0 ; python_version >= "3.7" and python_version < "4" | ||
sphinx-autoapi==1.9.0 ; python_version >= "3.7" and python_version < "4" | ||
sphinx==4.5.0 ; python_version >= "3.7" and python_version < "4" | ||
sphinxcontrib-applehelp==1.0.2 ; python_version >= "3.7" and python_version < "4" | ||
sphinxcontrib-devhelp==1.0.2 ; python_version >= "3.7" and python_version < "4" | ||
sphinxcontrib-htmlhelp==2.0.0 ; python_version >= "3.7" and python_version < "4" | ||
sphinxcontrib-jsmath==1.0.1 ; python_version >= "3.7" and python_version < "4" | ||
sphinxcontrib-qthelp==1.0.3 ; python_version >= "3.7" and python_version < "4" | ||
sphinxcontrib-serializinghtml==1.1.5 ; python_version >= "3.7" and python_version < "4" | ||
toml==0.10.2 ; python_version >= "3.7" and python_version < "4" | ||
tomli==2.0.1 ; python_version >= "3.7" and python_version < "4" | ||
tomlkit==0.11.5 ; python_version >= "3.7" and python_version < "4.0" | ||
typed-ast==1.5.4 ; python_version >= "3.7" and python_version < "3.8" | ||
typing-extensions==4.4.0 ; python_version >= "3.7" and python_version < "4" | ||
unidecode==1.3.6 ; python_version >= "3.7" and python_version < "4" | ||
urllib3==1.26.12 ; python_version >= "3.7" and python_version < "4" | ||
virtualenv==20.16.5 ; python_version >= "3.7" and python_version < "4" | ||
wrapt==1.14.1 ; python_version >= "3.7" and python_version < "4" | ||
zipp==3.9.0 ; python_version >= "3.7" and python_version < "3.10" |