Commit 3b361adf authored by Guilhem Saurel's avatar Guilhem Saurel
Browse files

has_python

parent e2300779
Pipeline #5234 passed with stage
in 14 minutes and 17 seconds
# Generated by Django 2.2 on 2019-08-13 12:14
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('rainboard', '0036_update_distros'),
]
operations = [
migrations.AddField(
model_name='project',
name='has_python',
field=models.BooleanField(default=True),
),
]
......@@ -195,6 +195,7 @@ class Project(Links, NamedModel, TimeStampedModel):
archived = models.BooleanField(default=False)
suffix = models.CharField(max_length=50, default='', blank=True)
allow_format_failure = models.BooleanField(default=True)
has_python = models.BooleanField(default=True)
def save(self, *args, **kwargs):
self.name = valid_name(self.name)
......
......@@ -58,5 +58,6 @@ format:
- test -f /builds/.clang-format || ln -s /root/.clang-format /builds
script:
- check-clang-format.sh
- flake8 .
{% if project.has_python %}- flake8 .
- yapf -dr .
{% endif %}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment