mirror of
https://github.com/angr/pyvex
synced 2026-06-21 13:47:01 +00:00
51a1670122
updates: - [github.com/astral-sh/ruff-pre-commit: v0.15.16 → v0.15.17](https://github.com/astral-sh/ruff-pre-commit/compare/v0.15.16...v0.15.17) Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
95 lines
2.0 KiB
YAML
95 lines
2.0 KiB
YAML
repos:
|
|
|
|
#
|
|
# Fail fast
|
|
#
|
|
|
|
- repo: https://github.com/abravalheri/validate-pyproject
|
|
rev: v0.25
|
|
hooks:
|
|
- id: validate-pyproject
|
|
fail_fast: true
|
|
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
rev: v6.0.0
|
|
hooks:
|
|
# General
|
|
- id: check-merge-conflict
|
|
fail_fast: true
|
|
- id: check-case-conflict
|
|
fail_fast: true
|
|
- id: destroyed-symlinks
|
|
fail_fast: true
|
|
- id: check-symlinks
|
|
fail_fast: true
|
|
- id: check-added-large-files
|
|
fail_fast: true
|
|
# Syntax
|
|
- id: check-toml
|
|
fail_fast: true
|
|
- id: check-json
|
|
fail_fast: true
|
|
- id: check-yaml
|
|
fail_fast: true
|
|
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
rev: v6.0.0
|
|
hooks:
|
|
- id: check-ast
|
|
fail_fast: true
|
|
|
|
#
|
|
# Modifiers
|
|
#
|
|
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
rev: v6.0.0
|
|
hooks:
|
|
- id: mixed-line-ending
|
|
- id: trailing-whitespace
|
|
|
|
- repo: https://github.com/dannysepler/rm_unneeded_f_str
|
|
rev: v0.2.0
|
|
hooks:
|
|
- id: rm-unneeded-f-str
|
|
|
|
- repo: https://github.com/asottile/pyupgrade
|
|
rev: v3.21.2
|
|
hooks:
|
|
- id: pyupgrade
|
|
args: [--py310-plus]
|
|
|
|
- repo: https://github.com/astral-sh/ruff-pre-commit
|
|
rev: v0.15.17
|
|
hooks:
|
|
- id: ruff
|
|
args: [--fix, --exit-non-zero-on-fix]
|
|
|
|
# Last modifier: Coding Standard
|
|
- repo: https://github.com/psf/black-pre-commit-mirror
|
|
rev: 26.5.1
|
|
hooks:
|
|
- id: black
|
|
|
|
#
|
|
# Static Checks
|
|
#
|
|
|
|
- repo: https://github.com/pre-commit/pygrep-hooks
|
|
rev: v1.10.0
|
|
hooks:
|
|
# Python
|
|
- id: python-use-type-annotations
|
|
- id: python-no-log-warn
|
|
# Documentation
|
|
- id: rst-backticks
|
|
- id: rst-directive-colons
|
|
- id: rst-inline-touching-normal
|
|
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
rev: v6.0.0
|
|
hooks:
|
|
- id: debug-statements
|
|
- id: check-builtin-literals
|
|
- id: check-docstring-first
|