mirror of
https://github.com/sezanzeb/input-remapper
synced 2024-11-02 15:40:19 +00:00
freed /data of stuff that is only github relevant
This commit is contained in:
parent
d3b971414a
commit
90b6f51d84
@ -2,10 +2,10 @@
|
|||||||
|
|
||||||
<p align="center"><i>A Linux tool to change the mapping of your input device buttons.</i></p>
|
<p align="center"><i>A Linux tool to change the mapping of your input device buttons.</i></p>
|
||||||
|
|
||||||
<p align="center"><img src="data/pylint.svg"/> <img src="data/coverage.svg"/></p>
|
<p align="center"><img src="readme/pylint.svg"/> <img src="readme/coverage.svg"/></p>
|
||||||
|
|
||||||
<p align="center">
|
<p align="center">
|
||||||
<img src="data/screenshot.png"/>
|
<img src="readme/screenshot.png"/>
|
||||||
</p>
|
</p>
|
||||||
<br/>
|
<br/>
|
||||||
|
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
coverage_badge() {
|
coverage_badge() {
|
||||||
# https://github.com/dbrgn/coverage-badge
|
# https://github.com/dbrgn/coverage-badge
|
||||||
coverage run --branch --source=/usr/lib/python3.8/site-packages/keymapper tests/test.py
|
coverage run --branch --source=/usr/lib/python3.8/site-packages/keymapper tests/test.py
|
||||||
python3 -m coverage_badge > data/coverage.svg
|
python3 -m coverage_badge > readme/coverage.svg
|
||||||
echo "coverage badge created"
|
echo "coverage badge created"
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -11,8 +11,8 @@ pylint_badge() {
|
|||||||
# https://github.com/jongracecox/anybadge
|
# https://github.com/jongracecox/anybadge
|
||||||
pylint_output=$(pylint keymapper --extension-pkg-whitelist=evdev)
|
pylint_output=$(pylint keymapper --extension-pkg-whitelist=evdev)
|
||||||
rating=$(echo $pylint_output | grep -Po "rated at .+?/" | grep -Po "\d+.\d+")
|
rating=$(echo $pylint_output | grep -Po "rated at .+?/" | grep -Po "\d+.\d+")
|
||||||
rm data/pylint.svg
|
rm readme/pylint.svg
|
||||||
anybadge -l pylint -v $rating -f data/pylint.svg pylint
|
anybadge -l pylint -v $rating -f readme/pylint.svg pylint
|
||||||
echo "pylint badge created"
|
echo "pylint badge created"
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -20,4 +20,4 @@ pylint_badge &
|
|||||||
coverage_badge &
|
coverage_badge &
|
||||||
|
|
||||||
# wait for all badges to be created
|
# wait for all badges to be created
|
||||||
wait
|
wait
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
<g fill="#fff" text-anchor="middle" font-family="DejaVu Sans,Verdana,Geneva,sans-serif" font-size="11">
|
<g fill="#fff" text-anchor="middle" font-family="DejaVu Sans,Verdana,Geneva,sans-serif" font-size="11">
|
||||||
<text x="31.5" y="15" fill="#010101" fill-opacity=".3">coverage</text>
|
<text x="31.5" y="15" fill="#010101" fill-opacity=".3">coverage</text>
|
||||||
<text x="31.5" y="14">coverage</text>
|
<text x="31.5" y="14">coverage</text>
|
||||||
<text x="80" y="15" fill="#010101" fill-opacity=".3">83%</text>
|
<text x="80" y="15" fill="#010101" fill-opacity=".3">85%</text>
|
||||||
<text x="80" y="14">83%</text>
|
<text x="80" y="14">85%</text>
|
||||||
</g>
|
</g>
|
||||||
</svg>
|
</svg>
|
Before Width: | Height: | Size: 904 B After Width: | Height: | Size: 904 B |
Before Width: | Height: | Size: 1.0 KiB After Width: | Height: | Size: 1.0 KiB |
Before Width: | Height: | Size: 28 KiB After Width: | Height: | Size: 28 KiB |
Loading…
Reference in New Issue
Block a user