diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 4356fd0..adbdc6c 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -6,6 +6,7 @@ build: image: registry.gitlab.gnome.org/jwestman/blueprint-compiler stage: build script: + - black --check . - mypy blueprintcompiler - coverage run -m unittest - coverage html diff --git a/build-aux/Dockerfile b/build-aux/Dockerfile index c7c9786..6e30974 100644 --- a/build-aux/Dockerfile +++ b/build-aux/Dockerfile @@ -1,5 +1,5 @@ FROM fedora:latest RUN dnf install -y meson python3-pip gtk4-devel gobject-introspection-devel libadwaita-devel -RUN pip3 install furo mypy sphinx coverage +RUN pip3 install furo mypy sphinx coverage black RUN dnf install -y git