Skip to content
Snippets Groups Projects
Commit 30d754f0 authored by Prada Sarasola, Miguel's avatar Prada Sarasola, Miguel
Browse files

Fix errors in python auto-rules logic

parent b713a597
No related branches found
No related tags found
1 merge request!80Resolve "python_syntax is python2 only"
Pipeline #137373 passed
......@@ -49,8 +49,7 @@ industrial_ci_humble:
- if: $DEFAULT_DISTRO == "humble"
- if: $BUILD_HUMBLE
py3_template:
extends: .py3_template
.py3_rules:
rules:
- if: $DEFAULT_DISTRO == "noetic"
when: always
......@@ -60,10 +59,23 @@ py3_template:
when: always
- if: $BUILD_HUMBLE
when: always
when: always
py2_template:
extends: .py2_template
py3-flake8:
extends:
- .py3_rules
- .py3-flake8
py3-flake8_extended:
extends:
- .py3_rules
- .py3-flake8_extended
py3-security:
extends:
- .py3_rules
- .py3-security
.py2_rules:
rules:
- if: $DEFAULT_DISTRO == "kinetic"
when: always
......@@ -74,6 +86,16 @@ py2_template:
- if: $BUILD_MELODIC
when: always
py2-flake8:
extends:
- .py2_rules
- .py2-flake8
py2-flake8_extended:
extends:
- .py2_rules
- .py2-flake8_extended
ddeploy:
extends: .ddeploy
rules:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment