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