Skip to content
Snippets Groups Projects

Resolve "python_syntax is python2 only"

Merged Jon Azpiazu requested to merge 48-python_syntax-is-python2-only into master
1 file
+ 36
9
Compare changes
  • Side-by-side
  • Inline
@@ -20,18 +20,6 @@ clang_format:
CLANG_FORMAT_VERSION: "3.8"
when: always
##########################################################
## Simple check for basic Python syntax errors; this is much less thorough than
## other options like pylint, but much faster and less strict
##########################################################
python_syntax:
image: alpine:3.15 # python2 is no longer available in alpine:3.16
before_script:
- apk add --update python2
stage: build
script: python -m compileall -q .
when: always
##########################################################
## Check for errors in bash/sh scripts
## Uses https://github.com/koalaman/shellcheck
Loading