Skip to content

Commit 058fb6a

Browse files
committed
merge main and fix conflicts
2 parents ec10b92 + 53420e4 commit 058fb6a

File tree

7 files changed

+172
-3
lines changed

7 files changed

+172
-3
lines changed

.github/workflows/development.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ jobs:
7979
- name: Install dependencies
8080
run: pip install pre-commit
8181
- name: Run pre-commit checks
82-
run: pre-commit run --all-files
82+
run: SKIP=ruff-format pre-commit run --all-files
8383

8484
ui-precommit-check:
8585
permissions:

.github/workflows/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ jobs:
5252
- name: Install dependencies
5353
run: pip install pre-commit
5454
- name: Run pre-commit checks
55-
run: pre-commit run --all-files
55+
run: SKIP=ruff-format pre-commit run --all-files
5656

5757
unit-tests:
5858
runs-on: ubuntu-latest

.pre-commit-config.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@ repos:
88
rev: v0.11.7
99
hooks:
1010
- id: ruff
11+
name: run linter
12+
args: [ --fix, --show-fixes ]
13+
- id: ruff-format
14+
name: run formatter
1115
- repo: https://github.com/pre-commit/mirrors-mypy
1216
rev: v1.15.0
1317
hooks:

package-lock.json

Lines changed: 159 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@
6767
"jest-transform-stub": "^2.0.0",
6868
"nyc": "^17.1.0",
6969
"prettier": "^3.5.3",
70+
"ts-jest": "^29.2.4",
7071
"typescript": "^5"
7172
},
7273
"lint-staged": {

src/ui/app/layout.tsx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,11 @@ export const viewport: Viewport = {
2323
width: 'device-width',
2424
};
2525

26-
export default function RootLayout({ children }: { children: React.ReactNode }) {
26+
export default function RootLayout({
27+
children,
28+
}: Readonly<{
29+
children: React.ReactNode;
30+
}>) {
2731
return (
2832
<html lang="en">
2933
<body>{children}</body>

src/ui/types/jest-dom.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
import '@testing-library/jest-dom';

0 commit comments

Comments
 (0)