Skip to content

Commit 7aa2fb5

Browse files
committed
lint: format with treefmt
Signed-off-by: Patrizio Bekerle <patrizio@bekerle.com>
1 parent 1f43a70 commit 7aa2fb5

File tree

474 files changed

+13881
-11599
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

474 files changed

+13881
-11599
lines changed

.github/FUNDING.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# These are supported funding model platforms
22

3-
github: ['pbek']
3+
github: ["pbek"]
44
patreon: # Replace with a single Patreon username
55
open_collective: # Replace with a single Open Collective username
66
ko_fi: # Replace with a single Ko-fi username
@@ -9,4 +9,4 @@ community_bridge: # Replace with a single Community Bridge project-name e.g., cl
99
liberapay: pbek
1010
issuehunt: # Replace with a single IssueHunt username
1111
otechie: # Replace with a single Otechie username
12-
custom: ['https://paypal.me/pbek']
12+
custom: ["https://paypal.me/pbek"]

.github/ISSUE_TEMPLATE/bug_report.md

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,8 @@
22
name: Bug report
33
about: Create a report to help us improve.
44
title: "[BUG] "
5-
labels: 'Type: Support'
6-
assignees: ''
7-
5+
labels: "Type: Support"
6+
assignees: ""
87
---
98

109
<!--
@@ -19,26 +18,25 @@ https://github.com/qownnotes/scripts/issues and mention the authors of the scrip
1918
You will find the authors in the *Script repository*.
2019
-->
2120

22-
23-
24-
25-
26-
27-
2821
#### Expected behaviour
22+
2923
A clear and concise description of what you expected to happen
3024
and why you think it should be that way.
3125

3226
#### Actual behaviour
27+
3328
A clear and concise description of what the bug is.
3429

3530
#### Steps to reproduce
31+
3632
Steps to reproduce the behavior:
33+
3734
1. ...
3835
2. ...
3936
3. ...
4037

4138
#### Screenshots
39+
4240
If applicable, add screenshots to help explain your problem.
4341

4442
#### Output from the debug section in the settings dialog
Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,21 @@
11
---
22
name: Editor schema
3-
about: Share your editor schema exported from "Editor fonts & colors" settings.
3+
about: Share your editor schema exported from "Editor fonts & colors" settings.
44
title: "[EDITOR SCHEMA] "
5-
labels: 'Type: Feature'
6-
assignees: 'pbek'
7-
5+
labels: "Type: Feature"
6+
assignees: "pbek"
87
---
98

109
#### Schema name
10+
1111
<!-- Please provide the name of the schema you want to add. -->
1212

1313
#### Screenshot
14+
1415
<!-- Please provide a screenshot of the schema in action. -->
1516

1617
#### Schema file
18+
1719
<!-- Please provide the schema file. -->
1820
<!-- You will need to compress the schema xml as zip or gz before GitHub lets you upload it. -->
1921
<!-- If you don't know how to do that you can also upload it to a file sharing service and post the link here or just post the content of the file in a code block. -->

.github/ISSUE_TEMPLATE/feature_request.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,8 @@
22
name: Feature request
33
about: Suggest an idea for this project.
44
title: "[FEATURE] "
5-
labels: 'Type: Support'
6-
assignees: ''
7-
5+
labels: "Type: Support"
6+
assignees: ""
87
---
98

109
<!--
@@ -20,15 +19,19 @@ You will find the authors in the *Script repository*.
2019
-->
2120

2221
#### Is your feature request related to a problem? Please describe.
22+
2323
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
2424

2525
#### Describe the solution you'd like
26+
2627
A clear and concise description of what you want to happen.
2728

2829
#### Describe alternatives you've considered
30+
2931
A clear and concise description of any alternative solutions or features you've considered.
3032

3133
#### Additional context
34+
3235
Add any other context or screenshots about the feature request here.
3336

3437
#### Output from the debug section in the settings dialog

.github/ISSUE_TEMPLATE/support.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,8 @@
22
name: Question / Support
33
about: What do you want to ask?
44
title: "[SUPPORT] "
5-
labels: 'Type: Support'
6-
assignees: ''
7-
5+
labels: "Type: Support"
6+
assignees: ""
87
---
98

109
<!--
@@ -19,7 +18,6 @@ https://github.com/qownnotes/scripts/issues and mention the authors of the scrip
1918
You will find the authors in the *Script repository*.
2019
-->
2120

22-
2321
#### Question
2422

2523
#### Output from the debug section in the settings dialog

.github/dependabot.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
version: 2
22
updates:
3-
- package-ecosystem: "github-actions"
4-
directory: "/"
5-
schedule:
3+
- package-ecosystem: "github-actions"
4+
directory: "/"
5+
schedule:
66
interval: "weekly"

.github/workflows/build-deploy-release-image.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@ on:
1111
branches:
1212
- main
1313
tags-ignore:
14-
- '*'
14+
- "*"
1515
# https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#example-including-paths
1616
paths:
17-
- '.github/workflows/build-deploy-release-image.yml'
18-
- 'build-systems/github/ubuntu22-dev/Dockerfile'
17+
- ".github/workflows/build-deploy-release-image.yml"
18+
- "build-systems/github/ubuntu22-dev/Dockerfile"
1919

2020
env:
2121
REGISTRY: ghcr.io
Lines changed: 28 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
name: Build and Deploy Webpage
22
on:
33
push:
4-
branches: [ main ]
4+
branches: [main]
55
# https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#example-including-paths
66
# if [[ ${changed_file} == "CHANGELOG.md" ]] || [[ ${changed_file} = screenshots* ]] || [[ ${changed_file} = webpage* ]] || [[ ${changed_file} = ".github/workflows/build-deploy-webpage.yml" ]] ;
77
paths:
8-
- 'CHANGELOG.md'
9-
- 'screenshots/**'
10-
- 'webpage/**'
11-
- '.github/workflows/build-deploy-webpage.yml'
8+
- "CHANGELOG.md"
9+
- "screenshots/**"
10+
- "webpage/**"
11+
- ".github/workflows/build-deploy-webpage.yml"
1212
workflow_dispatch:
1313

1414
defaults:
@@ -17,30 +17,29 @@ defaults:
1717

1818
jobs:
1919
build:
20-
2120
runs-on: ubuntu-latest
2221

2322
steps:
24-
- uses: actions/checkout@v4
25-
# copy screenshots and changelog to webpage folder
26-
- run: cp ../screenshots src/.vuepress/public -R; cp ../CHANGELOG.md src/changelog.md
27-
- name: Set up QEMU
28-
uses: docker/setup-qemu-action@v3
29-
- name: Set up Docker Buildx
30-
uses: docker/setup-buildx-action@v3
31-
- name: Login to DockerHub
32-
uses: docker/login-action@v2
33-
with:
34-
username: ${{ secrets.DOCKERHUB_USERNAME }}
35-
password: ${{ secrets.DOCKERHUB_TOKEN }}
36-
- name: Build and push
37-
id: docker_build
38-
uses: docker/build-push-action@v6
39-
with:
40-
push: true
41-
#path: ./webpage
42-
context: ./webpage
43-
file: ./webpage/Dockerfile
44-
tags: pbeke/qownnotes-webpage:latest
45-
- name: Image digest
46-
run: echo ${{ steps.docker_build.outputs.digest }}
23+
- uses: actions/checkout@v4
24+
# copy screenshots and changelog to webpage folder
25+
- run: cp ../screenshots src/.vuepress/public -R; cp ../CHANGELOG.md src/changelog.md
26+
- name: Set up QEMU
27+
uses: docker/setup-qemu-action@v3
28+
- name: Set up Docker Buildx
29+
uses: docker/setup-buildx-action@v3
30+
- name: Login to DockerHub
31+
uses: docker/login-action@v2
32+
with:
33+
username: ${{ secrets.DOCKERHUB_USERNAME }}
34+
password: ${{ secrets.DOCKERHUB_TOKEN }}
35+
- name: Build and push
36+
id: docker_build
37+
uses: docker/build-push-action@v6
38+
with:
39+
push: true
40+
#path: ./webpage
41+
context: ./webpage
42+
file: ./webpage/Dockerfile
43+
tags: pbeke/qownnotes-webpage:latest
44+
- name: Image digest
45+
run: echo ${{ steps.docker_build.outputs.digest }}

.github/workflows/build-nix.yml

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -5,20 +5,20 @@ on:
55
branches-ignore:
66
- release
77
tags-ignore:
8-
- '*'
8+
- "*"
99
paths:
10-
- 'src/**'
11-
- 'shell.nix'
12-
- 'default.nix'
13-
- 'build-systems/nix/**'
14-
- '.github/workflows/build-nix.yml'
10+
- "src/**"
11+
- "shell.nix"
12+
- "default.nix"
13+
- "build-systems/nix/**"
14+
- ".github/workflows/build-nix.yml"
1515
pull_request:
1616
paths:
17-
- 'src/**'
18-
- 'shell.nix'
19-
- 'default.nix'
20-
- 'build-systems/nix/**'
21-
- '.github/workflows/build-nix.yml'
17+
- "src/**"
18+
- "shell.nix"
19+
- "default.nix"
20+
- "build-systems/nix/**"
21+
- ".github/workflows/build-nix.yml"
2222
workflow_dispatch:
2323

2424
jobs:
@@ -28,8 +28,8 @@ jobs:
2828
strategy:
2929
fail-fast: false
3030
matrix:
31-
just-recipe: ['nix-build', 'nix-build-cmake-qt5']
32-
os: ['ubuntu-latest', 'macos-latest', 'macos-14']
31+
just-recipe: ["nix-build", "nix-build-cmake-qt5"]
32+
os: ["ubuntu-latest", "macos-latest", "macos-14"]
3333
steps:
3434
- name: ⚙️ Install Nix
3535
uses: cachix/install-nix-action@v31

0 commit comments

Comments
 (0)