Skip to content

Commit 5d2b6f2

Browse files
committed
Use templatized lint in CI
1 parent da1f6c5 commit 5d2b6f2

1 file changed

Lines changed: 3 additions & 9 deletions

File tree

.gitlab-ci.yml

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,9 @@ variables:
77
EO_CONTAINER: $REGISTRY_GITLAB/eo-containers
88
EOREADER_CHANGES: eoreader/**/[^_]*.{py,xml}
99

10-
lint:
11-
image: python:3.10-buster
12-
stage: lint
13-
script:
14-
- python -m pip install --upgrade pip
15-
- pip install ruff
16-
- ruff format && ruff check
17-
except:
18-
- tags
10+
include:
11+
- project: 'sertit/groupware'
12+
file: '/ci_templates/lint_3_10.yaml'
1913

2014
# Test with data on local disk
2115
pytest:

0 commit comments

Comments
 (0)