Skip to content

Commit aa5cbd9

Browse files
authored
[qa] Reformatted YAML and Markdown files with prettier
1 parent d4ba6ba commit aa5cbd9

File tree

6 files changed

+69
-73
lines changed

6 files changed

+69
-73
lines changed

.github/ISSUE_TEMPLATE/bug_report.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,15 @@ name: Bug report
33
about: Open a bug report
44
title: "[bug] "
55
labels: bug
6-
assignees: ''
7-
6+
assignees: ""
87
---
98

109
**Describe the bug**
1110
A clear and concise description of the bug or unexpected behavior.
1211

1312
**Steps To Reproduce**
1413
Steps to reproduce the behavior:
14+
1515
1. Go to '...'
1616
2. Click on '....'
1717
3. Scroll down to '....'
@@ -24,7 +24,8 @@ A clear and concise description of what you expected to happen.
2424
If applicable, add screenshots to help explain your problem.
2525

2626
**System Informatioon:**
27-
- OS: [e.g. Ubuntu 24.04 LTS]
28-
- Python Version: [e.g. Python 3.11.2]
29-
- Django Version: [e.g. Django 4.2.5]
30-
- Browser and Browser Version (if applicable): [e.g. Chromium v126.0.6478.126]
27+
28+
- OS: [e.g. Ubuntu 24.04 LTS]
29+
- Python Version: [e.g. Python 3.11.2]
30+
- Django Version: [e.g. Django 4.2.5]
31+
- Browser and Browser Version (if applicable): [e.g. Chromium v126.0.6478.126]

.github/ISSUE_TEMPLATE/feature_request.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,7 @@ name: Feature request
33
about: Suggest an idea for this project
44
title: "[feature] "
55
labels: enhancement
6-
assignees: ''
7-
6+
assignees: ""
87
---
98

109
**Is your feature request related to a problem? Please describe.**

.github/ISSUE_TEMPLATE/question.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,7 @@ name: Question
33
about: Please use the Discussion Forum to ask questions
44
title: "[question] "
55
labels: question
6-
assignees: ''
7-
6+
assignees: ""
87
---
98

