Skip to content

Commit ba44dcb

Browse files
committed
Add .prettierignore and run prettier on all supported files.
1 parent c3d53ed commit ba44dcb

File tree

104 files changed

+12535
-17810
lines changed

Some content is hidden

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

104 files changed

+12535
-17810
lines changed

.editorconfig

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -11,18 +11,8 @@ end_of_line = lf
1111
[Makefile]
1212
indent_style = tab
1313

14-
[*.{xml,js,json,yaml}]
14+
[*.{xml,js,json,yaml,yml}]
1515
indent_size = 2
1616

1717
[*.postman_collection.json]
1818
indent_style = tab
19-
20-
[*.yaml]
21-
trim_trailing_whitespace = false
22-
23-
[*.js]
24-
ij_javascript_force_semicolon_style = true
25-
ij_javascript_use_semicolon_after_statement = false
26-
27-
[*.md]
28-
trim_trailing_whitespace = false
Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
---
22
name: Bug report
33
about: Create a report to help us improve
4-
title: ''
5-
labels: ''
6-
assignees: ''
7-
4+
title: ""
5+
labels: ""
6+
assignees: ""
87
---
98

109
**Describe the bug**
1110
A clear and concise description of what the bug is.
1211

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

2626
**Desktop (please complete the following information):**
27-
- OS: [e.g. iOS]
28-
- Browser: [e.g. chrome, safari]
29-
- Version: [e.g. 22]
27+
28+
- OS: [e.g. iOS]
29+
- Browser: [e.g. chrome, safari]
30+
- Version: [e.g. 22]
3031

3132
**Smartphone (please complete the following information):**
32-
- Device: [e.g. iPhone6]
33-
- OS: [e.g. iOS8.1]
34-
- Browser: [e.g. stock browser, safari]
35-
- Version: [e.g. 22]
33+
34+
- Device: [e.g. iPhone6]
35+
- OS: [e.g. iOS8.1]
36+
- Browser: [e.g. stock browser, safari]
37+
- Version: [e.g. 22]
3638

3739
**Additional context**
3840
Add any other context about the problem here.

.github/ISSUE_TEMPLATE/feature_request.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
---
22
name: Feature request
33
about: Suggest an idea for this project
4-
title: ''
5-
labels: ''
6-
assignees: ''
7-
4+
title: ""
5+
labels: ""
6+
assignees: ""
87
---
98

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

.github/pull_request_template.md

Lines changed: 14 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,24 @@
11
## Summary
2-
* Routine Change
3-
* :exclamation: Breaking Change
4-
* :robot: Operational or Infrastructure Change
5-
* :sparkles: New Feature
6-
* :warning: Potential issues that might be caused by this change
72

8-
Add any other relevant notes or explanations here. **Remove this line if you have nothing to add.**
3+
- Routine Change
4+
- :exclamation: Breaking Change
5+
- :robot: Operational or Infrastructure Change
6+
- :sparkles: New Feature
7+
- :warning: Potential issues that might be caused by this change
98

9+
Add any other relevant notes or explanations here. **Remove this line if you have nothing to add.**
1010

1111
## Reviews Required
12-
* [x] Dev
13-
* [ ] Test
14-
* [ ] Tech Author
15-
* [ ] Product Owner
1612

13+
- [x] Dev
14+
- [ ] Test
15+
- [ ] Tech Author
16+
- [ ] Product Owner
1717

1818
## Review Checklist
19+
1920
:information_source: This section is to be filled in by the **reviewer**.
2021

21-
* [ ] I have reviewed the changes in this PR and they fill all or part of the acceptance criteria of the ticket, and the code is in a mergeable state.
22-
* [ ] If there were infrastructure, operational, or build changes, I have made sure there is sufficient evidence that the changes will work.
23-
* [ ] I have ensured the changelog has been updated by the submitter, if necessary.
22+
- [ ] I have reviewed the changes in this PR and they fill all or part of the acceptance criteria of the ticket, and the code is in a mergeable state.
23+
- [ ] If there were infrastructure, operational, or build changes, I have made sure there is sufficient evidence that the changes will work.
24+
- [ ] I have ensured the changelog has been updated by the submitter, if necessary.

.github/workflows/create-release-tag.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,15 @@ jobs:
1212
- name: Checkout
1313
uses: actions/checkout@v5
1414
with:
15-
fetch-depth: 0 # This causes all history to be fetched, which is required for calculate-version to function
15+
fetch-depth: 0 # This causes all history to be fetched, which is required for calculate-version to function
1616

1717
- name: Install Python 3.9
1818
uses: actions/setup-python@v6
1919
with:
2020
python-version: 3.9
2121

2222
- name: Upgrade python pip
23-
run: python -m pip install --upgrade pip
23+
run: python -m pip install --upgrade pip
2424

2525
- name: Install git
2626
run: pip install gitpython

.github/workflows/deploy-backend.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -136,11 +136,11 @@ jobs:
136136
if: ${{ inputs.environment == 'dev' && inputs.create_mns_subscription }}
137137
with:
138138
python-version: 3.11
139-
cache: 'poetry'
139+
cache: "poetry"
140140

141141
- name: Create MNS Subscription
142142
if: ${{ inputs.environment == 'dev' && inputs.create_mns_subscription }}
143-
working-directory: './lambdas/mns_subscription'
143+
working-directory: "./lambdas/mns_subscription"
144144
env:
145145
APIGEE_ENVIRONMENT: ${{ inputs.apigee_environment }}
146146
SQS_ARN: ${{ env.ID_SYNC_QUEUE_ARN }}

.github/workflows/pr-teardown.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
permissions:
2424
id-token: write
2525
contents: read
26-
26+
2727
steps:
2828
- name: Connect to AWS
2929
uses: aws-actions/configure-aws-credentials@a03048d87541d1d9fcf2ecf528a4a65ba9bd7838
@@ -37,7 +37,7 @@ jobs:
3737

3838
- name: Checkout
3939
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8
40-
40+
4141
- uses: hashicorp/setup-terraform@b9cd54a3c349d3f38e8881555d616ced269862dd
4242
with:
4343
terraform_version: "1.12.2"
@@ -55,10 +55,10 @@ jobs:
5555
- uses: actions/setup-python@v6
5656
with:
5757
python-version: 3.11
58-
cache: 'poetry'
58+
cache: "poetry"
5959

6060
- name: Unsubscribe MNS
61-
working-directory: './lambdas/mns_subscription'
61+
working-directory: "./lambdas/mns_subscription"
6262
env:
6363
SQS_ARN: ${{ env.ID_SYNC_QUEUE_ARN }}
6464
run: |

.github/workflows/quality-checks.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ jobs:
2121

2222
- uses: actions/setup-node@v5
2323
with:
24-
node-version: '23.11.0'
25-
cache: 'npm'
24+
node-version: "23.11.0"
25+
cache: "npm"
2626

2727
- name: Install linting dependencies
2828
run: make install-node
@@ -43,7 +43,7 @@ jobs:
4343
- uses: actions/setup-python@v6
4444
with:
4545
python-version: 3.11
46-
cache: 'poetry'
46+
cache: "poetry"
4747

4848
- name: Install linting dependencies
4949
run: poetry install --no-root
@@ -70,7 +70,7 @@ jobs:
7070
- uses: actions/setup-python@v6
7171
with:
7272
python-version: 3.11
73-
cache: 'poetry'
73+
cache: "poetry"
7474

7575
- name: Set up AWS credentials
7676
env:
@@ -127,7 +127,7 @@ jobs:
127127
working-directory: delta_backend
128128
id: delta
129129
env:
130-
PYTHONPATH: delta_backend/src:delta_backend/tests
130+
PYTHONPATH: delta_backend/src:delta_backend/tests
131131
continue-on-error: true
132132
run: |
133133
poetry install
@@ -161,9 +161,9 @@ jobs:
161161
PYTHONPATH: ${{ env.LAMBDA_PATH }}/ack_backend/src:${{ github.workspace }}/ack_backend/tests
162162
continue-on-error: true
163163
run: |
164-
poetry install
165-
poetry run coverage run --source=src -m unittest discover || echo "ack-lambda tests failed" >> ../../failed_tests.txt
166-
poetry run coverage xml -o ../../ack-lambda-coverage.xml
164+
poetry install
165+
poetry run coverage run --source=src -m unittest discover || echo "ack-lambda tests failed" >> ../../failed_tests.txt
166+
poetry run coverage xml -o ../../ack-lambda-coverage.xml
167167
168168
- name: Run unittest with coverage-mns-subscription
169169
working-directory: lambdas/mns_subscription

.prettierignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# This is a template, not a valid YAML file
2+
/manifest_template.yml

CODE_OF_CONDUCT.md

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -14,22 +14,22 @@ appearance, race, religion, or sexual identity and orientation.
1414
Examples of behavior that contributes to creating a positive environment
1515
include:
1616

17-
* Using welcoming and inclusive language
18-
* Being respectful of differing viewpoints and experiences
19-
* Gracefully accepting constructive criticism
20-
* Focusing on what is best for the community
21-
* Showing empathy towards other community members
17+
- Using welcoming and inclusive language
18+
- Being respectful of differing viewpoints and experiences
19+
- Gracefully accepting constructive criticism
20+
- Focusing on what is best for the community
21+
- Showing empathy towards other community members
2222

2323
Examples of unacceptable behavior by participants include:
2424

25-
* The use of sexualized language or imagery and unwelcome sexual attention or
26-
advances
27-
* Trolling, insulting/derogatory comments, and personal or political attacks
28-
* Public or private harassment
29-
* Publishing others' private information, such as a physical or electronic
30-
address, without explicit permission
31-
* Other conduct which could reasonably be considered inappropriate in a
32-
professional setting
25+
- The use of sexualized language or imagery and unwelcome sexual attention or
26+
advances
27+
- Trolling, insulting/derogatory comments, and personal or political attacks
28+
- Public or private harassment
29+
- Publishing others' private information, such as a physical or electronic
30+
address, without explicit permission
31+
- Other conduct which could reasonably be considered inappropriate in a
32+
professional setting
3333

3434
## Our Responsibilities
3535

0 commit comments

Comments
 (0)