Fix yaml files codestyle

This commit is contained in:
Ayaz Salikhov
2020-06-13 20:24:39 +02:00
parent c094bb7219
commit cf0212611f
6 changed files with 36 additions and 29 deletions

View File

@@ -1,3 +1,4 @@
---
ignored: ignored:
- DL3006 - DL3006
- DL3008 - DL3008

View File

@@ -1,3 +1,4 @@
---
# .readthedocs.yml # .readthedocs.yml
# Read the Docs configuration file # Read the Docs configuration file
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details # See https://docs.readthedocs.io/en/stable/config-file/v2.html for details

View File

@@ -1,46 +1,48 @@
---
dist: bionic dist: bionic
language: python language: python
python: python:
- 3.7 - 3.7
sudo: required sudo: required
services: services:
- docker - docker
jobs: jobs:
include: include:
- stage: diff-test - stage: diff-test
install: install:
- pip install --upgrade pip - pip install --upgrade pip
- make dev-env - make dev-env
- make lint-install - make lint-install
script: script:
- set -e - set -e
- if [ $(make n-docs-diff) -ne 0 ]; then make docs; fi; - if [ $(make n-docs-diff) -ne 0 ]; then make docs; fi;
- if [ $(make n-other-diff) -ne 0 ]; then make lint-build-test-all DARGS="--build-arg TEST_ONLY_BUILD=1"; fi; - if [ $(make n-other-diff) -ne 0 ]; then make lint-build-test-all DARGS="--build-arg TEST_ONLY_BUILD=1"; fi;
- stage: push-tx - stage: push-tx
install: install:
- pip install --upgrade pip - pip install --upgrade pip
- make dev-env - make dev-env
script: script:
- if [ $(make n-docs-diff DIFF_RANGE=$TRAVIS_COMMIT_RANGE) -ne 0 ]; then make tx-en; fi; - if [ $(make n-docs-diff DIFF_RANGE=$TRAVIS_COMMIT_RANGE) -ne 0 ]; then make tx-en; fi;
- stage: full-test - stage: full-test
install: install:
- pip install --upgrade pip - pip install --upgrade pip
- make dev-env - make dev-env
- make lint-install - make lint-install
script: script:
- set -e - set -e
- make docs - make docs
- make lint-build-test-all DARGS="--build-arg TEST_ONLY_BUILD=1" - make lint-build-test-all DARGS="--build-arg TEST_ONLY_BUILD=1"
stages: stages:
- name: diff-test - name: diff-test
if: type = pull_request if: type = pull_request
- name: push-tx - name: push-tx
if: type = push AND branch = master if: type = push AND branch = master
- name: full-test - name: full-test
if: type = cron AND branch = master if: type = cron AND branch = master
env: env:
global: global:
# yamllint disable-line
secure: JDQKgB1laaenzmEGI9gduwK/iS0030qsl62njJg3jib0R8wxBi2OeetEdoGl9m4NFsqqnp0OO7nm4rzGfuwjL1A38flSlXOTxhjm/hvo3vmnqVu5lDcdk9+IRkafnfd3Dyd86tLxRVETOqZwCLmdNkB2fmQII8du5IIqbJuUGp8DrG7kVMf3NBr9rjkZRfByQrgG4s1NXuT61VvpWMPJAOhcrImuHBheVJDEV0U3n6Xavd7Wo+pAHrHU8exvYTZ1IzZMbHc6K0iC/NpCHcH9+9DAeLDk/q1aDNqbTExnQevOHZzNqgHC2qFOlN4jfy/TLYLpLXtUismneBBqVSK3iZso3Vqy2BRXWgouI+Tt+08ffocy9XPwEzSwkgPgDlFVUikPOy5imwjpDb13RMIyMY4CKlSOdQx2rH2kPkZ0MJJPcki3KGuGl3qRvqyblMn+lZvjAu6WVLZfo7EtcxsQ0ZZxbAbGoUVl27FHg+UvIfC0I3wEcZIp7oED47Q8s0MdCijD3AwkRPvx/iyp3J0A42su7kkOooFcmUItEIqegQJ4Aki1FBv2i5vHmBobClktytZceLsKvzCeLjMpL9HcUVfUaJDKRwtUYIozpYeBnac+E6J1s6glcqLrXIHWez8N6SzokBa6SPqdtODdzzk5OJupByub6CYWsRXvxIQ7/wI= secure: JDQKgB1laaenzmEGI9gduwK/iS0030qsl62njJg3jib0R8wxBi2OeetEdoGl9m4NFsqqnp0OO7nm4rzGfuwjL1A38flSlXOTxhjm/hvo3vmnqVu5lDcdk9+IRkafnfd3Dyd86tLxRVETOqZwCLmdNkB2fmQII8du5IIqbJuUGp8DrG7kVMf3NBr9rjkZRfByQrgG4s1NXuT61VvpWMPJAOhcrImuHBheVJDEV0U3n6Xavd7Wo+pAHrHU8exvYTZ1IzZMbHc6K0iC/NpCHcH9+9DAeLDk/q1aDNqbTExnQevOHZzNqgHC2qFOlN4jfy/TLYLpLXtUismneBBqVSK3iZso3Vqy2BRXWgouI+Tt+08ffocy9XPwEzSwkgPgDlFVUikPOy5imwjpDb13RMIyMY4CKlSOdQx2rH2kPkZ0MJJPcki3KGuGl3qRvqyblMn+lZvjAu6WVLZfo7EtcxsQ0ZZxbAbGoUVl27FHg+UvIfC0I3wEcZIp7oED47Q8s0MdCijD3AwkRPvx/iyp3J0A42su7kkOooFcmUItEIqegQJ4Aki1FBv2i5vHmBobClktytZceLsKvzCeLjMpL9HcUVfUaJDKRwtUYIozpYeBnac+E6J1s6glcqLrXIHWez8N6SzokBa6SPqdtODdzzk5OJupByub6CYWsRXvxIQ7/wI=

