Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 8a051f8

Browse files
committedOct 19, 2023
2 parents fac7400 + 4dbd3f7 commit 8a051f8

File tree

888 files changed

+46986
-8404
lines changed

Some content is hidden

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

888 files changed

+46986
-8404
lines changed
 

‎.clang-tidy

+4-4
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ bugprone-integer-division,
2020
bugprone-misplaced-widening-cast,
2121
-bugprone-move-forwarding-reference,
2222
-bugprone-multiple-statement-macro,
23-
-bugprone-narrowing-conversions,
23+
bugprone-narrowing-conversions,
2424
-bugprone-not-null-terminated-result,
2525
-bugprone-parent-virtual-call,
2626
-bugprone-posix-return,
@@ -155,7 +155,7 @@ cppcoreguidelines-avoid-c-arrays,
155155
-cppcoreguidelines-avoid-goto,
156156
cppcoreguidelines-c-copy-assignment-signature,
157157
cppcoreguidelines-explicit-virtual-functions,
158-
-cppcoreguidelines-init-variables,
158+
cppcoreguidelines-init-variables,
159159
cppcoreguidelines-narrowing-conversions,
160160
cppcoreguidelines-no-malloc,
161161
-cppcoreguidelines-pro-type-const-cast,
@@ -189,12 +189,12 @@ modernize-use-override,
189189
modernize-use-transparent-functors,
190190
-modernize-use-uncaught-exceptions,
191191
performance-faster-string-find,
192-
-performance-for-range-copy,
192+
performance-for-range-copy,
193193
-performance-implicit-conversion-in-loop,
194194
-performance-inefficient-algorithm,
195195
performance-inefficient-string-concatenation,
196196
-performance-inefficient-vector-operation,
197-
-performance-move-const-arg,
197+
performance-move-const-arg,
198198
-performance-move-constructor-init,
199199
-performance-no-automatic-move,
200200
performance-noexcept-move-constructor,

‎.flake8

+3
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,9 @@ per-file-ignores =
2626
# These files need tabs for testing.
2727
test/dygraph_to_static/test_error.py:E101,W191
2828

29+
# Ignore compare with True in sot unittest
30+
test/sot/test_dup_top.py:E712
31+
2932
# temp ignore base directory
3033
python/paddle/base/*:
3134
E712,

0 commit comments

Comments
 (0)
Please sign in to comment.