增加人物画像证据纠错功能,并提高检索表现 #886
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Ruff PR Check | |
| on: | |
| pull_request: | |
| paths: | |
| - "*.py" | |
| - "**/*.py" | |
| - "pyproject.toml" | |
| - "ruff.toml" | |
| - ".ruff.toml" | |
| - "setup.cfg" | |
| - "tox.ini" | |
| - ".pre-commit-config.yaml" | |
| jobs: | |
| ruff: | |
| runs-on: ubuntu-24.04 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| - name: Install Ruff and Run Checks | |
| uses: astral-sh/ruff-action@v3 | |
| with: | |
| args: "--version" | |
| version: "latest" | |
| - name: Run Ruff Check (No Fix) | |
| run: ruff check --output-format=github | |
| shell: pwsh | |
| - name: Run Ruff Format Check | |
| run: ruff format --check --diff | |
| shell: pwsh |