forked from ArduPilot/ardupilot_wiki
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
global: add git attribute for easier file management
- Loading branch information
Showing
2 changed files
with
28 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# This file provide reference settings for the Pymavlink code conventions | ||
# There are plug-ins available for nearly every text editor to automatically | ||
# respect the conventions contained within this file. | ||
# | ||
# Please see editorconfig.org for complete information. | ||
# | ||
# If you find errors in this file, please send a pull-request with a fix. | ||
# | ||
root = true | ||
|
||
[*] | ||
indent_style = space | ||
indent_size = 4 | ||
end_of_line = lf | ||
charset = utf-8 | ||
trim_trailing_whitespace = false # These are the correct rules for coding standards, but fixing up old files causes git spam | ||
insert_final_newline = false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# Set the default behavior, in case people don't have core.autocrlf set. | ||
text eol=lf | ||
|
||
# Declare files that will always have LF line endings on checkout. | ||
*.py text eol=lf | ||
*.sh text eol=lf | ||
*.bash text eol=lf | ||
|
||
*.bin -diff | ||
|
||
*.bin binary linguist-generated |