update dev
This commit is contained in:
parent
3480de399e
commit
2efc65b223
6
.github/workflows/codeql-analysis.yml
vendored
6
.github/workflows/codeql-analysis.yml
vendored
@ -29,12 +29,12 @@ jobs:
|
||||
persist-credentials: false
|
||||
|
||||
- name: Initialize CodeQL
|
||||
uses: github/codeql-action/init@5d4e8d1aca955e8d8589aabd499c5cae939e33c7 # v4.31.9
|
||||
uses: github/codeql-action/init@9e907b5e64f6b83e7804b09294d44122997950d6 # v4.32.3
|
||||
with:
|
||||
languages: ${{ matrix.language }}
|
||||
|
||||
- name: Autobuild
|
||||
uses: github/codeql-action/autobuild@5d4e8d1aca955e8d8589aabd499c5cae939e33c7 # v4.31.9
|
||||
uses: github/codeql-action/autobuild@9e907b5e64f6b83e7804b09294d44122997950d6 # v4.32.3
|
||||
|
||||
- name: Perform CodeQL Analysis
|
||||
uses: github/codeql-action/analyze@5d4e8d1aca955e8d8589aabd499c5cae939e33c7 # v4.31.9
|
||||
uses: github/codeql-action/analyze@9e907b5e64f6b83e7804b09294d44122997950d6 # v4.32.3
|
||||
|
||||
2
.github/workflows/zizmor.yml
vendored
2
.github/workflows/zizmor.yml
vendored
@ -30,7 +30,7 @@ jobs:
|
||||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
- name: Upload SARIF file
|
||||
uses: github/codeql-action/upload-sarif@5d4e8d1aca955e8d8589aabd499c5cae939e33c7 # v4.31.9
|
||||
uses: github/codeql-action/upload-sarif@9e907b5e64f6b83e7804b09294d44122997950d6 # v4.32.3
|
||||
with:
|
||||
# Path to SARIF file relative to the root of the repository
|
||||
sarif_file: results.sarif
|
||||
|
||||
@ -4,7 +4,7 @@ ci:
|
||||
|
||||
repos:
|
||||
- repo: https://github.com/astral-sh/ruff-pre-commit
|
||||
rev: v0.14.14
|
||||
rev: v0.15.2
|
||||
hooks:
|
||||
- id: ruff-check
|
||||
args: [--fix, --exit-non-zero-on-fix]
|
||||
|
||||
@ -121,7 +121,7 @@ ignore = [
|
||||
"PLW2901", # re-assigning within loop bodies is fine
|
||||
"RUF001", # leave my smart characters alone
|
||||
"SLF001", # private members are accessed by friendly functions
|
||||
"TCH", # TYPE_CHECKING blocks break autodocs
|
||||
"TC", # TYPE_CHECKING blocks break autodocs
|
||||
"TD", # we don't follow other people's todo style
|
||||
]
|
||||
|
||||
@ -130,7 +130,6 @@ ignore = [
|
||||
"ARG", # stubs don't care about arguments
|
||||
"S101", # assert
|
||||
"SIM300", # Yoda rocks in asserts
|
||||
"PT005", # we always add underscores and explicit name
|
||||
"PT011", # broad is fine
|
||||
"TRY002", # stock exceptions are fine in tests
|
||||
"EM101", # no need for exception msg hygiene in tests
|
||||
|
||||
Loading…
Reference in New Issue
Block a user