Merge pull request #302 from YunoHost/actions/black

Format Python code with Black
This commit is contained in:
Alexandre Aubin 2021-09-21 00:18:10 +02:00 committed by GitHub
commit 8e3a52446a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -7,7 +7,13 @@ import subprocess
from setuptools import setup, find_packages
from moulinette import env
version = subprocess.check_output("head debian/changelog -n1 | awk '{print $2}' | tr -d '()'", shell=True).decode().strip()
version = (
subprocess.check_output(
"head debian/changelog -n1 | awk '{print $2}' | tr -d '()'", shell=True
)
.decode()
.strip()
)
LOCALES_DIR = env["LOCALES_DIR"]