mirror of
https://github.com/vee1e/tflite-micro.git
synced 2026-09-01 09:51:22 +00:00
Set max_line_length to 79 for Python files to match PEP 8 and the project's yapf configuration. Co-authored-by: Esun Kim <veblush@google.com>
30 lines
689 B
INI
30 lines
689 B
INI
# Define the project's code formatting styles
|
|
#
|
|
# https://editorconfig.org
|
|
#
|
|
# EditorConfig is a file format for defining coding styles. EditorConfig is
|
|
# natively supported by VisualStudio, GitHub, Neovim, etc.
|
|
|
|
[*]
|
|
# Unix-style newlines and a newline ending in every file
|
|
end_of_line = lf
|
|
insert_final_newline = true
|
|
|
|
[*.{cc,h}]
|
|
# https://google.github.io/styleguide/cppguide.html
|
|
indent_style = space
|
|
indent_size = 2
|
|
|
|
[*.py]
|
|
# https://google.github.io/styleguide/pyguide.html but 2-space indent
|
|
indent_style = space
|
|
indent_size = 2
|
|
max_line_length = 79
|
|
|
|
[WORKSPACE,BUILD,*.bzl]
|
|
# https://bazel.build/build/style-guide
|
|
indent_style = space
|
|
indent_size = 4
|
|
|
|
[Makefile]
|
|
indent_style = tab
|