diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index c7020b02cfe561ff9ee66bb67806687d8a188399..74992440aef00193be6bda10cb23412e3f16b7f9 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -15,7 +15,7 @@ stages: - ls -l - pip install -U pip - pip --version - - pip install pytest black ruff pydocstyle + - pip install .[dev] - pytest --version - cat /etc/issue @@ -75,15 +75,7 @@ style: image: python:latest script: - *prepare_style - - black --version - - ruff --version - - pydocstyle --version - - ruff . - - black --check --diff . - - pydocstyle src/mpsd_software_manager/mpsd_software.py - - pydocstyle tests/test_mpsd_software.py - # we could also use `ruff --select D` for pycodestyle. But the behaviour is not exactly the same. - - src/mpsd_software_manager/mpsd_software.py --version + - pre-commit run --all-files test-bullseye: