chore: add .gitattributes to enforce LF line endings

This commit is contained in:
2026-09-19 13:15:59 +03:30
parent 43df200eeb
commit e40af20331
7 changed files with 29 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@@ -0,0 +1,23 @@
# Auto-detect text files and normalize line endings to LF (POSIX standard)
* text=auto eol=lf
# Explicitly ensure code and configuration files use LF
*.py text eol=lf
*.sh text eol=lf
*.sql text eol=lf
*.md text eol=lf
*.yaml text eol=lf
*.yml text eol=lf
*.json text eol=lf
*.txt text eol=lf
.env.example text eol=lf
.gitignore text eol=lf
.gitattributes text eol=lf
# Binary files
*.png binary
*.jpg binary
*.jpeg binary
*.gif binary
*.ico binary
*.tar.gz binary

View File

@@ -1 +1,2 @@
# app/common package

View File

@@ -81,3 +81,4 @@ class AppConfig:
config = AppConfig()

View File

@@ -85,3 +85,4 @@ def setup_logger(
logger.addHandler(handler)
return logger

View File

@@ -39,3 +39,4 @@ PARTITION BY toYYYYMM(session_start_time)
ORDER BY (service_type, radio_access_type, cell_id, session_start_time, msisdn)
TTL session_start_time + INTERVAL 90 DAY
SETTINGS index_granularity = 8192;

View File

@@ -39,3 +39,4 @@ PARTITION BY toYYYYMM(session_start_time)
ORDER BY (service_type, radio_access_type, cell_id, session_start_time, msisdn)
TTL session_start_time + INTERVAL 90 DAY
SETTINGS index_granularity = 8192;

View File

@@ -48,3 +48,4 @@ class TestStructuredJsonFormatter(unittest.TestCase):
if __name__ == "__main__":
unittest.main()