Skip to content

✨ 适配新版dc适配器#134

Open
shoucandanghehe wants to merge 7 commits intononebot:masterfrom
shoucandanghehe:chore/discord-adapter-upgrade-fixes
Open

✨ 适配新版dc适配器#134
shoucandanghehe wants to merge 7 commits intononebot:masterfrom
shoucandanghehe:chore/discord-adapter-upgrade-fixes

Conversation

@shoucandanghehe
Copy link
Member

No description provided.

@RF-Tar-Railt
Copy link
Member

RF-Tar-Railt commented Feb 27, 2026

跑一遍 pdm format 先
把删掉的 # noqa: E501 先补上

@RF-Tar-Railt
Copy link
Member

ruff 提示的那一个错误可以改

你试试把 pre-commit的配置改一下:

default_install_hook_types: [pre-commit, prepare-commit-msg]
ci:
  autofix_commit_msg: ":rotating_light: auto fix by pre-commit hooks"
  autofix_prs: true
  autoupdate_branch: master
  autoupdate_schedule: monthly
  autoupdate_commit_msg: ":arrow_up: auto update by pre-commit hooks"
repos:
  - repo: https://github.com/pycqa/isort
    rev: 5.13.2
    hooks:
      - id: isort
        stages: [pre-commit]

  - repo: https://github.com/psf/black
    rev: 26.1.0
    hooks:
      - id: black
        stages: [pre-commit]

  - repo: https://github.com/astral-sh/ruff-pre-commit
    rev: v0.15.4
    hooks:
      - id: ruff
        args: [--fix, --exit-non-zero-on-fix]
        stages: [pre-commit]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants