justinthelaw / opera

Opera: Optimized Performance and Evaluation Rhetoric AI, for USAF and USSF performance statements, in TypeScript and Python
MIT License
6 stars 1 forks source link

Test(Client): Fix and re-enable skipped tests #183

Closed justinthelaw closed 1 year ago

justinthelaw commented 1 year ago

Context: There are two skipped tests within the client/ directory that are related to 1) AbbreviationTables component and 2) utils functions. There are "TODO" comments above them and an it.skip for skipping the test during Jest runs locally and within the Test-Pipeline GitHub Action.

Required Action: Fix the two tests and ensure that the tests pass in the Test-Pipeline GitHub Action.

Test files with the skipped tests that need to be fixed:

  1. client/tests/components/bullets/utils.test.ts
  2. client/tests/components/abbreviations/AbbreviationTable.test.tsx

Source component files that are the target of the tests:

  1. client/src/components/bullets/utils.ts
  2. client/src/components/abbreviations/AbbreviationTable.tsx
Checklist - [X] `client/tests/components/abbreviations/AbbreviationTable.test.tsx` ✅ Commit [`5e689ae`](https://github.com/justinthelaw/opera/commit/5e689ae4cb0d0f6d2fc8b386f42dcc9bd7b6f99e)
• Modify the test case 'changes table data correctly' to ensure that the `setData` function is being called correctly. This might involve changing the way the `AbbreviationTable` component is being re-rendered in the test. • Remove the `.skip` method from the test case to enable the test.
Sandbox Execution Logs
trunk init 1/16 ✓
⡿ Downloading Trunk 1.16.0...
⡿ Downloading Trunk 1.16.0...
⢿ Downloading Trunk 1.16.0...
⣻ Downloading Trunk 1.16.0...
⣽ Downloading Trunk 1.16.0...
⣾ Downloading Trunk 1.16.0...
⣷ Downloading Trunk 1.16.0...
✔ Downloading Trunk 1.16.0... done
⡿ Verifying Trunk sha256...
✔ Verifying Trunk sha256... done
⡿ Unpacking Trunk...
✔ Unpacking Trunk... done

✔ 15 linters were enabled (.trunk/trunk.yaml)
  actionlint 1.6.25 (5 github-workflow files)
  bandit 1.7.5 (28 python files)
  black 23.9.1 (2 jupyter, 16 python files)
  checkov 2.4.9 (12 json, 9 yaml files)
  git-diff-check (103 files)
  isort 5.12.0 (28 python files) (created .isort.cfg)
  markdownlint 0.36.0 (5 markdown files) (created .markdownlint.yaml)
  osv-scanner 1.4.0 (5 lockfile files)
  prettier 3.0.3 (1 html, 5 javascript, 9 json, 5 markdown, 17 typescript, 9 yaml files)
  ruff 0.0.290 (28 python files) (created ruff.toml)
  shellcheck 0.9.0 (8 shell files) (created .shellcheckrc)
  shfmt 3.6.0 (8 shell files)
  trivy 0.45.1 (5 lockfile, 9 yaml files)
  trufflehog 3.56.1 (106 files)
  yamllint 1.32.0 (9 yaml files) (created .yamllint.yaml)
Next Steps
 1. Read documentation
    Our documentation can be found at https://docs.trunk.io
 2. Get help and give feedback
    Join the Trunk community at https://slack.trunk.io
trunk fmt client/tests/components/abbreviations/AbbreviationTable.test.tsx 2/16 ❌ (`1`)

  FAILURES  
 prettier  client/tests/components/abbreviations/AbbreviationTable.test.tsx  .trunk/out/jD8VG.yaml
  NOTICES  
 A tool failed to run. You can open the details yaml file for more information.
Checked 0 files
✖ No issues, 1 failure
trunk fmt client/tests/components/abbreviations/AbbreviationTable.test.tsx 3/16 ❌ (`1`)

  FAILURES  
 prettier  client/tests/components/abbreviations/AbbreviationTable.test.tsx  .trunk/out/TyzxK.yaml
  NOTICES  
 A tool failed to run. You can open the details yaml file for more information.
Checked 0 files
✖ No issues, 1 failure
trunk fmt client/tests/components/abbreviations/AbbreviationTable.test.tsx 4/16 ❌ (`1`)

  FAILURES  
 prettier  client/tests/components/abbreviations/AbbreviationTable.test.tsx  .trunk/out/Yjtuo.yaml
  NOTICES  
 A tool failed to run. You can open the details yaml file for more information.
Checked 0 files
✖ No issues, 1 failure
trunk fmt client/tests/components/abbreviations/AbbreviationTable.test.tsx 5/16 ❌ (`1`)

  FAILURES  
 prettier  client/tests/components/abbreviations/AbbreviationTable.test.tsx  .trunk/out/1k9lW.yaml
  NOTICES  
 A tool failed to run. You can open the details yaml file for more information.
Checked 0 files
✖ No issues, 1 failure
trunk fmt client/tests/components/abbreviations/AbbreviationTable.test.tsx 6/16 ❌ (`1`)

  FAILURES  
 prettier  client/tests/components/abbreviations/AbbreviationTable.test.tsx  .trunk/out/m2fc7.yaml
  NOTICES  
 A tool failed to run. You can open the details yaml file for more information.
Checked 0 files
✖ No issues, 1 failure
Run trunk upgrade to upgrade 1 linter
trunk fmt client/tests/components/abbreviations/AbbreviationTable.test.tsx 7/16 ❌ (`1`)

  FAILURES  
 prettier  client/tests/components/abbreviations/AbbreviationTable.test.tsx  .trunk/out/Y5yKa.yaml
  NOTICES  
 A tool failed to run. You can open the details yaml file for more information.
Checked 0 files
✖ No issues, 1 failure
trunk fmt client/tests/components/abbreviations/AbbreviationTable.test.tsx 8/16 ❌ (`1`)

  FAILURES  
 prettier  client/tests/components/abbreviations/AbbreviationTable.test.tsx  .trunk/out/bMqdX.yaml
  NOTICES  
 A tool failed to run. You can open the details yaml file for more information.
Checked 0 files
✖ No issues, 1 failure
trunk fmt client/tests/components/abbreviations/AbbreviationTable.test.tsx 9/16 ❌ (`1`)

  FAILURES  
 prettier  client/tests/components/abbreviations/AbbreviationTable.test.tsx  .trunk/out/d763a.yaml
  NOTICES  
 A tool failed to run. You can open the details yaml file for more information.
Checked 0 files
✖ No issues, 1 failure
trunk fmt client/tests/components/abbreviations/AbbreviationTable.test.tsx 10/16 ❌ (`1`)

  FAILURES  
 prettier  client/tests/components/abbreviations/AbbreviationTable.test.tsx  .trunk/out/AIzHa.yaml
  NOTICES  
 A tool failed to run. You can open the details yaml file for more information.
Checked 0 files
✖ No issues, 1 failure
trunk fmt client/tests/components/abbreviations/AbbreviationTable.test.tsx 11/16 ❌ (`1`)

  FAILURES  
 prettier  client/tests/components/abbreviations/AbbreviationTable.test.tsx  .trunk/out/gWwAa.yaml
  NOTICES  
 A tool failed to run. You can open the details yaml file for more information.
Checked 0 files
✖ No issues, 1 failure
trunk fmt client/tests/components/abbreviations/AbbreviationTable.test.tsx 12/16 ❌ (`1`)

  FAILURES  
 prettier  client/tests/components/abbreviations/AbbreviationTable.test.tsx  .trunk/out/suvlG.yaml
  NOTICES  
 A tool failed to run. You can open the details yaml file for more information.
Checked 0 files
✖ No issues, 1 failure
trunk fmt client/tests/components/abbreviations/AbbreviationTable.test.tsx 13/16 ❌ (`1`)

  FAILURES  
 prettier  client/tests/components/abbreviations/AbbreviationTable.test.tsx  .trunk/out/p1QlY.yaml
  NOTICES  
 A tool failed to run. You can open the details yaml file for more information.
Checked 0 files
✖ No issues, 1 failure
trunk fmt client/tests/components/abbreviations/AbbreviationTable.test.tsx 14/16 ❌ (`1`)

  FAILURES  
 prettier  client/tests/components/abbreviations/AbbreviationTable.test.tsx  .trunk/out/nhE78.yaml
  NOTICES  
 A tool failed to run. You can open the details yaml file for more information.
Checked 0 files
✖ No issues, 1 failure
trunk fmt client/tests/components/abbreviations/AbbreviationTable.test.tsx 15/16 ❌ (`1`)

  FAILURES  
 prettier  client/tests/components/abbreviations/AbbreviationTable.test.tsx  .trunk/out/Alzuf.yaml
  NOTICES  
 A tool failed to run. You can open the details yaml file for more information.
Checked 0 files
✖ No issues, 1 failure
trunk fmt client/tests/components/abbreviations/AbbreviationTable.test.tsx 16/16 ❌ (`1`)

  FAILURES  
 prettier  client/tests/components/abbreviations/AbbreviationTable.test.tsx  .trunk/out/GgFYx.yaml
  NOTICES  
 A tool failed to run. You can open the details yaml file for more information.
Checked 0 files
✖ No issues, 1 failure
- [X] `client/tests/components/bullets/utils.test.ts` ✅ Commit [`a2a0eb2`](https://github.com/justinthelaw/opera/commit/a2a0eb2ae0fc4dfc066a0789b7df36282a6f4a55)
• Modify the test case in the 'optimize' describe block that is currently skipped. This will involve figuring out a way to make the `getRandomInt` function deterministic for the purpose of testing. One possible approach could be to mock the `getRandomInt` function in the test to return a predictable value. • Remove the `.skip` method from the test case to enable the test.
Sandbox Execution Logs
trunk init 1/16 ✓
⡿ Downloading Trunk 1.16.0...
⡿ Downloading Trunk 1.16.0...
⢿ Downloading Trunk 1.16.0...
⣻ Downloading Trunk 1.16.0...
⣽ Downloading Trunk 1.16.0...
⣾ Downloading Trunk 1.16.0...
⣷ Downloading Trunk 1.16.0...
✔ Downloading Trunk 1.16.0... done
⡿ Verifying Trunk sha256...
✔ Verifying Trunk sha256... done
⡿ Unpacking Trunk...
✔ Unpacking Trunk... done

✔ 15 linters were enabled (.trunk/trunk.yaml)
  actionlint 1.6.25 (5 github-workflow files)
  bandit 1.7.5 (28 python files)
  black 23.9.1 (2 jupyter, 16 python files)
  checkov 2.4.9 (12 json, 9 yaml files)
  git-diff-check (103 files)
  isort 5.12.0 (28 python files) (created .isort.cfg)
  markdownlint 0.36.0 (5 markdown files) (created .markdownlint.yaml)
  osv-scanner 1.4.0 (5 lockfile files)
  prettier 3.0.3 (1 html, 5 javascript, 9 json, 5 markdown, 17 typescript, 9 yaml files)
  ruff 0.0.290 (28 python files) (created ruff.toml)
  shellcheck 0.9.0 (8 shell files) (created .shellcheckrc)
  shfmt 3.6.0 (8 shell files)
  trivy 0.45.1 (5 lockfile, 9 yaml files)
  trufflehog 3.56.1 (106 files)
  yamllint 1.32.0 (9 yaml files) (created .yamllint.yaml)
Next Steps
 1. Read documentation
    Our documentation can be found at https://docs.trunk.io
 2. Get help and give feedback
    Join the Trunk community at https://slack.trunk.io
trunk fmt client/tests/components/bullets/utils.test.ts 2/16 ❌ (`1`)

  FAILURES  
 prettier  client/tests/components/bullets/utils.test.ts  .trunk/out/BEV0U.yaml
  NOTICES  
 A tool failed to run. You can open the details yaml file for more information.
Checked 0 files
✖ No issues, 1 failure
trunk fmt client/tests/components/bullets/utils.test.ts 3/16 ❌ (`1`)

  FAILURES  
 prettier  client/tests/components/bullets/utils.test.ts  .trunk/out/YK2a8.yaml
  NOTICES  
 A tool failed to run. You can open the details yaml file for more information.
Checked 0 files
✖ No issues, 1 failure
trunk fmt client/tests/components/bullets/utils.test.ts 4/16 ❌ (`1`)

  FAILURES  
 prettier  client/tests/components/bullets/utils.test.ts  .trunk/out/j6Ia4.yaml
  NOTICES  
 A tool failed to run. You can open the details yaml file for more information.
Checked 0 files
✖ No issues, 1 failure
trunk fmt client/tests/components/bullets/utils.test.ts 5/16 ❌ (`1`)

  FAILURES  
 prettier  client/tests/components/bullets/utils.test.ts  .trunk/out/dNXgv.yaml
  NOTICES  
 A tool failed to run. You can open the details yaml file for more information.
Checked 0 files
✖ No issues, 1 failure
trunk fmt client/tests/components/bullets/utils.test.ts 6/16 ❌ (`1`)

  FAILURES  
 prettier  client/tests/components/bullets/utils.test.ts  .trunk/out/5Czvg.yaml
  NOTICES  
 A tool failed to run. You can open the details yaml file for more information.
Checked 0 files
✖ No issues, 1 failure
Run trunk upgrade to upgrade 1 linter
trunk fmt client/tests/components/bullets/utils.test.ts 7/16 ❌ (`1`)

  FAILURES  
 prettier  client/tests/components/bullets/utils.test.ts  .trunk/out/MQURN.yaml
  NOTICES  
 A tool failed to run. You can open the details yaml file for more information.
Checked 0 files
✖ No issues, 1 failure
trunk fmt client/tests/components/bullets/utils.test.ts 8/16 ❌ (`1`)

  FAILURES  
 prettier  client/tests/components/bullets/utils.test.ts  .trunk/out/DNG5P.yaml
  NOTICES  
 A tool failed to run. You can open the details yaml file for more information.
Checked 0 files
✖ No issues, 1 failure
trunk fmt client/tests/components/bullets/utils.test.ts 9/16 ❌ (`1`)

  FAILURES  
 prettier  client/tests/components/bullets/utils.test.ts  .trunk/out/zh3Gv.yaml
  NOTICES  
 A tool failed to run. You can open the details yaml file for more information.
Checked 0 files
✖ No issues, 1 failure
trunk fmt client/tests/components/bullets/utils.test.ts 10/16 ❌ (`1`)

  FAILURES  
 prettier  client/tests/components/bullets/utils.test.ts  .trunk/out/eVmdl.yaml
  NOTICES  
 A tool failed to run. You can open the details yaml file for more information.
Checked 0 files
✖ No issues, 1 failure
trunk fmt client/tests/components/bullets/utils.test.ts 11/16 ❌ (`1`)

  FAILURES  
 prettier  client/tests/components/bullets/utils.test.ts  .trunk/out/RPXs4.yaml
  NOTICES  
 A tool failed to run. You can open the details yaml file for more information.
Checked 0 files
✖ No issues, 1 failure
trunk fmt client/tests/components/bullets/utils.test.ts 12/16 ❌ (`1`)

  FAILURES  
 prettier  client/tests/components/bullets/utils.test.ts  .trunk/out/0DmSQ.yaml
  NOTICES  
 A tool failed to run. You can open the details yaml file for more information.
Checked 0 files
✖ No issues, 1 failure
trunk fmt client/tests/components/bullets/utils.test.ts 13/16 ❌ (`1`)

  FAILURES  
 prettier  client/tests/components/bullets/utils.test.ts  .trunk/out/sVD4n.yaml
  NOTICES  
 A tool failed to run. You can open the details yaml file for more information.
Checked 0 files
✖ No issues, 1 failure
trunk fmt client/tests/components/bullets/utils.test.ts 14/16 ❌ (`1`)

  FAILURES  
 prettier  client/tests/components/bullets/utils.test.ts  .trunk/out/7k01R.yaml
  NOTICES  
 A tool failed to run. You can open the details yaml file for more information.
Checked 0 files
✖ No issues, 1 failure
trunk fmt client/tests/components/bullets/utils.test.ts 15/16 ❌ (`1`)

  FAILURES  
 prettier  client/tests/components/bullets/utils.test.ts  .trunk/out/9cuS3.yaml
  NOTICES  
 A tool failed to run. You can open the details yaml file for more information.
Checked 0 files
✖ No issues, 1 failure
trunk fmt client/tests/components/bullets/utils.test.ts 16/16 ❌ (`1`)

  FAILURES  
 prettier  client/tests/components/bullets/utils.test.ts  .trunk/out/QuSfd.yaml
  NOTICES  
 A tool failed to run. You can open the details yaml file for more information.
Checked 0 files
✖ No issues, 1 failure
- [X] `client/src/components/bullets/utils.ts` ✅ Commit [`ebef71d`](https://github.com/justinthelaw/opera/commit/ebef71d119428efde34a47b05c730064f677d8e9)
• If necessary, modify the `getRandomInt` function to allow for deterministic testing. This could involve adding an optional parameter to the function that is used to seed the random number generator, which can be used in the tests to produce predictable results.
Sandbox Execution Logs
trunk init 1/16 ✓
⡿ Downloading Trunk 1.16.0...
⡿ Downloading Trunk 1.16.0...
⢿ Downloading Trunk 1.16.0...
⣻ Downloading Trunk 1.16.0...
⣽ Downloading Trunk 1.16.0...
⣾ Downloading Trunk 1.16.0...
⣷ Downloading Trunk 1.16.0...
✔ Downloading Trunk 1.16.0... done
⡿ Verifying Trunk sha256...
✔ Verifying Trunk sha256... done
⡿ Unpacking Trunk...
✔ Unpacking Trunk... done

✔ 15 linters were enabled (.trunk/trunk.yaml)
  actionlint 1.6.25 (5 github-workflow files)
  bandit 1.7.5 (28 python files)
  black 23.9.1 (2 jupyter, 16 python files)
  checkov 2.4.9 (12 json, 9 yaml files)
  git-diff-check (103 files)
  isort 5.12.0 (28 python files) (created .isort.cfg)
  markdownlint 0.36.0 (5 markdown files) (created .markdownlint.yaml)
  osv-scanner 1.4.0 (5 lockfile files)
  prettier 3.0.3 (1 html, 5 javascript, 9 json, 5 markdown, 17 typescript, 9 yaml files)
  ruff 0.0.290 (28 python files) (created ruff.toml)
  shellcheck 0.9.0 (8 shell files) (created .shellcheckrc)
  shfmt 3.6.0 (8 shell files)
  trivy 0.45.1 (5 lockfile, 9 yaml files)
  trufflehog 3.56.1 (106 files)
  yamllint 1.32.0 (9 yaml files) (created .yamllint.yaml)
Next Steps
 1. Read documentation
    Our documentation can be found at https://docs.trunk.io
 2. Get help and give feedback
    Join the Trunk community at https://slack.trunk.io
trunk fmt client/src/components/bullets/utils.ts 2/16 ❌ (`1`)

  FAILURES  
 prettier  client/src/components/bullets/utils.ts  .trunk/out/sWLrb.yaml
  NOTICES  
 A tool failed to run. You can open the details yaml file for more information.
Checked 0 files
✖ No issues, 1 failure
trunk fmt client/src/components/bullets/utils.ts 3/16 ❌ (`1`)

  FAILURES  
 prettier  client/src/components/bullets/utils.ts  .trunk/out/YpBft.yaml
  NOTICES  
 A tool failed to run. You can open the details yaml file for more information.
Checked 0 files
✖ No issues, 1 failure
trunk fmt client/src/components/bullets/utils.ts 4/16 ❌ (`1`)

  FAILURES  
 prettier  client/src/components/bullets/utils.ts  .trunk/out/hpY7Q.yaml
  NOTICES  
 A tool failed to run. You can open the details yaml file for more information.
Checked 0 files
✖ No issues, 1 failure
trunk fmt client/src/components/bullets/utils.ts 5/16 ❌ (`1`)

  FAILURES  
 prettier  client/src/components/bullets/utils.ts  .trunk/out/6Ayyj.yaml
  NOTICES  
 A tool failed to run. You can open the details yaml file for more information.
Checked 0 files
✖ No issues, 1 failure
trunk fmt client/src/components/bullets/utils.ts 6/16 ❌ (`1`)

  FAILURES  
 prettier  client/src/components/bullets/utils.ts  .trunk/out/HRBsq.yaml
  NOTICES  
 A tool failed to run. You can open the details yaml file for more information.
Checked 0 files
✖ No issues, 1 failure
Run trunk upgrade to upgrade 1 linter
trunk fmt client/src/components/bullets/utils.ts 7/16 ❌ (`1`)

  FAILURES  
 prettier  client/src/components/bullets/utils.ts  .trunk/out/P6KZ6.yaml
  NOTICES  
 A tool failed to run. You can open the details yaml file for more information.
Checked 0 files
✖ No issues, 1 failure
trunk fmt client/src/components/bullets/utils.ts 8/16 ❌ (`1`)

  FAILURES  
 prettier  client/src/components/bullets/utils.ts  .trunk/out/0RWpl.yaml
  NOTICES  
 A tool failed to run. You can open the details yaml file for more information.
Checked 0 files
✖ No issues, 1 failure
trunk fmt client/src/components/bullets/utils.ts 9/16 ❌ (`1`)

  FAILURES  
 prettier  client/src/components/bullets/utils.ts  .trunk/out/u74Tu.yaml
  NOTICES  
 A tool failed to run. You can open the details yaml file for more information.
Checked 0 files
✖ No issues, 1 failure
trunk fmt client/src/components/bullets/utils.ts 10/16 ❌ (`1`)

  FAILURES  
 prettier  client/src/components/bullets/utils.ts  .trunk/out/uWGhB.yaml
  NOTICES  
 A tool failed to run. You can open the details yaml file for more information.
Checked 0 files
✖ No issues, 1 failure
trunk fmt client/src/components/bullets/utils.ts 11/16 ❌ (`1`)

  FAILURES  
 prettier  client/src/components/bullets/utils.ts  .trunk/out/knoeZ.yaml
  NOTICES  
 A tool failed to run. You can open the details yaml file for more information.
Checked 0 files
✖ No issues, 1 failure
trunk fmt client/src/components/bullets/utils.ts 12/16 ❌ (`1`)

  FAILURES  
 prettier  client/src/components/bullets/utils.ts  .trunk/out/C3ZSQ.yaml
  NOTICES  
 A tool failed to run. You can open the details yaml file for more information.
Checked 0 files
✖ No issues, 1 failure
trunk fmt client/src/components/bullets/utils.ts 13/16 ❌ (`1`)

  FAILURES  
 prettier  client/src/components/bullets/utils.ts  .trunk/out/uessb.yaml
  NOTICES  
 A tool failed to run. You can open the details yaml file for more information.
Checked 0 files
✖ No issues, 1 failure
trunk fmt client/src/components/bullets/utils.ts 14/16 ❌ (`1`)

  FAILURES  
 prettier  client/src/components/bullets/utils.ts  .trunk/out/Pk1Mh.yaml
  NOTICES  
 A tool failed to run. You can open the details yaml file for more information.
Checked 0 files
✖ No issues, 1 failure
trunk fmt client/src/components/bullets/utils.ts 15/16 ❌ (`1`)

  FAILURES  
 prettier  client/src/components/bullets/utils.ts  .trunk/out/C5F4o.yaml
  NOTICES  
 A tool failed to run. You can open the details yaml file for more information.
Checked 0 files
✖ No issues, 1 failure
trunk fmt client/src/components/bullets/utils.ts 16/16 ❌ (`1`)

  FAILURES  
 prettier  client/src/components/bullets/utils.ts  .trunk/out/7O8ol.yaml
  NOTICES  
 A tool failed to run. You can open the details yaml file for more information.
Checked 0 files
✖ No issues, 1 failure
- [X] `client/src/components/abbreviations/AbbreviationTable.tsx` ✅ Commit [`212a6e9`](https://github.com/justinthelaw/opera/commit/212a6e9b72444f3e3f129015bf1bdf76a06e5b05)
• If necessary, modify the `AbbreviationTable` component to ensure that it correctly calls the `setData` function when the table data changes. This could involve examining the `update` function and the `afterChange`, `afterRemoveRow`, and `afterCreateRow` props of the `HotTable` component.
Sandbox Execution Logs
trunk init 1/16 ✓
⡿ Downloading Trunk 1.16.0...
⡿ Downloading Trunk 1.16.0...
⢿ Downloading Trunk 1.16.0...
⣻ Downloading Trunk 1.16.0...
⣽ Downloading Trunk 1.16.0...
⣾ Downloading Trunk 1.16.0...
⣷ Downloading Trunk 1.16.0...
✔ Downloading Trunk 1.16.0... done
⡿ Verifying Trunk sha256...
✔ Verifying Trunk sha256... done
⡿ Unpacking Trunk...
✔ Unpacking Trunk... done

✔ 15 linters were enabled (.trunk/trunk.yaml)
  actionlint 1.6.25 (5 github-workflow files)
  bandit 1.7.5 (28 python files)
  black 23.9.1 (2 jupyter, 16 python files)
  checkov 2.4.9 (12 json, 9 yaml files)
  git-diff-check (103 files)
  isort 5.12.0 (28 python files) (created .isort.cfg)
  markdownlint 0.36.0 (5 markdown files) (created .markdownlint.yaml)
  osv-scanner 1.4.0 (5 lockfile files)
  prettier 3.0.3 (1 html, 5 javascript, 9 json, 5 markdown, 17 typescript, 9 yaml files)
  ruff 0.0.290 (28 python files) (created ruff.toml)
  shellcheck 0.9.0 (8 shell files) (created .shellcheckrc)
  shfmt 3.6.0 (8 shell files)
  trivy 0.45.1 (5 lockfile, 9 yaml files)
  trufflehog 3.56.1 (106 files)
  yamllint 1.32.0 (9 yaml files) (created .yamllint.yaml)
Next Steps
 1. Read documentation
    Our documentation can be found at https://docs.trunk.io
 2. Get help and give feedback
    Join the Trunk community at https://slack.trunk.io
trunk fmt client/src/components/abbreviations/AbbreviationTable.tsx 2/16 ❌ (`1`)

  FAILURES  
 prettier  client/src/components/abbreviations/AbbreviationTable.tsx  .trunk/out/eIMOG.yaml
  NOTICES  
 A tool failed to run. You can open the details yaml file for more information.
Checked 0 files
✖ No issues, 1 failure
trunk fmt client/src/components/abbreviations/AbbreviationTable.tsx 3/16 ❌ (`1`)

  FAILURES  
 prettier  client/src/components/abbreviations/AbbreviationTable.tsx  .trunk/out/pA1Zv.yaml
  NOTICES  
 A tool failed to run. You can open the details yaml file for more information.
Checked 0 files
✖ No issues, 1 failure
trunk fmt client/src/components/abbreviations/AbbreviationTable.tsx 4/16 ❌ (`1`)

  FAILURES  
 prettier  client/src/components/abbreviations/AbbreviationTable.tsx  .trunk/out/kIFhb.yaml
  NOTICES  
 A tool failed to run. You can open the details yaml file for more information.
Checked 0 files
✖ No issues, 1 failure
trunk fmt client/src/components/abbreviations/AbbreviationTable.tsx 5/16 ❌ (`1`)

  FAILURES  
 prettier  client/src/components/abbreviations/AbbreviationTable.tsx  .trunk/out/znnmn.yaml
  NOTICES  
 A tool failed to run. You can open the details yaml file for more information.
Checked 0 files
✖ No issues, 1 failure
trunk fmt client/src/components/abbreviations/AbbreviationTable.tsx 6/16 ❌ (`1`)

  FAILURES  
 prettier  client/src/components/abbreviations/AbbreviationTable.tsx  .trunk/out/lg1tk.yaml
  NOTICES  
 A tool failed to run. You can open the details yaml file for more information.
Checked 0 files
✖ No issues, 1 failure
Run trunk upgrade to upgrade 1 linter
trunk fmt client/src/components/abbreviations/AbbreviationTable.tsx 7/16 ❌ (`1`)

  FAILURES  
 prettier  client/src/components/abbreviations/AbbreviationTable.tsx  .trunk/out/EC9Zl.yaml
  NOTICES  
 A tool failed to run. You can open the details yaml file for more information.
Checked 0 files
✖ No issues, 1 failure
trunk fmt client/src/components/abbreviations/AbbreviationTable.tsx 8/16 ❌ (`1`)

  FAILURES  
 prettier  client/src/components/abbreviations/AbbreviationTable.tsx  .trunk/out/187Cu.yaml
  NOTICES  
 A tool failed to run. You can open the details yaml file for more information.
Checked 0 files
✖ No issues, 1 failure
trunk fmt client/src/components/abbreviations/AbbreviationTable.tsx 9/16 ❌ (`1`)

  FAILURES  
 prettier  client/src/components/abbreviations/AbbreviationTable.tsx  .trunk/out/aYS4f.yaml
  NOTICES  
 A tool failed to run. You can open the details yaml file for more information.
Checked 0 files
✖ No issues, 1 failure
trunk fmt client/src/components/abbreviations/AbbreviationTable.tsx 10/16 ❌ (`1`)

  FAILURES  
 prettier  client/src/components/abbreviations/AbbreviationTable.tsx  .trunk/out/bgiB2.yaml
  NOTICES  
 A tool failed to run. You can open the details yaml file for more information.
Checked 0 files
✖ No issues, 1 failure
trunk fmt client/src/components/abbreviations/AbbreviationTable.tsx 11/16 ❌ (`1`)

  FAILURES  
 prettier  client/src/components/abbreviations/AbbreviationTable.tsx  .trunk/out/ngKqX.yaml
  NOTICES  
 A tool failed to run. You can open the details yaml file for more information.
Checked 0 files
✖ No issues, 1 failure
trunk fmt client/src/components/abbreviations/AbbreviationTable.tsx 12/16 ❌ (`1`)

  FAILURES  
 prettier  client/src/components/abbreviations/AbbreviationTable.tsx  .trunk/out/5ZFtN.yaml
  NOTICES  
 A tool failed to run. You can open the details yaml file for more information.
Checked 0 files
✖ No issues, 1 failure
trunk fmt client/src/components/abbreviations/AbbreviationTable.tsx 13/16 ❌ (`1`)

  FAILURES  
 prettier  client/src/components/abbreviations/AbbreviationTable.tsx  .trunk/out/WVcKy.yaml
  NOTICES  
 A tool failed to run. You can open the details yaml file for more information.
Checked 0 files
✖ No issues, 1 failure
trunk fmt client/src/components/abbreviations/AbbreviationTable.tsx 14/16 ❌ (`1`)

  FAILURES  
 prettier  client/src/components/abbreviations/AbbreviationTable.tsx  .trunk/out/SWoIz.yaml
  NOTICES  
 A tool failed to run. You can open the details yaml file for more information.
Checked 0 files
✖ No issues, 1 failure
trunk fmt client/src/components/abbreviations/AbbreviationTable.tsx 15/16 ❌ (`1`)

  FAILURES  
 prettier  client/src/components/abbreviations/AbbreviationTable.tsx  .trunk/out/B4Zd2.yaml
  NOTICES  
 A tool failed to run. You can open the details yaml file for more information.
Checked 0 files
✖ No issues, 1 failure
trunk fmt client/src/components/abbreviations/AbbreviationTable.tsx 16/16 ❌ (`1`)

  FAILURES  
 prettier  client/src/components/abbreviations/AbbreviationTable.tsx  .trunk/out/8TJfT.yaml
  NOTICES  
 A tool failed to run. You can open the details yaml file for more information.
Checked 0 files
✖ No issues, 1 failure
sweep-ai[bot] commented 1 year ago

Here's the PR! https://github.com/justinthelaw/opera/pull/184.

⚡ Sweep Free Trial: I used GPT-4 to create this ticket. You have 4 GPT-4 tickets left for the month and 2 for the day. For more GPT-4 tickets, visit our payment portal.


Actions (click)


Step 1: 🔎 Searching

I found the following snippets in your repository. I will now analyze these snippets and come up with a plan.

Some code snippets I looked at (click to expand). If some file is missing from here, you can mention the path in the ticket description. https://github.com/justinthelaw/opera/blob/3db3ce4925feca841a47ed6de018e5d69ba63e13/client/src/components/abbreviations/AbbreviationTable.tsx#L1-L81 https://github.com/justinthelaw/opera/blob/3db3ce4925feca841a47ed6de018e5d69ba63e13/client/src/components/bullets/utils.ts#L1-L252 https://github.com/justinthelaw/opera/blob/3db3ce4925feca841a47ed6de018e5d69ba63e13/client/tests/components/abbreviations/AbbreviationTable.test.tsx#L1-L117 https://github.com/justinthelaw/opera/blob/3db3ce4925feca841a47ed6de018e5d69ba63e13/client/tests/components/bullets/utils.test.ts#L1-L281 https://github.com/justinthelaw/opera/blob/3db3ce4925feca841a47ed6de018e5d69ba63e13/forge/bullets/notebooks/scripts/bullet_scraper.py#L7-L117

I also found some related docs:


Step 2: ⌨️ Coding

trunk init 1/16 ✓
⡿ Downloading Trunk 1.16.0...
⡿ Downloading Trunk 1.16.0...
⢿ Downloading Trunk 1.16.0...
⣻ Downloading Trunk 1.16.0...
⣽ Downloading Trunk 1.16.0...
⣾ Downloading Trunk 1.16.0...
⣷ Downloading Trunk 1.16.0...
✔ Downloading Trunk 1.16.0... done
⡿ Verifying Trunk sha256...
✔ Verifying Trunk sha256... done
⡿ Unpacking Trunk...
✔ Unpacking Trunk... done

✔ 15 linters were enabled (.trunk/trunk.yaml)
  actionlint 1.6.25 (5 github-workflow files)
  bandit 1.7.5 (28 python files)
  black 23.9.1 (2 jupyter, 16 python files)
  checkov 2.4.9 (12 json, 9 yaml files)
  git-diff-check (103 files)
  isort 5.12.0 (28 python files) (created .isort.cfg)
  markdownlint 0.36.0 (5 markdown files) (created .markdownlint.yaml)
  osv-scanner 1.4.0 (5 lockfile files)
  prettier 3.0.3 (1 html, 5 javascript, 9 json, 5 markdown, 17 typescript, 9 yaml files)
  ruff 0.0.290 (28 python files) (created ruff.toml)
  shellcheck 0.9.0 (8 shell files) (created .shellcheckrc)
  shfmt 3.6.0 (8 shell files)
  trivy 0.45.1 (5 lockfile, 9 yaml files)
  trufflehog 3.56.1 (106 files)
  yamllint 1.32.0 (9 yaml files) (created .yamllint.yaml)
Next Steps
 1. Read documentation
    Our documentation can be found at https://docs.trunk.io
 2. Get help and give feedback
    Join the Trunk community at https://slack.trunk.io
trunk fmt client/tests/components/abbreviations/AbbreviationTable.test.tsx 2/16 ❌ (`1`)

  FAILURES  
 prettier  client/tests/components/abbreviations/AbbreviationTable.test.tsx  .trunk/out/jD8VG.yaml
  NOTICES  
 A tool failed to run. You can open the details yaml file for more information.
Checked 0 files
✖ No issues, 1 failure
trunk fmt client/tests/components/abbreviations/AbbreviationTable.test.tsx 3/16 ❌ (`1`)

  FAILURES  
 prettier  client/tests/components/abbreviations/AbbreviationTable.test.tsx  .trunk/out/TyzxK.yaml
  NOTICES  
 A tool failed to run. You can open the details yaml file for more information.
Checked 0 files
✖ No issues, 1 failure
trunk fmt client/tests/components/abbreviations/AbbreviationTable.test.tsx 4/16 ❌ (`1`)

  FAILURES  
 prettier  client/tests/components/abbreviations/AbbreviationTable.test.tsx  .trunk/out/Yjtuo.yaml
  NOTICES  
 A tool failed to run. You can open the details yaml file for more information.
Checked 0 files
✖ No issues, 1 failure
trunk fmt client/tests/components/abbreviations/AbbreviationTable.test.tsx 5/16 ❌ (`1`)

  FAILURES  
 prettier  client/tests/components/abbreviations/AbbreviationTable.test.tsx  .trunk/out/1k9lW.yaml
  NOTICES  
 A tool failed to run. You can open the details yaml file for more information.
Checked 0 files
✖ No issues, 1 failure
trunk fmt client/tests/components/abbreviations/AbbreviationTable.test.tsx 6/16 ❌ (`1`)

  FAILURES  
 prettier  client/tests/components/abbreviations/AbbreviationTable.test.tsx  .trunk/out/m2fc7.yaml
  NOTICES  
 A tool failed to run. You can open the details yaml file for more information.
Checked 0 files
✖ No issues, 1 failure
Run trunk upgrade to upgrade 1 linter
trunk fmt client/tests/components/abbreviations/AbbreviationTable.test.tsx 7/16 ❌ (`1`)

  FAILURES  
 prettier  client/tests/components/abbreviations/AbbreviationTable.test.tsx  .trunk/out/Y5yKa.yaml
  NOTICES  
 A tool failed to run. You can open the details yaml file for more information.
Checked 0 files
✖ No issues, 1 failure
trunk fmt client/tests/components/abbreviations/AbbreviationTable.test.tsx 8/16 ❌ (`1`)

  FAILURES  
 prettier  client/tests/components/abbreviations/AbbreviationTable.test.tsx  .trunk/out/bMqdX.yaml
  NOTICES  
 A tool failed to run. You can open the details yaml file for more information.
Checked 0 files
✖ No issues, 1 failure
trunk fmt client/tests/components/abbreviations/AbbreviationTable.test.tsx 9/16 ❌ (`1`)

  FAILURES  
 prettier  client/tests/components/abbreviations/AbbreviationTable.test.tsx  .trunk/out/d763a.yaml
  NOTICES  
 A tool failed to run. You can open the details yaml file for more information.
Checked 0 files
✖ No issues, 1 failure
trunk fmt client/tests/components/abbreviations/AbbreviationTable.test.tsx 10/16 ❌ (`1`)

  FAILURES  
 prettier  client/tests/components/abbreviations/AbbreviationTable.test.tsx  .trunk/out/AIzHa.yaml
  NOTICES  
 A tool failed to run. You can open the details yaml file for more information.
Checked 0 files
✖ No issues, 1 failure
trunk fmt client/tests/components/abbreviations/AbbreviationTable.test.tsx 11/16 ❌ (`1`)

  FAILURES  
 prettier  client/tests/components/abbreviations/AbbreviationTable.test.tsx  .trunk/out/gWwAa.yaml
  NOTICES  
 A tool failed to run. You can open the details yaml file for more information.
Checked 0 files
✖ No issues, 1 failure
trunk fmt client/tests/components/abbreviations/AbbreviationTable.test.tsx 12/16 ❌ (`1`)

  FAILURES  
 prettier  client/tests/components/abbreviations/AbbreviationTable.test.tsx  .trunk/out/suvlG.yaml
  NOTICES  
 A tool failed to run. You can open the details yaml file for more information.
Checked 0 files
✖ No issues, 1 failure
trunk fmt client/tests/components/abbreviations/AbbreviationTable.test.tsx 13/16 ❌ (`1`)

  FAILURES  
 prettier  client/tests/components/abbreviations/AbbreviationTable.test.tsx  .trunk/out/p1QlY.yaml
  NOTICES  
 A tool failed to run. You can open the details yaml file for more information.
Checked 0 files
✖ No issues, 1 failure
trunk fmt client/tests/components/abbreviations/AbbreviationTable.test.tsx 14/16 ❌ (`1`)

  FAILURES  
 prettier  client/tests/components/abbreviations/AbbreviationTable.test.tsx  .trunk/out/nhE78.yaml
  NOTICES  
 A tool failed to run. You can open the details yaml file for more information.
Checked 0 files
✖ No issues, 1 failure
trunk fmt client/tests/components/abbreviations/AbbreviationTable.test.tsx 15/16 ❌ (`1`)

  FAILURES  
 prettier  client/tests/components/abbreviations/AbbreviationTable.test.tsx  .trunk/out/Alzuf.yaml
  NOTICES  
 A tool failed to run. You can open the details yaml file for more information.
Checked 0 files
✖ No issues, 1 failure
trunk fmt client/tests/components/abbreviations/AbbreviationTable.test.tsx 16/16 ❌ (`1`)

  FAILURES  
 prettier  client/tests/components/abbreviations/AbbreviationTable.test.tsx  .trunk/out/GgFYx.yaml
  NOTICES  
 A tool failed to run. You can open the details yaml file for more information.
Checked 0 files
✖ No issues, 1 failure

trunk init 1/16 ✓
⡿ Downloading Trunk 1.16.0...
⡿ Downloading Trunk 1.16.0...
⢿ Downloading Trunk 1.16.0...
⣻ Downloading Trunk 1.16.0...
⣽ Downloading Trunk 1.16.0...
⣾ Downloading Trunk 1.16.0...
⣷ Downloading Trunk 1.16.0...
✔ Downloading Trunk 1.16.0... done
⡿ Verifying Trunk sha256...
✔ Verifying Trunk sha256... done
⡿ Unpacking Trunk...
✔ Unpacking Trunk... done

✔ 15 linters were enabled (.trunk/trunk.yaml)
  actionlint 1.6.25 (5 github-workflow files)
  bandit 1.7.5 (28 python files)
  black 23.9.1 (2 jupyter, 16 python files)
  checkov 2.4.9 (12 json, 9 yaml files)
  git-diff-check (103 files)
  isort 5.12.0 (28 python files) (created .isort.cfg)
  markdownlint 0.36.0 (5 markdown files) (created .markdownlint.yaml)
  osv-scanner 1.4.0 (5 lockfile files)
  prettier 3.0.3 (1 html, 5 javascript, 9 json, 5 markdown, 17 typescript, 9 yaml files)
  ruff 0.0.290 (28 python files) (created ruff.toml)
  shellcheck 0.9.0 (8 shell files) (created .shellcheckrc)
  shfmt 3.6.0 (8 shell files)
  trivy 0.45.1 (5 lockfile, 9 yaml files)
  trufflehog 3.56.1 (106 files)
  yamllint 1.32.0 (9 yaml files) (created .yamllint.yaml)
Next Steps
 1. Read documentation
    Our documentation can be found at https://docs.trunk.io
 2. Get help and give feedback
    Join the Trunk community at https://slack.trunk.io
trunk fmt client/tests/components/bullets/utils.test.ts 2/16 ❌ (`1`)

  FAILURES  
 prettier  client/tests/components/bullets/utils.test.ts  .trunk/out/BEV0U.yaml
  NOTICES  
 A tool failed to run. You can open the details yaml file for more information.
Checked 0 files
✖ No issues, 1 failure
trunk fmt client/tests/components/bullets/utils.test.ts 3/16 ❌ (`1`)

  FAILURES  
 prettier  client/tests/components/bullets/utils.test.ts  .trunk/out/YK2a8.yaml
  NOTICES  
 A tool failed to run. You can open the details yaml file for more information.
Checked 0 files
✖ No issues, 1 failure
trunk fmt client/tests/components/bullets/utils.test.ts 4/16 ❌ (`1`)

  FAILURES  
 prettier  client/tests/components/bullets/utils.test.ts  .trunk/out/j6Ia4.yaml
  NOTICES  
 A tool failed to run. You can open the details yaml file for more information.
Checked 0 files
✖ No issues, 1 failure
trunk fmt client/tests/components/bullets/utils.test.ts 5/16 ❌ (`1`)

  FAILURES  
 prettier  client/tests/components/bullets/utils.test.ts  .trunk/out/dNXgv.yaml
  NOTICES  
 A tool failed to run. You can open the details yaml file for more information.
Checked 0 files
✖ No issues, 1 failure
trunk fmt client/tests/components/bullets/utils.test.ts 6/16 ❌ (`1`)

  FAILURES  
 prettier  client/tests/components/bullets/utils.test.ts  .trunk/out/5Czvg.yaml
  NOTICES  
 A tool failed to run. You can open the details yaml file for more information.
Checked 0 files
✖ No issues, 1 failure
Run trunk upgrade to upgrade 1 linter
trunk fmt client/tests/components/bullets/utils.test.ts 7/16 ❌ (`1`)

  FAILURES  
 prettier  client/tests/components/bullets/utils.test.ts  .trunk/out/MQURN.yaml
  NOTICES  
 A tool failed to run. You can open the details yaml file for more information.
Checked 0 files
✖ No issues, 1 failure
trunk fmt client/tests/components/bullets/utils.test.ts 8/16 ❌ (`1`)

  FAILURES  
 prettier  client/tests/components/bullets/utils.test.ts  .trunk/out/DNG5P.yaml
  NOTICES  
 A tool failed to run. You can open the details yaml file for more information.
Checked 0 files
✖ No issues, 1 failure
trunk fmt client/tests/components/bullets/utils.test.ts 9/16 ❌ (`1`)

  FAILURES  
 prettier  client/tests/components/bullets/utils.test.ts  .trunk/out/zh3Gv.yaml
  NOTICES  
 A tool failed to run. You can open the details yaml file for more information.
Checked 0 files
✖ No issues, 1 failure
trunk fmt client/tests/components/bullets/utils.test.ts 10/16 ❌ (`1`)

  FAILURES  
 prettier  client/tests/components/bullets/utils.test.ts  .trunk/out/eVmdl.yaml
  NOTICES  
 A tool failed to run. You can open the details yaml file for more information.
Checked 0 files
✖ No issues, 1 failure
trunk fmt client/tests/components/bullets/utils.test.ts 11/16 ❌ (`1`)

  FAILURES  
 prettier  client/tests/components/bullets/utils.test.ts  .trunk/out/RPXs4.yaml
  NOTICES  
 A tool failed to run. You can open the details yaml file for more information.
Checked 0 files
✖ No issues, 1 failure
trunk fmt client/tests/components/bullets/utils.test.ts 12/16 ❌ (`1`)

  FAILURES  
 prettier  client/tests/components/bullets/utils.test.ts  .trunk/out/0DmSQ.yaml
  NOTICES  
 A tool failed to run. You can open the details yaml file for more information.
Checked 0 files
✖ No issues, 1 failure
trunk fmt client/tests/components/bullets/utils.test.ts 13/16 ❌ (`1`)

  FAILURES  
 prettier  client/tests/components/bullets/utils.test.ts  .trunk/out/sVD4n.yaml
  NOTICES  
 A tool failed to run. You can open the details yaml file for more information.
Checked 0 files
✖ No issues, 1 failure
trunk fmt client/tests/components/bullets/utils.test.ts 14/16 ❌ (`1`)

  FAILURES  
 prettier  client/tests/components/bullets/utils.test.ts  .trunk/out/7k01R.yaml
  NOTICES  
 A tool failed to run. You can open the details yaml file for more information.
Checked 0 files
✖ No issues, 1 failure
trunk fmt client/tests/components/bullets/utils.test.ts 15/16 ❌ (`1`)

  FAILURES  
 prettier  client/tests/components/bullets/utils.test.ts  .trunk/out/9cuS3.yaml
  NOTICES  
 A tool failed to run. You can open the details yaml file for more information.
Checked 0 files
✖ No issues, 1 failure
trunk fmt client/tests/components/bullets/utils.test.ts 16/16 ❌ (`1`)

  FAILURES  
 prettier  client/tests/components/bullets/utils.test.ts  .trunk/out/QuSfd.yaml
  NOTICES  
 A tool failed to run. You can open the details yaml file for more information.
Checked 0 files
✖ No issues, 1 failure

trunk init 1/16 ✓
⡿ Downloading Trunk 1.16.0...
⡿ Downloading Trunk 1.16.0...
⢿ Downloading Trunk 1.16.0...
⣻ Downloading Trunk 1.16.0...
⣽ Downloading Trunk 1.16.0...
⣾ Downloading Trunk 1.16.0...
⣷ Downloading Trunk 1.16.0...
✔ Downloading Trunk 1.16.0... done
⡿ Verifying Trunk sha256...
✔ Verifying Trunk sha256... done
⡿ Unpacking Trunk...
✔ Unpacking Trunk... done

✔ 15 linters were enabled (.trunk/trunk.yaml)
  actionlint 1.6.25 (5 github-workflow files)
  bandit 1.7.5 (28 python files)
  black 23.9.1 (2 jupyter, 16 python files)
  checkov 2.4.9 (12 json, 9 yaml files)
  git-diff-check (103 files)
  isort 5.12.0 (28 python files) (created .isort.cfg)
  markdownlint 0.36.0 (5 markdown files) (created .markdownlint.yaml)
  osv-scanner 1.4.0 (5 lockfile files)
  prettier 3.0.3 (1 html, 5 javascript, 9 json, 5 markdown, 17 typescript, 9 yaml files)
  ruff 0.0.290 (28 python files) (created ruff.toml)
  shellcheck 0.9.0 (8 shell files) (created .shellcheckrc)
  shfmt 3.6.0 (8 shell files)
  trivy 0.45.1 (5 lockfile, 9 yaml files)
  trufflehog 3.56.1 (106 files)
  yamllint 1.32.0 (9 yaml files) (created .yamllint.yaml)
Next Steps
 1. Read documentation
    Our documentation can be found at https://docs.trunk.io
 2. Get help and give feedback
    Join the Trunk community at https://slack.trunk.io
trunk fmt client/src/components/bullets/utils.ts 2/16 ❌ (`1`)

  FAILURES  
 prettier  client/src/components/bullets/utils.ts  .trunk/out/sWLrb.yaml
  NOTICES  
 A tool failed to run. You can open the details yaml file for more information.
Checked 0 files
✖ No issues, 1 failure
trunk fmt client/src/components/bullets/utils.ts 3/16 ❌ (`1`)

  FAILURES  
 prettier  client/src/components/bullets/utils.ts  .trunk/out/YpBft.yaml
  NOTICES  
 A tool failed to run. You can open the details yaml file for more information.
Checked 0 files
✖ No issues, 1 failure
trunk fmt client/src/components/bullets/utils.ts 4/16 ❌ (`1`)

  FAILURES  
 prettier  client/src/components/bullets/utils.ts  .trunk/out/hpY7Q.yaml
  NOTICES  
 A tool failed to run. You can open the details yaml file for more information.
Checked 0 files
✖ No issues, 1 failure
trunk fmt client/src/components/bullets/utils.ts 5/16 ❌ (`1`)

  FAILURES  
 prettier  client/src/components/bullets/utils.ts  .trunk/out/6Ayyj.yaml
  NOTICES  
 A tool failed to run. You can open the details yaml file for more information.
Checked 0 files
✖ No issues, 1 failure
trunk fmt client/src/components/bullets/utils.ts 6/16 ❌ (`1`)

  FAILURES  
 prettier  client/src/components/bullets/utils.ts  .trunk/out/HRBsq.yaml
  NOTICES  
 A tool failed to run. You can open the details yaml file for more information.
Checked 0 files
✖ No issues, 1 failure
Run trunk upgrade to upgrade 1 linter
trunk fmt client/src/components/bullets/utils.ts 7/16 ❌ (`1`)

  FAILURES  
 prettier  client/src/components/bullets/utils.ts  .trunk/out/P6KZ6.yaml
  NOTICES  
 A tool failed to run. You can open the details yaml file for more information.
Checked 0 files
✖ No issues, 1 failure
trunk fmt client/src/components/bullets/utils.ts 8/16 ❌ (`1`)

  FAILURES  
 prettier  client/src/components/bullets/utils.ts  .trunk/out/0RWpl.yaml
  NOTICES  
 A tool failed to run. You can open the details yaml file for more information.
Checked 0 files
✖ No issues, 1 failure
trunk fmt client/src/components/bullets/utils.ts 9/16 ❌ (`1`)

  FAILURES  
 prettier  client/src/components/bullets/utils.ts  .trunk/out/u74Tu.yaml
  NOTICES  
 A tool failed to run. You can open the details yaml file for more information.
Checked 0 files
✖ No issues, 1 failure
trunk fmt client/src/components/bullets/utils.ts 10/16 ❌ (`1`)

  FAILURES  
 prettier  client/src/components/bullets/utils.ts  .trunk/out/uWGhB.yaml
  NOTICES  
 A tool failed to run. You can open the details yaml file for more information.
Checked 0 files
✖ No issues, 1 failure
trunk fmt client/src/components/bullets/utils.ts 11/16 ❌ (`1`)

  FAILURES  
 prettier  client/src/components/bullets/utils.ts  .trunk/out/knoeZ.yaml
  NOTICES  
 A tool failed to run. You can open the details yaml file for more information.
Checked 0 files
✖ No issues, 1 failure
trunk fmt client/src/components/bullets/utils.ts 12/16 ❌ (`1`)

  FAILURES  
 prettier  client/src/components/bullets/utils.ts  .trunk/out/C3ZSQ.yaml
  NOTICES  
 A tool failed to run. You can open the details yaml file for more information.
Checked 0 files
✖ No issues, 1 failure
trunk fmt client/src/components/bullets/utils.ts 13/16 ❌ (`1`)

  FAILURES  
 prettier  client/src/components/bullets/utils.ts  .trunk/out/uessb.yaml
  NOTICES  
 A tool failed to run. You can open the details yaml file for more information.
Checked 0 files
✖ No issues, 1 failure
trunk fmt client/src/components/bullets/utils.ts 14/16 ❌ (`1`)

  FAILURES  
 prettier  client/src/components/bullets/utils.ts  .trunk/out/Pk1Mh.yaml
  NOTICES  
 A tool failed to run. You can open the details yaml file for more information.
Checked 0 files
✖ No issues, 1 failure
trunk fmt client/src/components/bullets/utils.ts 15/16 ❌ (`1`)

  FAILURES  
 prettier  client/src/components/bullets/utils.ts  .trunk/out/C5F4o.yaml
  NOTICES  
 A tool failed to run. You can open the details yaml file for more information.
Checked 0 files
✖ No issues, 1 failure
trunk fmt client/src/components/bullets/utils.ts 16/16 ❌ (`1`)

  FAILURES  
 prettier  client/src/components/bullets/utils.ts  .trunk/out/7O8ol.yaml
  NOTICES  
 A tool failed to run. You can open the details yaml file for more information.
Checked 0 files
✖ No issues, 1 failure

trunk init 1/16 ✓
⡿ Downloading Trunk 1.16.0...
⡿ Downloading Trunk 1.16.0...
⢿ Downloading Trunk 1.16.0...
⣻ Downloading Trunk 1.16.0...
⣽ Downloading Trunk 1.16.0...
⣾ Downloading Trunk 1.16.0...
⣷ Downloading Trunk 1.16.0...
✔ Downloading Trunk 1.16.0... done
⡿ Verifying Trunk sha256...
✔ Verifying Trunk sha256... done
⡿ Unpacking Trunk...
✔ Unpacking Trunk... done

✔ 15 linters were enabled (.trunk/trunk.yaml)
  actionlint 1.6.25 (5 github-workflow files)
  bandit 1.7.5 (28 python files)
  black 23.9.1 (2 jupyter, 16 python files)
  checkov 2.4.9 (12 json, 9 yaml files)
  git-diff-check (103 files)
  isort 5.12.0 (28 python files) (created .isort.cfg)
  markdownlint 0.36.0 (5 markdown files) (created .markdownlint.yaml)
  osv-scanner 1.4.0 (5 lockfile files)
  prettier 3.0.3 (1 html, 5 javascript, 9 json, 5 markdown, 17 typescript, 9 yaml files)
  ruff 0.0.290 (28 python files) (created ruff.toml)
  shellcheck 0.9.0 (8 shell files) (created .shellcheckrc)
  shfmt 3.6.0 (8 shell files)
  trivy 0.45.1 (5 lockfile, 9 yaml files)
  trufflehog 3.56.1 (106 files)
  yamllint 1.32.0 (9 yaml files) (created .yamllint.yaml)
Next Steps
 1. Read documentation
    Our documentation can be found at https://docs.trunk.io
 2. Get help and give feedback
    Join the Trunk community at https://slack.trunk.io
trunk fmt client/src/components/abbreviations/AbbreviationTable.tsx 2/16 ❌ (`1`)

  FAILURES  
 prettier  client/src/components/abbreviations/AbbreviationTable.tsx  .trunk/out/eIMOG.yaml
  NOTICES  
 A tool failed to run. You can open the details yaml file for more information.
Checked 0 files
✖ No issues, 1 failure
trunk fmt client/src/components/abbreviations/AbbreviationTable.tsx 3/16 ❌ (`1`)

  FAILURES  
 prettier  client/src/components/abbreviations/AbbreviationTable.tsx  .trunk/out/pA1Zv.yaml
  NOTICES  
 A tool failed to run. You can open the details yaml file for more information.
Checked 0 files
✖ No issues, 1 failure
trunk fmt client/src/components/abbreviations/AbbreviationTable.tsx 4/16 ❌ (`1`)

  FAILURES  
 prettier  client/src/components/abbreviations/AbbreviationTable.tsx  .trunk/out/kIFhb.yaml
  NOTICES  
 A tool failed to run. You can open the details yaml file for more information.
Checked 0 files
✖ No issues, 1 failure
trunk fmt client/src/components/abbreviations/AbbreviationTable.tsx 5/16 ❌ (`1`)

  FAILURES  
 prettier  client/src/components/abbreviations/AbbreviationTable.tsx  .trunk/out/znnmn.yaml
  NOTICES  
 A tool failed to run. You can open the details yaml file for more information.
Checked 0 files
✖ No issues, 1 failure
trunk fmt client/src/components/abbreviations/AbbreviationTable.tsx 6/16 ❌ (`1`)

  FAILURES  
 prettier  client/src/components/abbreviations/AbbreviationTable.tsx  .trunk/out/lg1tk.yaml
  NOTICES  
 A tool failed to run. You can open the details yaml file for more information.
Checked 0 files
✖ No issues, 1 failure
Run trunk upgrade to upgrade 1 linter
trunk fmt client/src/components/abbreviations/AbbreviationTable.tsx 7/16 ❌ (`1`)

  FAILURES  
 prettier  client/src/components/abbreviations/AbbreviationTable.tsx  .trunk/out/EC9Zl.yaml
  NOTICES  
 A tool failed to run. You can open the details yaml file for more information.
Checked 0 files
✖ No issues, 1 failure
trunk fmt client/src/components/abbreviations/AbbreviationTable.tsx 8/16 ❌ (`1`)

  FAILURES  
 prettier  client/src/components/abbreviations/AbbreviationTable.tsx  .trunk/out/187Cu.yaml
  NOTICES  
 A tool failed to run. You can open the details yaml file for more information.
Checked 0 files
✖ No issues, 1 failure
trunk fmt client/src/components/abbreviations/AbbreviationTable.tsx 9/16 ❌ (`1`)

  FAILURES  
 prettier  client/src/components/abbreviations/AbbreviationTable.tsx  .trunk/out/aYS4f.yaml
  NOTICES  
 A tool failed to run. You can open the details yaml file for more information.
Checked 0 files
✖ No issues, 1 failure
trunk fmt client/src/components/abbreviations/AbbreviationTable.tsx 10/16 ❌ (`1`)

  FAILURES  
 prettier  client/src/components/abbreviations/AbbreviationTable.tsx  .trunk/out/bgiB2.yaml
  NOTICES  
 A tool failed to run. You can open the details yaml file for more information.
Checked 0 files
✖ No issues, 1 failure
trunk fmt client/src/components/abbreviations/AbbreviationTable.tsx 11/16 ❌ (`1`)

  FAILURES  
 prettier  client/src/components/abbreviations/AbbreviationTable.tsx  .trunk/out/ngKqX.yaml
  NOTICES  
 A tool failed to run. You can open the details yaml file for more information.
Checked 0 files
✖ No issues, 1 failure
trunk fmt client/src/components/abbreviations/AbbreviationTable.tsx 12/16 ❌ (`1`)

  FAILURES  
 prettier  client/src/components/abbreviations/AbbreviationTable.tsx  .trunk/out/5ZFtN.yaml
  NOTICES  
 A tool failed to run. You can open the details yaml file for more information.
Checked 0 files
✖ No issues, 1 failure
trunk fmt client/src/components/abbreviations/AbbreviationTable.tsx 13/16 ❌ (`1`)

  FAILURES  
 prettier  client/src/components/abbreviations/AbbreviationTable.tsx  .trunk/out/WVcKy.yaml
  NOTICES  
 A tool failed to run. You can open the details yaml file for more information.
Checked 0 files
✖ No issues, 1 failure
trunk fmt client/src/components/abbreviations/AbbreviationTable.tsx 14/16 ❌ (`1`)

  FAILURES  
 prettier  client/src/components/abbreviations/AbbreviationTable.tsx  .trunk/out/SWoIz.yaml
  NOTICES  
 A tool failed to run. You can open the details yaml file for more information.
Checked 0 files
✖ No issues, 1 failure
trunk fmt client/src/components/abbreviations/AbbreviationTable.tsx 15/16 ❌ (`1`)

  FAILURES  
 prettier  client/src/components/abbreviations/AbbreviationTable.tsx  .trunk/out/B4Zd2.yaml
  NOTICES  
 A tool failed to run. You can open the details yaml file for more information.
Checked 0 files
✖ No issues, 1 failure
trunk fmt client/src/components/abbreviations/AbbreviationTable.tsx 16/16 ❌ (`1`)

  FAILURES  
 prettier  client/src/components/abbreviations/AbbreviationTable.tsx  .trunk/out/8TJfT.yaml
  NOTICES  
 A tool failed to run. You can open the details yaml file for more information.
Checked 0 files
✖ No issues, 1 failure


Step 3: 🔁 Code Review

I have finished reviewing the code for completeness. I did not find errors for sweep/fix-skipped-tests.

.


🎉 Latest improvements to Sweep:


💡 To recreate the pull request edit the issue title or description. To tweak the pull request, leave a comment on the pull request. Join Our Discord