mirror of
https://github.com/PrefectHQ/fastmcp.git
synced 2026-08-27 15:51:33 +02:00
switch from pyright to ty (#1545)
This commit is contained in:
parent
2d3d5392f1
commit
77b425c47d
14 changed files with 77 additions and 48 deletions
2
.github/workflows/marvin.yml
vendored
2
.github/workflows/marvin.yml
vendored
|
|
@ -70,6 +70,6 @@ jobs:
|
|||
mode: tag
|
||||
trigger_phrase: "/marvin"
|
||||
allowed_bots: "*"
|
||||
allowed_tools: "WebSearch,WebFetch,Bash(uv:*),Bash(pre-commit:*),Bash(pytest:*),Bash(ruff:*),Bash(pyright:*),Bash(git:*),Bash(gh:*),mcp__github__add_issue_comment,mcp__github__create_issue,mcp__github__get_issue,mcp__github__list_issues,mcp__github__search_issues,mcp__github__update_issue,mcp__github__update_issue_comment,mcp__github__create_pull_request,mcp__github__get_pull_request,mcp__github__get_pull_request_comments,mcp__github__get_pull_request_files,mcp__github__get_pull_request_reviews,mcp__github__get_pull_request_status,mcp__github__list_pull_requests,mcp__github__update_pull_request,mcp__github__update_pull_request_branch,mcp__github__update_pull_request_comment,mcp__github__merge_pull_request"
|
||||
allowed_tools: "WebSearch,WebFetch,Bash(uv:*),Bash(pre-commit:*),Bash(pytest:*),Bash(ruff:*),Bash(ty:*),Bash(git:*),Bash(gh:*),mcp__github__add_issue_comment,mcp__github__create_issue,mcp__github__get_issue,mcp__github__list_issues,mcp__github__search_issues,mcp__github__update_issue,mcp__github__update_issue_comment,mcp__github__create_pull_request,mcp__github__get_pull_request,mcp__github__get_pull_request_comments,mcp__github__get_pull_request_files,mcp__github__get_pull_request_reviews,mcp__github__get_pull_request_status,mcp__github__list_pull_requests,mcp__github__update_pull_request,mcp__github__update_pull_request_branch,mcp__github__update_pull_request_comment,mcp__github__merge_pull_request"
|
||||
additional_permissions: |
|
||||
actions: read
|
||||
|
|
|
|||
9
.github/workflows/run-static.yml
vendored
9
.github/workflows/run-static.yml
vendored
|
|
@ -36,12 +36,9 @@ jobs:
|
|||
with:
|
||||
enable-cache: true
|
||||
cache-dependency-glob: "uv.lock"
|
||||
- name: Set up Python
|
||||
uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: "3.12"
|
||||
|
||||
- name: Install dependencies
|
||||
run: uv sync --dev
|
||||
run: uv sync
|
||||
- name: Check lockfile is up to date
|
||||
run: |
|
||||
if ! uv lock --check; then
|
||||
|
|
@ -51,6 +48,6 @@ jobs:
|
|||
fi
|
||||
echo "✅ Lockfile is up to date"
|
||||
- name: Run pre-commit
|
||||
uses: pre-commit/action@v3.0.1
|
||||
run: uv run pre-commit run --all-files
|
||||
env:
|
||||
SKIP: no-commit-to-branch
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue