diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..d97e35e --- /dev/null +++ b/.editorconfig @@ -0,0 +1,16 @@ +root = true + +[*] +indent_style = space +indent_size = 2 +end_of_line = lf +charset = utf-8 +trim_trailing_whitespace = true +insert_final_newline = true +curly_bracket_next_line = false + +[*.{markdown,md}] +trim_trailing_whitespace = false + +[*.py] +indent_size = 4 diff --git a/site_list.py b/site_list.py index ea64d95..a23824a 100644 --- a/site_list.py +++ b/site_list.py @@ -25,5 +25,6 @@ sorted_json_data = json.dumps(data, indent=2, sort_keys=True) with open("sherlock/resources/data.json", "w") as data_file: data_file.write(sorted_json_data) + data_file.write('\n') print("Finished updating supported site listing!")