Skip to content

Commit a902cab

Browse files
committed
Fix yamllint errors
1 parent 9090b83 commit a902cab

File tree

5 files changed

+99
-94
lines changed

5 files changed

+99
-94
lines changed

.circleci/config.yml

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
---
12
version: 2
23
jobs:
34
build:

.github/workflows/python-release.yml

+15-14
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
---
12
name: Release to PyPi
23

34
on:
@@ -8,17 +9,17 @@ jobs:
89
release:
910
runs-on: ubuntu-latest
1011
steps:
11-
- uses: actions/checkout@v2
12-
- name: Set up Python 3.7
13-
uses: actions/setup-python@v1
14-
with:
15-
python-version: 3.7
16-
- name: Install build requirements
17-
run: python -m pip install wheel
18-
- name: Build package
19-
run: python setup.py sdist bdist_wheel
20-
- name: Publish package
21-
uses: pypa/gh-action-pypi-publish@master
22-
with:
23-
user: __token__
24-
password: ${{ secrets.pypi_password }}
12+
- uses: actions/checkout@v2
13+
- name: Set up Python 3.7
14+
uses: actions/setup-python@v1
15+
with:
16+
python-version: 3.7
17+
- name: Install build requirements
18+
run: python -m pip install wheel
19+
- name: Build package
20+
run: python setup.py sdist bdist_wheel
21+
- name: Publish package
22+
uses: pypa/gh-action-pypi-publish@master
23+
with:
24+
user: __token__
25+
password: ${{ secrets.pypi_password }}

.github/workflows/python-test.yml

+60-59
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
---
12
name: Python Tests
23

34
on: [push]
@@ -7,44 +8,44 @@ jobs:
78
format:
89
runs-on: ubuntu-latest
910
steps:
10-
- uses: actions/checkout@v2
11-
- name: Set up Python 3.7
12-
uses: actions/setup-python@v1
13-
with:
14-
python-version: 3.7
15-
- name: Install dependencies
16-
run: pip install tox
17-
- name: Validate formatting
18-
run: tox -e format
11+
- uses: actions/checkout@v2
12+
- name: Set up Python 3.7
13+
uses: actions/setup-python@v1
14+
with:
15+
python-version: 3.7
16+
- name: Install dependencies
17+
run: pip install tox
18+
- name: Validate formatting
19+
run: tox -e format
1920

2021
test:
2122
runs-on: ubuntu-latest
2223
strategy:
2324
max-parallel: 4
2425
matrix:
2526
tox_env:
26-
- py36-dj20-wt23
27-
- py36-dj21-wt24
28-
- py37-dj21-wt24
29-
- py36-dj22-wt25
30-
- py36-dj22-wt26
31-
- py36-dj22-wt27
32-
- py36-dj22-wt28
33-
- py37-dj22-wt25
34-
- py37-dj22-wt26
35-
- py37-dj22-wt27
36-
- py37-dj22-wt28
37-
- py38-dj22-wt25
38-
- py38-dj22-wt26
39-
- py38-dj22-wt27
40-
- py38-dj22-wt28
27+
- py36-dj20-wt23
28+
- py36-dj21-wt24
29+
- py37-dj21-wt24
30+
- py36-dj22-wt25
31+
- py36-dj22-wt26
32+
- py36-dj22-wt27
33+
- py36-dj22-wt28
34+
- py37-dj22-wt25
35+
- py37-dj22-wt26
36+
- py37-dj22-wt27
37+
- py37-dj22-wt28
38+
- py38-dj22-wt25
39+
- py38-dj22-wt26
40+
- py38-dj22-wt27
41+
- py38-dj22-wt28
4142
include:
4243
- python-version: 3.6
4344
tox_env: py36-dj20-wt23
4445
- python-version: 3.6
4546
tox_env: py36-dj21-wt24
4647
- python-version: 3.7
47-
tox_env: py37-dj21-wt24
48+
tox_env: py37-dj21-wt24
4849
- python-version: 3.6
4950
tox_env: py36-dj22-wt25
5051
- python-version: 3.6
@@ -70,42 +71,42 @@ jobs:
7071
- python-version: 3.8
7172
tox_env: py38-dj22-wt28
7273
steps:
73-
- uses: actions/checkout@v2
74-
- name: Set up Python ${{ matrix.python-version }}
75-
uses: actions/setup-python@v1
76-
with:
77-
python-version: ${{ matrix.python-version }}
78-
- name: Install dependencies
79-
run: |
80-
python -m pip install --upgrade pip
81-
pip install tox tox-gh-actions
82-
- name: Test with tox
83-
run: tox -e ${{ matrix.tox_env }}
84-
- name: Prepare artifacts
85-
run: mkdir -p .coverage-data && mv .coverage.* .coverage-data/
86-
- uses: actions/upload-artifact@master
87-
with:
88-
name: coverage-data
89-
path: .coverage-data/
74+
- uses: actions/checkout@v2
75+
- name: Set up Python ${{ matrix.python-version }}
76+
uses: actions/setup-python@v1
77+
with:
78+
python-version: ${{ matrix.python-version }}
79+
- name: Install dependencies
80+
run: |
81+
python -m pip install --upgrade pip
82+
pip install tox tox-gh-actions
83+
- name: Test with tox
84+
run: tox -e ${{ matrix.tox_env }}
85+
- name: Prepare artifacts
86+
run: mkdir -p .coverage-data && mv .coverage.* .coverage-data/
87+
- uses: actions/upload-artifact@master
88+
with:
89+
name: coverage-data
90+
path: .coverage-data/
9091

9192
coverage:
9293
runs-on: ubuntu-latest
9394
needs: [test]
9495
steps:
95-
- uses: actions/checkout@v2
96-
- uses: actions/download-artifact@master
97-
with:
98-
name: coverage-data
99-
path: .
100-
- name: Set up Python 3.7
101-
uses: actions/setup-python@v1
102-
with:
103-
python-version: 3.7
104-
- name: Install dependencies
105-
run: |
106-
python -m pip install --upgrade pip
107-
pip install tox
108-
- name: Prepare Coverage report
109-
run: tox -e coverage-report
110-
- name: Upload to codecov
111-
uses: codecov/[email protected]
96+
- uses: actions/checkout@v2
97+
- uses: actions/download-artifact@master
98+
with:
99+
name: coverage-data
100+
path: .
101+
- name: Set up Python 3.7
102+
uses: actions/setup-python@v1
103+
with:
104+
python-version: 3.7
105+
- name: Install dependencies
106+
run: |
107+
python -m pip install --upgrade pip
108+
pip install tox
109+
- name: Prepare Coverage report
110+
run: tox -e coverage-report
111+
- name: Upload to codecov
112+
uses: codecov/[email protected]

docker-compose.yml

+19-18
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
---
12
version: '2'
23

34
# run the app in development mode
@@ -7,29 +8,29 @@ services:
78
build: .
89
tty: true
910
volumes:
10-
- .:/code
11+
- .:/code
1112
environment:
12-
- DJANGO_MANAGEPY_COLLECTSTATIC=off
13-
- DJANGO_SETTINGS_MODULE=example.settings
14-
- SECRET_KEY=secret
15-
- ALLOWED_HOSTS=*
16-
- RDS_HOSTNAME=db
17-
- RDS_PORT=5432
18-
- RDS_DB_NAME=postgres
19-
- RDS_USERNAME=postgres
20-
- RDS_PASSWORD=password
13+
- DJANGO_MANAGEPY_COLLECTSTATIC=off
14+
- DJANGO_SETTINGS_MODULE=example.settings
15+
- SECRET_KEY=secret
16+
- ALLOWED_HOSTS=*
17+
- RDS_HOSTNAME=db
18+
- RDS_PORT=5432
19+
- RDS_DB_NAME=postgres
20+
- RDS_USERNAME=postgres
21+
- RDS_PASSWORD=password
2122
depends_on:
22-
- db
23+
- db
2324
ports:
24-
- 8000:8000
25+
- 8000:8000
2526
db:
2627
image: postgres:9.6
2728
environment:
28-
- POSTGRES_USER=postgres
29-
- POSTGRES_PASSWORD=password
30-
- POSTGRES_DB=postgres
31-
- PGDATA=/var/lib/postgresql/data/pgdata
29+
- POSTGRES_USER=postgres
30+
- POSTGRES_PASSWORD=password
31+
- POSTGRES_DB=postgres
32+
- PGDATA=/var/lib/postgresql/data/pgdata
3233
volumes:
33-
- ./.postgres:/var/lib/postgresql/data/pgdata
34+
- ./.postgres:/var/lib/postgresql/data/pgdata
3435
ports:
35-
- 5432:5432
36+
- 5432:5432

readthedocs.yml

+4-3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1+
---
12
python:
2-
version: 3.5
3-
pip_install: true
4-
requirements_file: docs/requirements.txt
3+
version: 3.5
4+
pip_install: true
5+
requirements_file: docs/requirements.txt

0 commit comments

Comments
 (0)