-
Install Docker:
sudo pacman -S docker
-
Enable Docker systemctl unit:
This file contains hidden or 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
# usage: mypy . -output json | python baseline.py | |
import json | |
import re | |
import sys | |
def parse_mypy_output(output: str) -> None: | |
# Parse the mypy output | |
# We're interested in the following fields: | |
# - `path` - the file path |
This file contains hidden or 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
#!/bin/sh -e | |
# --root заставляет apk ставить пакеты под нужным префиксом | |
# Но при этом нужно восстановить его работоспособность: | |
# --initdb воссоздаёт бд | |
# --keys-dir и --repositories-file указывают куда смотреть и чем авторизовываться (логично) | |
apk --initdb \ | |
--root /build/ \ | |
--keys-dir /etc/apk/keys \ | |
--repositories-file /etc/apk/repositories \ | |
"$@" |
This file contains hidden or 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
websockets | 0.5335815649013966 | |
wsaccel | 17.214408515021205 | |
aiohttp | 0.7204610370099545 |