diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..f941f5f --- /dev/null +++ b/.editorconfig @@ -0,0 +1,24 @@ +# Jednotné kódování a konce řádků napříč editory. +# Vzor: aiscr-management (quality_baseline/foundations/editorconfig.ini) +root = true + +[*] +charset = utf-8 +end_of_line = lf +insert_final_newline = true +trim_trailing_whitespace = true + +# Zdrojáky bez BOM – pyqgis4-checker na BOM spadne (viz AGENTS.md) +[*.py] +indent_style = space +indent_size = 4 + +[*.md] +trim_trailing_whitespace = false + +# Heslář zapisuje plugin s BOM a CRLF (kvůli Excelu) – needitovat ručně +[amcr_viewer/codelists/heslar.csv] +charset = utf-8-bom +end_of_line = crlf +insert_final_newline = unset +trim_trailing_whitespace = unset diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..30ca8a4 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,10 @@ +# Textové soubory v repozitáři s LF; vzor: aiscr-management +# (quality_baseline/foundations/gitattributes.fragment) +* text=auto eol=lf + +# Heslář generuje plugin (BOM + CRLF kvůli Excelu) – ukládat bajt po bajtu +amcr_viewer/codelists/heslar.csv -text + +# Binární soubory +*.png binary +*.zip binary