chore: add .gitattributes to enforce LF line endings
This commit is contained in:
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal 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
|
||||||
@@ -1 +1,2 @@
|
|||||||
# app/common package
|
# app/common package
|
||||||
|
|
||||||
|
|||||||
@@ -81,3 +81,4 @@ class AppConfig:
|
|||||||
|
|
||||||
|
|
||||||
config = AppConfig()
|
config = AppConfig()
|
||||||
|
|
||||||
|
|||||||
@@ -85,3 +85,4 @@ def setup_logger(
|
|||||||
logger.addHandler(handler)
|
logger.addHandler(handler)
|
||||||
|
|
||||||
return logger
|
return logger
|
||||||
|
|
||||||
|
|||||||
@@ -39,3 +39,4 @@ PARTITION BY toYYYYMM(session_start_time)
|
|||||||
ORDER BY (service_type, radio_access_type, cell_id, session_start_time, msisdn)
|
ORDER BY (service_type, radio_access_type, cell_id, session_start_time, msisdn)
|
||||||
TTL session_start_time + INTERVAL 90 DAY
|
TTL session_start_time + INTERVAL 90 DAY
|
||||||
SETTINGS index_granularity = 8192;
|
SETTINGS index_granularity = 8192;
|
||||||
|
|
||||||
|
|||||||
@@ -39,3 +39,4 @@ PARTITION BY toYYYYMM(session_start_time)
|
|||||||
ORDER BY (service_type, radio_access_type, cell_id, session_start_time, msisdn)
|
ORDER BY (service_type, radio_access_type, cell_id, session_start_time, msisdn)
|
||||||
TTL session_start_time + INTERVAL 90 DAY
|
TTL session_start_time + INTERVAL 90 DAY
|
||||||
SETTINGS index_granularity = 8192;
|
SETTINGS index_granularity = 8192;
|
||||||
|
|
||||||
|
|||||||
@@ -48,3 +48,4 @@ class TestStructuredJsonFormatter(unittest.TestCase):
|
|||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
unittest.main()
|
unittest.main()
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user