View File

@@ -1,3 +1,4 @@
---
# Copyright (c) Jupyter Development Team. # Copyright (c) Jupyter Development Team.
# Distributed under the terms of the Modified BSD License. # Distributed under the terms of the Modified BSD License.
@@ -9,8 +10,8 @@ services:
image: my-notebook image: my-notebook
container_name: ${NAME} container_name: ${NAME}
volumes: volumes:
- "work:/home/jovyan/work" - "work:/home/jovyan/work"
- "secrets:/etc/letsencrypt" - "secrets:/etc/letsencrypt"
ports: ports:
- "${PORT}:8888" - "${PORT}:8888"
environment: environment:

View File

@@ -1,3 +1,4 @@
---
# Copyright (c) Jupyter Development Team. # Copyright (c) Jupyter Development Team.
# Distributed under the terms of the Modified BSD License. # Distributed under the terms of the Modified BSD License.
@@ -9,7 +10,7 @@ services:
image: my-notebook image: my-notebook
container_name: ${NAME} container_name: ${NAME}
volumes: volumes:
- "work:/home/jovyan/work" - "work:/home/jovyan/work"
ports: ports:
- "${PORT}:8888" - "${PORT}:8888"

View File

@@ -1,3 +1,4 @@
---
# Copyright (c) Jupyter Development Team. # Copyright (c) Jupyter Development Team.
# Distributed under the terms of the Modified BSD License. # Distributed under the terms of the Modified BSD License.
@@ -9,7 +10,7 @@ services:
image: my-notebook image: my-notebook
container_name: ${NAME} container_name: ${NAME}
volumes: volumes:
- "work:/home/jovyan/work" - "work:/home/jovyan/work"
ports: ports:
- "${PORT}:8888" - "${PORT}:8888"
environment: environment: