Commit 07f1f79
committed
style: standardize C++ and Python code formatting rules
- Consolidate .clang-format in repo root and remove redundant cpp/.clang-format
- Configure clang-format with BlockIndent, IndentPPDirectives BeforeHash, and preserve include order
- Add Ruff configuration for Python formatting and linting in pyproject.toml
- Enable formatOnSave for C++ and Python in .vscode settings
- Reformat entire C++ and Python codebase1 parent 7ef71fc commit 07f1f79
104 files changed
Lines changed: 12090 additions & 12944 deletions
File tree
- cpp
- bench
- include
- src
- deglib/include/deglib
- distance
- graph
- optimization
- flas
- quantization
- utils
- test/src
- common
- integration
- regression
- graph
- optimization
- flas
- quantization
- unit
- distance
- graph
- optimization
- flas
- quantization
- python
- src
- deg_cpp
- deglib
- tests
- graph
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
| 12 | + | |
12 | 13 | | |
13 | 14 | | |
14 | 15 | | |
| |||
19 | 20 | | |
20 | 21 | | |
21 | 22 | | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
| 23 | + | |
35 | 24 | | |
36 | | - | |
| 25 | + | |
37 | 26 | | |
38 | 27 | | |
39 | | - | |
| 28 | + | |
40 | 29 | | |
41 | 30 | | |
42 | 31 | | |
| |||
46 | 35 | | |
47 | 36 | | |
48 | 37 | | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
63 | 41 | | |
64 | 42 | | |
65 | 43 | | |
| |||
71 | 49 | | |
72 | 50 | | |
73 | 51 | | |
74 | | - | |
| 52 | + | |
75 | 53 | | |
76 | 54 | | |
77 | 55 | | |
| |||
This file was deleted.
0 commit comments