Skip to content

Commit 338ba3e

Browse files
committedMay 10, 2020
upload PaddleOCR code
1 parent bc93c54 commit 338ba3e

File tree

84 files changed

+15543
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

84 files changed

+15543
-0
lines changed
 

‎.pre-commit-config.yaml

+35
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
- repo: https://github.com/PaddlePaddle/mirrors-yapf.git
2+
sha: 0d79c0c469bab64f7229c9aca2b1186ef47f0e37
3+
hooks:
4+
- id: yapf
5+
files: \.py$
6+
- repo: https://github.com/pre-commit/pre-commit-hooks
7+
sha: a11d9314b22d8f8c7556443875b731ef05965464
8+
hooks:
9+
- id: check-merge-conflict
10+
- id: check-symlinks
11+
- id: detect-private-key
12+
files: (?!.*paddle)^.*$
13+
- id: end-of-file-fixer
14+
files: \.md$
15+
- id: trailing-whitespace
16+
files: \.md$
17+
- repo: https://github.com/Lucas-C/pre-commit-hooks
18+
sha: v1.0.1
19+
hooks:
20+
- id: forbid-crlf
21+
files: \.md$
22+
- id: remove-crlf
23+
files: \.md$
24+
- id: forbid-tabs
25+
files: \.md$
26+
- id: remove-tabs
27+
files: \.md$
28+
- repo: local
29+
hooks:
30+
- id: clang-format
31+
name: clang-format
32+
description: Format files with ClangFormat
33+
entry: bash .clang_format.hook -i
34+
language: system
35+
files: \.(c|cc|cxx|cpp|cu|h|hpp|hxx|cuh|proto)$

‎.style.yapf

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[style]
2+
based_on_style = pep8
3+
column_limit = 80

0 commit comments

Comments
 (0)
Please sign in to comment.