File tree Expand file tree Collapse file tree 5 files changed +12
-3
lines changed Expand file tree Collapse file tree 5 files changed +12
-3
lines changed Original file line number Diff line number Diff line change 79
79
- name : Install dependencies
80
80
run : pip install pre-commit
81
81
- name : Run pre-commit checks
82
- run : pre-commit run --all-files
82
+ run : SKIP=ruff-format pre-commit run --all-files
83
83
84
84
ui-precommit-check :
85
85
permissions :
Original file line number Diff line number Diff line change 52
52
- name : Install dependencies
53
53
run : pip install pre-commit
54
54
- name : Run pre-commit checks
55
- run : pre-commit run --all-files
55
+ run : SKIP=ruff-format pre-commit run --all-files
56
56
57
57
unit-tests :
58
58
runs-on : ubuntu-latest
Original file line number Diff line number Diff line change 8
8
rev : v0.11.7
9
9
hooks :
10
10
- id : ruff
11
+ name : run linter
12
+ args : [ --fix, --show-fixes ]
13
+ - id : ruff-format
14
+ name : run formatter
11
15
- repo : https://github.com/pre-commit/mirrors-mypy
12
16
rev : v1.15.0
13
17
hooks :
Original file line number Diff line number Diff line change @@ -26,7 +26,11 @@ export const viewport: Viewport = {
26
26
width : 'device-width' ,
27
27
} ;
28
28
29
- export default function RootLayout ( { children } : { children : React . ReactNode } ) {
29
+ export default function RootLayout ( {
30
+ children,
31
+ } : Readonly < {
32
+ children : React . ReactNode ;
33
+ } > ) {
30
34
return (
31
35
< html lang = "en" >
32
36
< head >
Original file line number Diff line number Diff line change
1
+ import '@testing-library/jest-dom' ;
You can’t perform that action at this time.
0 commit comments