Enable lint on main (#11794)

This commit is contained in:
fzyzcjy
2025-10-18 10:08:50 +08:00
committed by GitHub
parent 5b214b50b6
commit 6c7c92eb02
2 changed files with 5 additions and 2 deletions

View File

@@ -1,6 +1,10 @@
name: Lint
on: [pull_request]
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
lint:

View File

@@ -17,7 +17,6 @@ repos:
- id: check-shebang-scripts-are-executable
- id: detect-private-key
- id: debug-statements
- id: no-commit-to-branch
- repo: https://github.com/PyCQA/isort
rev: 5.13.2
hooks: