Add isort pre-commit hook

Sort import statement in python files

See https://github.com/PyCQA/isort
This commit is contained in:
jo 2021-06-03 15:20:39 +02:00
parent b75d9e5c59
commit 01fbd1e8b9
75 changed files with 282 additions and 232 deletions

View file

@ -1,11 +1,10 @@
import subprocess
import getopt
import grp
import os
import pwd
import grp
import subprocess
import sys
import getopt
"""
we need to run the program as non-root because Liquidsoap refuses to run as root.
It is possible to run change the effective user id (seteuid) before calling Liquidsoap