chore: přidat .editorconfig a .gitattributes (#76)

- .editorconfig: UTF-8 bez BOM, LF, koncový nový řádek; výjimka pro
  heslar.csv (BOM + CRLF, zapisuje ho plugin)
- .gitattributes: text=auto eol=lf, heslar.csv -text, PNG/ZIP binary

Renormalizace neměnila žádný sledovaný soubor (ověřeno v kopii repa).
Vzor z aiscr-management (quality_baseline/foundations).

Připraveno s pomocí AI (Claude), ručně zkontrolováno.
This commit is contained in:
david-spacil authored and GitHub committed 2026-10-02 11:14:54 +02:00
1 parent 5117247fb7
commit 72f5985f89
2 files changed
+34

No files matched your search

+24
View File
@@ -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
+10
View File
@@ -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