Skip to content

Commit

Permalink
[typing] add overload for empty @task decorator (#16386)
Browse files Browse the repository at this point in the history
  • Loading branch information
zzstoatzz authored Dec 13, 2024
1 parent 1d9f3dc commit c83bbd4
Show file tree
Hide file tree
Showing 7 changed files with 109 additions and 105 deletions.
20 changes: 16 additions & 4 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,11 @@ repos:
name: Lint UI v2
language: system
entry: sh
args: ['-c', 'cd ui-v2 && npm i --no-upgrade --silent --no-progress && npm run lint']
args:
[
"-c",
"cd ui-v2 && npm i --no-upgrade --silent --no-progress && npm run lint",
]
files: |
(?x)^(
.pre-commit-config.yaml|
Expand All @@ -82,7 +86,11 @@ repos:
name: Format UI v2
language: system
entry: sh
args: ['-c', 'cd ui-v2 && npm i --no-upgrade --silent --no-progress && npm run format']
args:
[
"-c",
"cd ui-v2 && npm i --no-upgrade --silent --no-progress && npm run format",
]
files: |
(?x)^(
.pre-commit-config.yaml|
Expand All @@ -93,7 +101,11 @@ repos:
name: Sync UI v2 OpenAPI
language: system
entry: sh
args: ['-c', 'cd ui-v2 && npm i --no-upgrade --silent --no-progress && npm run service-sync']
args:
[
"-c",
"cd ui-v2 && npm i --no-upgrade --silent --no-progress && npm run service-sync",
]
files: |
(?x)^(
.pre-commit-config.yaml|
Expand All @@ -103,4 +115,4 @@ repos:
src/prefect/server/events/.*|
ui-v2/package.json
)$
pass_filenames: false
pass_filenames: false
Loading

0 comments on commit c83bbd4

Please sign in to comment.