Skip to content

feat(cqhttp): 修改 CQHTTP 适配器事件的 detail_type 判断方式 #167

feat(cqhttp): 修改 CQHTTP 适配器事件的 detail_type 判断方式

feat(cqhttp): 修改 CQHTTP 适配器事件的 detail_type 判断方式 #167

Workflow file for this run

name: Lint
on:
push:
branches:
- master
paths:
- '**.py'
pull_request:
paths:
- '**.py'
workflow_dispatch:
jobs:
ruff:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Python
uses: ./.github/actions/setup-python
- run: |
uv run ruff check --output-format=github .
uv run ruff format --check .
pylint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Python
uses: ./.github/actions/setup-python
- run: uv run pylint alicebot packages/*
pyright:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Python
uses: ./.github/actions/setup-python
- name: Setup Node
uses: ./.github/actions/setup-node
- run: |
source .venv/bin/activate
pnpm run pyright
mypy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Python
uses: ./.github/actions/setup-python
- run: uv run mypy .