Skip to content

Commit a1e0eef

Browse files
committed
[qa] Reformatted with prettier 3.6.2
1 parent 20f8800 commit a1e0eef

18 files changed

Lines changed: 1281 additions & 1292 deletions

File tree

.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: 2 additions & 3 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.**
@@ -17,4 +16,4 @@ A clear and concise description of what you want to happen.
1716
A clear and concise description of any alternative solutions or features you've considered.
1817

1918
**Additional context**
20-
Add any other context or screenshots about the feature request here.
19+
Add any other context or screenshots about the feature request here.

.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/orgs/openwisp/discussions) to ask questions.

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ jobs:
5353
uses: actions/setup-python@v5
5454
with:
5555
python-version: ${{ matrix.python-version }}
56-
cache: 'pip'
56+
cache: "pip"
5757
cache-dependency-path: |
5858
**/requirements*.txt
5959

.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.12.4
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.12.4
Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
[
2-
{
3-
"model": "openwisp_users.user",
4-
"pk": "973671cc-b921-45b4-a050-69ac6ee5fc06",
5-
"fields": {
6-
"username": "admin",
7-
"password": "pbkdf2_sha256$36000$IOv0fxVQd1dz$Chkj/ckIU/rQjRcFtWAe1/ea6YP8NmkBah8FRzLjE+f=",
8-
"first_name": "Admin",
9-
"last_name": "Admin",
10-
"email": "admin@admin.org",
11-
"is_active": true,
12-
"is_staff": true,
13-
"is_superuser": true,
14-
"groups": []
15-
}
2+
{
3+
"model": "openwisp_users.user",
4+
"pk": "973671cc-b921-45b4-a050-69ac6ee5fc06",
5+
"fields": {
6+
"username": "admin",
7+
"password": "pbkdf2_sha256$36000$IOv0fxVQd1dz$Chkj/ckIU/rQjRcFtWAe1/ea6YP8NmkBah8FRzLjE+f=",
8+
"first_name": "Admin",
9+
"last_name": "Admin",
10+
"email": "admin@admin.org",
11+
"is_active": true,
12+
"is_staff": true,
13+
"is_superuser": true,
14+
"groups": []
1615
}
16+
}
1717
]

openwisp_network_topology/tests/static/issue-58.json

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -62,18 +62,18 @@
6262
"metric": "eBGP",
6363
"type": "NetworkGraph",
6464
"nodes": [
65-
{"id": "Sv1gyk-Sofiko"},
66-
{"id": "Kalloni"},
67-
{"id": "sv1gsd"},
68-
{"id": "Benz_Kalloni_2"},
69-
{"id": "Metamorfosi"},
70-
{"id": "Taktikoupoli"},
71-
{"id": "SV1EGD"},
72-
{"id": "downlots3"},
73-
{"id": "Geolos"},
74-
{"id": "SV1CIM-SOFIKO-SV1GSD"},
75-
{"id": "sv1gsd_2"},
76-
{"id": "sofiko_WNK"},
77-
{"id": "Benz_Kalloni"}
65+
{ "id": "Sv1gyk-Sofiko" },
66+
{ "id": "Kalloni" },
67+
{ "id": "sv1gsd" },
68+
{ "id": "Benz_Kalloni_2" },
69+
{ "id": "Metamorfosi" },
70+
{ "id": "Taktikoupoli" },
71+
{ "id": "SV1EGD" },
72+
{ "id": "downlots3" },
73+
{ "id": "Geolos" },
74+
{ "id": "SV1CIM-SOFIKO-SV1GSD" },
75+
{ "id": "sv1gsd_2" },
76+
{ "id": "sofiko_WNK" },
77+
{ "id": "Benz_Kalloni" }
7878
]
7979
}
Lines changed: 27 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,29 @@
11
{
2-
"type": "NetworkGraph",
3-
"protocol": "OLSR",
4-
"version": "0.8",
5-
"metric": "ETX",
6-
"nodes": [
7-
{
8-
"id": "192.168.0.1",
9-
"local_addresses": ["10.0.0.1"],
10-
"properties": {
11-
"gateway": true
12-
}
13-
},
14-
{
15-
"id": "192.168.0.2"
16-
}
17-
],
18-
"links": [
19-
{
20-
"source": "192.168.0.1",
21-
"target": "192.168.0.2",
22-
"cost": 1.0,
23-
"cost_text": "10 Mbps",
24-
"properties": {
25-
"pretty": true
26-
}
27-
}
28-
]
2+
"type": "NetworkGraph",
3+
"protocol": "OLSR",
4+
"version": "0.8",
5+
"metric": "ETX",
6+
"nodes": [
7+
{
8+
"id": "192.168.0.1",
9+
"local_addresses": ["10.0.0.1"],
10+
"properties": {
11+
"gateway": true
12+
}
13+
},
14+
{
15+
"id": "192.168.0.2"
16+
}
17+
],
18+
"links": [
19+
{
20+
"source": "192.168.0.1",
21+
"target": "192.168.0.2",
22+
"cost": 1.0,
23+
"cost_text": "10 Mbps",
24+
"properties": {
25+
"pretty": true
26+
}
27+
}
28+
]
2929
}
Lines changed: 43 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -1,45 +1,45 @@
11
{
2-
"type": "NetworkGraph",
3-
"protocol": "OLSR",
4-
"version": "0.8",
5-
"metric": "ETX",
6-
"nodes": [
7-
{
8-
"id": "192.168.0.1",
9-
"local_addresses": ["10.0.0.1"],
10-
"properties": {
11-
"gateway": true
12-
}
13-
},
14-
{
15-
"id": "192.168.0.2",
16-
"label": "node2",
17-
"local_addresses": ["10.0.0.2"]
18-
},
19-
{
20-
"id": "192.168.0.3",
21-
"label": "node3",
22-
"local_addresses": ["10.0.0.3"]
23-
}
24-
],
25-
"links": [
26-
{
27-
"source": "192.168.0.1",
28-
"target": "192.168.0.2",
29-
"cost": 1.5,
30-
"cost_text": "15 Mbps",
31-
"properties": {
32-
"pretty": true
33-
}
34-
},
35-
{
36-
"source": "192.168.0.1",
37-
"target": "192.168.0.3",
38-
"cost": 2.0,
39-
"cost_text": "20 Mbps",
40-
"properties": {
41-
"pretty": false
42-
}
43-
}
44-
]
2+
"type": "NetworkGraph",
3+
"protocol": "OLSR",
4+
"version": "0.8",
5+
"metric": "ETX",
6+
"nodes": [
7+
{
8+
"id": "192.168.0.1",
9+
"local_addresses": ["10.0.0.1"],
10+
"properties": {
11+
"gateway": true
12+
}
13+
},
14+
{
15+
"id": "192.168.0.2",
16+
"label": "node2",
17+
"local_addresses": ["10.0.0.2"]
18+
},
19+
{
20+
"id": "192.168.0.3",
21+
"label": "node3",
22+
"local_addresses": ["10.0.0.3"]
23+
}
24+
],
25+
"links": [
26+
{
27+
"source": "192.168.0.1",
28+
"target": "192.168.0.2",
29+
"cost": 1.5,
30+
"cost_text": "15 Mbps",
31+
"properties": {
32+
"pretty": true
33+
}
34+
},
35+
{
36+
"source": "192.168.0.1",
37+
"target": "192.168.0.3",
38+
"cost": 2.0,
39+
"cost_text": "20 Mbps",
40+
"properties": {
41+
"pretty": false
42+
}
43+
}
44+
]
4545
}
Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
11
{
2-
"type": "NetworkGraph",
3-
"protocol": "OLSR",
4-
"version": "0.8",
5-
"metric": "ETX",
6-
"nodes": [
7-
{
8-
"id": "192.168.0.1"
9-
},
10-
{
11-
"id": "192.168.0.1"
12-
}
13-
],
14-
"links": [
15-
{
16-
"source": "192.168.0.1",
17-
"target": "192.168.0.1",
18-
"cost": 1.0
19-
}
20-
]
2+
"type": "NetworkGraph",
3+
"protocol": "OLSR",
4+
"version": "0.8",
5+
"metric": "ETX",
6+
"nodes": [
7+
{
8+
"id": "192.168.0.1"
9+
},
10+
{
11+
"id": "192.168.0.1"
12+
}
13+
],
14+
"links": [
15+
{
16+
"source": "192.168.0.1",
17+
"target": "192.168.0.1",
18+
"cost": 1.0
19+
}
20+
]
2121
}

0 commit comments

Comments
 (0)