Skip to content

Commit c5c165f

Browse files
authored
Merge branch 'implement-app-tooling' into implement-guidellm-ui
2 parents 8de645d + eeafc1e commit c5c165f

File tree

5 files changed

+12
-3
lines changed

5 files changed

+12
-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:

src/ui/app/layout.tsx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,11 @@ export const viewport: Viewport = {
2626
width: 'device-width',
2727
};
2828

29-
export default function RootLayout({ children }: { children: React.ReactNode }) {
29+
export default function RootLayout({
30+
children,
31+
}: Readonly<{
32+
children: React.ReactNode;
33+
}>) {
3034
return (
3135
<html lang="en">
3236
<head>

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)