diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..21cccc6 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,20 @@ +# REPO-13 +root = true + +[*] +charset = utf-8 +end_of_line = lf +insert_final_newline = true +trim_trailing_whitespace = true +indent_style = space +indent_size = 2 + +# Python-koden i app/ är indenterad med 4 blanksteg (PEP 8). +[*.py] +indent_size = 4 + +[*.md] +trim_trailing_whitespace = false + +[Makefile] +indent_style = tab diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..24321be --- /dev/null +++ b/.gitattributes @@ -0,0 +1,12 @@ +# REPO-11 — normalised line endings, so a Windows checkout cannot flip +# every file in a diff. LF in the repository, native in the working tree. +* text=auto eol=lf + +*.png binary +*.jpg binary +*.jpeg binary +*.gif binary +*.ico binary +*.pdf binary +*.woff binary +*.woff2 binary diff --git a/.gitignore b/.gitignore index c8ce53e..579184f 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,37 @@ __pycache__/ *.pyc data/ + +# REPO-12 — täckning enligt standarden, mönster ur siax-templates +# (Python-mallarna streamlit-data-app och data-science-notebook). + +# Python-bygg och verktygscache +venv/ +*.egg-info/ +build/ +dist/ +.pytest_cache/ +.ruff_cache/ + +# Testtäckning +.coverage +coverage/ +htmlcov/ +coverage.xml + +# Länkar som läggs i watch/ (app/config.py: VV_WATCH, default ./watch). +# Katalogen skapas när appen startar och innehåller användarens egna länkar. +watch/ + +# Hemligheter. README beskriver konfigurationen i .env, och docker compose +# läser MEILI_KEY därifrån. Bara .env.example får committas. +.env +.env.* +!.env.example + +# Node-verktyg, loggar och OS-skräp +node_modules/ +.turbo/ +*.log +.DS_Store +Thumbs.db