Skip to content

Commit bd12a6e

Browse files
committed
Exclude patches from pre-commit
1 parent 973344c commit bd12a6e

2 files changed

Lines changed: 9 additions & 5 deletions

File tree

.pre-commit-config.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
exclude: |
2+
(?x)^(
3+
subprojects/packagefiles/patches/.*
4+
)
15
repos:
26
# Prevent commits to the main branch.
37
- repo: https://github.com/pre-commit/pre-commit-hooks
Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
--- pyodbc/src/textenc.h 2024-06-13 15:22:07.845998858 -0500
22
+++
33
@@ -1,5 +1,7 @@
4-
#ifndef _TEXTENC_H
5-
#define _TEXTENC_H
4+
#ifndef _TEXTENC_H
5+
#define _TEXTENC_H
66
+
77
+#include "wrapper.h"
8-
9-
enum {
10-
BYTEORDER_LE = -1,
8+
9+
enum {
10+
BYTEORDER_LE = -1,

0 commit comments

Comments
 (0)