mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-07-10 08:12:33 +03:00
[pre-commit.ci] pre-commit autoupdate
This commit is contained in:
commit
5b1a64c53c
|
@ -1,5 +1,26 @@
|
|||
# A clang-format style that approximates Python's PEP 7
|
||||
# Useful for IDE integration
|
||||
Language: C
|
||||
BasedOnStyle: Google
|
||||
AlwaysBreakAfterReturnType: All
|
||||
AllowShortIfStatementsOnASingleLine: false
|
||||
AlignAfterOpenBracket: BlockIndent
|
||||
BinPackArguments: false
|
||||
BinPackParameters: false
|
||||
BreakBeforeBraces: Attach
|
||||
ColumnLimit: 88
|
||||
DerivePointerAlignment: false
|
||||
IndentGotoLabels: false
|
||||
IndentWidth: 4
|
||||
PointerAlignment: Right
|
||||
ReflowComments: true
|
||||
SortIncludes: false
|
||||
SpaceBeforeParens: ControlStatements
|
||||
SpacesInParentheses: false
|
||||
TabWidth: 4
|
||||
UseTab: Never
|
||||
---
|
||||
Language: Cpp
|
||||
BasedOnStyle: Google
|
||||
AlwaysBreakAfterReturnType: All
|
||||
AllowShortIfStatementsOnASingleLine: false
|
||||
|
@ -11,7 +32,6 @@ ColumnLimit: 88
|
|||
DerivePointerAlignment: false
|
||||
IndentGotoLabels: false
|
||||
IndentWidth: 4
|
||||
Language: Cpp
|
||||
PointerAlignment: Right
|
||||
ReflowComments: true
|
||||
SortIncludes: false
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
repos:
|
||||
- repo: https://github.com/astral-sh/ruff-pre-commit
|
||||
rev: v0.9.9
|
||||
rev: v0.11.4
|
||||
hooks:
|
||||
- id: ruff
|
||||
args: [--exit-non-zero-on-fix]
|
||||
|
@ -24,7 +24,7 @@ repos:
|
|||
exclude: (Makefile$|\.bat$|\.cmake$|\.eps$|\.fits$|\.gd$|\.opt$)
|
||||
|
||||
- repo: https://github.com/pre-commit/mirrors-clang-format
|
||||
rev: v19.1.7
|
||||
rev: v20.1.0
|
||||
hooks:
|
||||
- id: clang-format
|
||||
types: [c]
|
||||
|
@ -44,20 +44,21 @@ repos:
|
|||
- id: check-json
|
||||
- id: check-toml
|
||||
- id: check-yaml
|
||||
args: [--allow-multiple-documents]
|
||||
- id: end-of-file-fixer
|
||||
exclude: ^Tests/images/
|
||||
- id: trailing-whitespace
|
||||
exclude: ^.github/.*TEMPLATE|^Tests/(fonts|images)/
|
||||
|
||||
- repo: https://github.com/python-jsonschema/check-jsonschema
|
||||
rev: 0.31.2
|
||||
rev: 0.32.1
|
||||
hooks:
|
||||
- id: check-github-workflows
|
||||
- id: check-readthedocs
|
||||
- id: check-renovate
|
||||
|
||||
- repo: https://github.com/woodruffw/zizmor-pre-commit
|
||||
rev: v1.4.1
|
||||
rev: v1.5.2
|
||||
hooks:
|
||||
- id: zizmor
|
||||
|
||||
|
@ -72,7 +73,7 @@ repos:
|
|||
- id: pyproject-fmt
|
||||
|
||||
- repo: https://github.com/abravalheri/validate-pyproject
|
||||
rev: v0.23
|
||||
rev: v0.24.1
|
||||
hooks:
|
||||
- id: validate-pyproject
|
||||
additional_dependencies: [trove-classifiers>=2024.10.12]
|
||||
|
|
|
@ -1402,8 +1402,8 @@ static struct PyGetSetDef cms_profile_getsetters[] = {
|
|||
{"colorant_table_out", (getter)cms_profile_getattr_colorant_table_out},
|
||||
{"intent_supported", (getter)cms_profile_getattr_is_intent_supported},
|
||||
{"clut", (getter)cms_profile_getattr_is_clut},
|
||||
{"icc_measurement_condition", (getter)cms_profile_getattr_icc_measurement_condition
|
||||
},
|
||||
{"icc_measurement_condition",
|
||||
(getter)cms_profile_getattr_icc_measurement_condition},
|
||||
{"icc_viewing_condition", (getter)cms_profile_getattr_icc_viewing_condition},
|
||||
|
||||
{NULL}
|
||||
|
|
|
@ -20,8 +20,12 @@ typedef uint32_t HashVal_t;
|
|||
|
||||
typedef uint32_t (*HashFunc)(const HashTable *, const HashKey_t);
|
||||
typedef int (*HashCmpFunc)(const HashTable *, const HashKey_t, const HashKey_t);
|
||||
typedef void (*IteratorFunc)(const HashTable *, const HashKey_t, const HashVal_t, void *);
|
||||
typedef void (*IteratorUpdateFunc)(const HashTable *, const HashKey_t, HashVal_t *, void *);
|
||||
typedef void (*IteratorFunc)(
|
||||
const HashTable *, const HashKey_t, const HashVal_t, void *
|
||||
);
|
||||
typedef void (*IteratorUpdateFunc)(
|
||||
const HashTable *, const HashKey_t, HashVal_t *, void *
|
||||
);
|
||||
typedef void (*ComputeFunc)(const HashTable *, const HashKey_t, HashVal_t *);
|
||||
typedef void (*CollisionFunc)(
|
||||
const HashTable *, HashKey_t *, HashVal_t *, HashKey_t, HashVal_t
|
||||
|
|
Loading…
Reference in New Issue
Block a user