109
Please use the [Discussion Forum](https://github.com/openwisp/django-rest-framework-gis/discussions) to ask questions.

.github/workflows/ci.yml

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -30,45 +30,45 @@ jobs:
3030
matrix:
3131
env:
3232
# DRF 3.14
33-
- python: '3.9'
33+
- python: "3.9"
3434
TOXENV: py39-django42-djangorestframework314
35-
- python: '3.10'
35+
- python: "3.10"
3636
TOXENV: py310-django42-djangorestframework314
37-
- python: '3.11'
37+
- python: "3.11"
3838
TOXENV: py311-django42-djangorestframework314
3939
# DRF 3.15
40-
- python: '3.10'
40+
- python: "3.10"
4141
TOXENV: py310-django50-djangorestframework315
42-
- python: '3.11'
42+
- python: "3.11"
4343
TOXENV: py311-django50-djangorestframework315
44-
- python: '3.12'
44+
- python: "3.12"
4545
TOXENV: py312-django50-djangorestframework315
46-
- python: '3.13'
46+
- python: "3.13"
4747
TOXENV: py313-django50-djangorestframework315
48-
- python: '3.10'
48+
- python: "3.10"
4949
TOXENV: py310-django51-djangorestframework315
50-
- python: '3.11'
50+
- python: "3.11"
5151
TOXENV: py311-django51-djangorestframework315
52-
- python: '3.12'
52+
- python: "3.12"
5353
TOXENV: py312-django51-djangorestframework315
5454
# DRF 3.16
55-
- python: '3.11'
55+
- python: "3.11"
5656
TOXENV: py311-django50-djangorestframework316
57-
- python: '3.12'
57+
- python: "3.12"
5858
TOXENV: py312-django50-djangorestframework316
59-
- python: '3.11'
59+
- python: "3.11"
6060
TOXENV: py311-django51-djangorestframework316
61-
- python: '3.12'
61+
- python: "3.12"
6262
TOXENV: py312-django51-djangorestframework316
63-
- python: '3.13'
63+
- python: "3.13"
6464
TOXENV: py313-django51-djangorestframework315
65-
- python: '3.10'
65+
- python: "3.10"
6666
TOXENV: py310-django52-djangorestframework315
67-
- python: '3.11'
67+
- python: "3.11"
6868
TOXENV: py311-django52-djangorestframework315
69-
- python: '3.12'
69+
- python: "3.12"
7070
TOXENV: py312-django52-djangorestframework315
71-
- python: '3.13'
71+
- python: "3.13"
7272
TOXENV: py313-django52-djangorestframework315
7373
steps:
7474
- uses: actions/checkout@v4
@@ -79,7 +79,7 @@ jobs:
7979
uses: actions/setup-python@v5
8080
with:
8181
python-version: ${{ matrix.env.python }}
82-
cache: 'pip'
82+
cache: "pip"
8383
cache-dependency-path: |
8484
**/requirements*.txt
8585

.github/workflows/pypi.yml

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -17,16 +17,16 @@ jobs:
1717
permissions:
1818
id-token: write
1919
steps:
20-
- uses: actions/checkout@v4
21-
- name: Set up Python
22-
uses: actions/setup-python@v5
23-
with:
24-
python-version: '3.10'
25-
- name: Install dependencies
26-
run: |
27-
pip install -U pip
28-
pip install build
29-
- name: Build package
30-
run: python -m build
31-
- name: Publish package distributions to PyPI
32-
uses: pypa/gh-action-pypi-publish@v1.13.0
20+
- uses: actions/checkout@v4
21+
- name: Set up Python
22+
uses: actions/setup-python@v5
23+
with:
24+
python-version: "3.x"
25+
- name: Install dependencies
26+
run: |
27+
pip install -U pip
28+
pip install build
29+
- name: Build package
30+
run: python -m build
31+
- name: Publish package distributions to PyPI
32+
uses: pypa/gh-action-pypi-publish@v1.13.0

docker-compose.yml

Lines changed: 27 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,33 @@
11
version: "3.7"
22

3-
43
services:
4+
test:
5+
build:
6+
context: .
7+
dockerfile: Dockerfile
8+
depends_on:
9+
- postgres
10+
environment:
11+
- DJANGO_SETTINGS_MODULE=settings
12+
volumes:
13+
- root_dir:/root
14+
- ./rest_framework_gis:/project/rest_framework_gis
15+
- ./tests:/project/tests
16+
- ./README.rst:/project/README.rst
17+
- ./setup.py:/project/setup.py
18+
command: sh -c "pip install -e . && python ./tests/manage.py test tests/django_restframework_gis_tests && ./run-qa-checks"
519

6-
test:
7-
build:
8-
context: .
9-
dockerfile: Dockerfile
10-
depends_on:
11-
- postgres
12-
environment:
13-
- DJANGO_SETTINGS_MODULE=settings
14-
volumes:
15-
- root_dir:/root
16-
- ./rest_framework_gis:/project/rest_framework_gis
17-
- ./tests:/project/tests
18-
- ./README.rst:/project/README.rst
19-
- ./setup.py:/project/setup.py
20-
command: sh -c "pip install -e . && python ./tests/manage.py test tests/django_restframework_gis_tests && ./run-qa-checks"
21-
22-
postgres:
23-
image: postgis/postgis:15-3.4-alpine
24-
environment:
25-
POSTGRES_PASSWORD: postgres
26-
POSTGRES_USER: postgres
27-
POSTGRES_DB: django_restframework_gis
28-
ports:
29-
- 5432:5432
30-
volumes:
31-
- postgres_data:/var/lib/postgresql/data
32-
20+
postgres:
21+
image: postgis/postgis:15-3.4-alpine
22+
environment:
23+
POSTGRES_PASSWORD: postgres
24+
POSTGRES_USER: postgres
25+
POSTGRES_DB: django_restframework_gis
26+
ports:
27+
- 5432:5432
28+
volumes:
29+
- postgres_data:/var/lib/postgresql/data
3330

3431
volumes:
35-
postgres_data:
36-
root_dir:
32+
postgres_data:
33+
root_dir:

0 commit comments

Comments
 (0)