From 9cfacb98984f7aba499b6e75824e7484148b1aaa Mon Sep 17 00:00:00 2001 From: gregorni Date: Wed, 13 Dec 2023 01:36:18 +0000 Subject: [PATCH] Apply isort and black formatting everywhere --- .gitlab-ci.yml | 6 +++--- justfile | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 6a33444..bcac278 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -6,9 +6,9 @@ build: image: registry.gitlab.gnome.org/jwestman/blueprint-compiler stage: build script: - - black --check --diff blueprintcompiler tests - - isort --check --diff --profile black blueprintcompiler tests - - mypy --python-version=3.9 blueprintcompiler + - black --check --diff ./ tests + - isort --check --diff --profile black ./ tests + - mypy --python-version=3.9 blueprintcompiler/ - G_DEBUG=fatal-warnings xvfb-run coverage run -m unittest - coverage report - coverage html diff --git a/justfile b/justfile index 5c956db..37d85b5 100644 --- a/justfile +++ b/justfile @@ -2,11 +2,11 @@ default: black isort # Format with black formatter black: - black blueprintcompiler/ + black ./ # Sort imports using isort isort: - isort blueprintcompiler/ --profile black + isort ./ --profile black # Run all tests