From e54308093623b6e07e484398079544fae3aff3ef Mon Sep 17 00:00:00 2001 From: Remy Prechelt <prechelt@hawaii.edu> Date: Sat, 3 Oct 2020 12:23:58 -1000 Subject: [PATCH] Do not modify imports when run under CI. --- .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index bc2df1b0c..fc3b71725 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -622,7 +622,7 @@ sanity: - cd ${CI_PROJECT_DIR}/Python # change into the Python directory - pip install --user -e '.[test]' # install the package + test deps - python -m mypy corsika - - python -m isort --atomic corsika tests + - python -m isort --atomic --check-only corsika tests - python -m black -t py37 corsika tests - python -m flake8 corsika tests - python -m pytest --cov=corsika tests -- GitLab