diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 2bf8cef1e5eecef13b22bf776f30fc1c7918014a..7693c17927973b1eb10371f582ec44868d634461 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -2,7 +2,6 @@ image: python:3.11-bullseye stages: - build - - format - test-jobs - test-tasks @@ -21,23 +20,11 @@ build-env: - cd build/ - poetry config virtualenvs.in-project true - poetry install --no-root - - poetry run pip install poetry + # - poetry run pip install poetry artifacts: paths: - $POETRY_CACHE_DIR/virtualenvs/ -format: - stage: format - script: - - export VIRTUALENV_NAME=$(ls $POETRY_CACHE_DIR/virtualenvs) - - echo $VIRTUALENV_NAME - - source $POETRY_CACHE_DIR/virtualenvs/$VIRTUALENV_NAME/bin/activate - - which poetry # Check if poetry is in the PATH - - poetry run pre-commit install - - poetry run yapf -i -r -p . - - poetry run ruff . - - poetry run ruff . --fix - test-jobs: stage: test-jobs script: diff --git a/build/pyproject.toml b/build/pyproject.toml index 1126f1a56c7b09d7c4830a829e55eb264756f52c..1404e08e3e97579f346dcf6ac0e249e656da72dc 100644 --- a/build/pyproject.toml +++ b/build/pyproject.toml @@ -9,8 +9,6 @@ readme = "README.md" python = ">=3.10" numpy = "~1.24" pytest = "^7.4.4" -pre-commit = "^3.3.1" - [build-system] requires = ["poetry-core"]