|
| 1 | +############################### |
| 2 | +# Qubership common # |
| 3 | +############################### |
| 4 | +.editorconfig text |
| 5 | +.flake8 text |
| 6 | +.gitattributes text |
| 7 | +.gitignore text |
| 8 | +.helmignore text |
| 9 | +.prettierignore text |
| 10 | + |
| 11 | +*.env text eol=lf |
| 12 | +*.json text |
| 13 | +*.md text |
| 14 | +*.mod text |
| 15 | +*.robot text |
| 16 | +*.sum text |
| 17 | +*.tpl text |
| 18 | +*.txt text |
| 19 | +*.yaml text |
| 20 | +*.yml text |
| 21 | + |
| 22 | +LICENSE text |
| 23 | +Dockerfile text |
| 24 | + |
| 25 | +/CHANGELOG.md merge=union |
| 26 | +/contributors.json merge=union |
| 27 | +/CODE-OF-CONDUCT.md text |
| 28 | +/CONTRIBUTING.md text |
| 29 | +/README.md text |
| 30 | +/SECURITY.md text |
| 31 | + |
| 32 | +############################### |
| 33 | +# Git Line Endings # |
| 34 | +############################### |
| 35 | + |
| 36 | +# Set default behaviour to automatically normalize line endings. |
| 37 | +* text=auto |
| 38 | + |
| 39 | + |
| 40 | +# Force batch scripts to always use CRLF line endings so that if a repo is accessed |
| 41 | +# in Windows via a file share from Linux, the scripts will work. |
| 42 | +*.{cmd,[cC][mM][dD]} text eol=crlf |
| 43 | +*.{bat,[bB][aA][tT]} text eol=crlf |
| 44 | + |
| 45 | +# Force bash scripts to always use LF line endings so that if a repo is accessed |
| 46 | +# in Unix via a file share from Windows, the scripts will work. |
| 47 | +*.sh text eol=lf |
| 48 | +# gofmt defaults to LF for all the platforms: https://github.com/golang/go/issues/16355 |
| 49 | +*.go text eol=lf |
| 50 | + |
| 51 | +########################################## |
| 52 | +# Basic .gitattributes for a Java repo.# |
| 53 | +########################################## |
| 54 | + |
| 55 | +# Java sources |
| 56 | +*.java text diff=java |
| 57 | +*.kt text diff=kotlin |
| 58 | +*.groovy text diff=java |
| 59 | +*.scala text diff=java |
| 60 | +*.gradle text diff=java |
| 61 | +*.gradle.kts text diff=kotlin |
| 62 | + |
| 63 | +# These files are text and should be normalized (Convert crlf => lf) |
| 64 | +*.css text diff=css |
| 65 | +*.scss text diff=css |
| 66 | +*.sass text |
| 67 | +*.df text |
| 68 | +*.htm text diff=html |
| 69 | +*.html text diff=html |
| 70 | +*.js text |
| 71 | +*.mjs text |
| 72 | +*.cjs text |
| 73 | +*.jsp text |
| 74 | +*.jspf text |
| 75 | +*.jspx text |
| 76 | +*.properties text |
| 77 | +*.tld text |
| 78 | +*.tag text |
| 79 | +*.tagx text |
| 80 | +*.xml text |
| 81 | + |
| 82 | +# These files are binary and should be left untouched |
| 83 | +# (binary is a macro for -text -diff) |
| 84 | +*.class binary |
| 85 | +*.dll binary |
| 86 | +*.ear binary |
| 87 | +*.jar binary |
| 88 | +*.so binary |
| 89 | +*.war binary |
| 90 | +*.jks binary |
| 91 | + |
| 92 | +# Common build-tool wrapper scripts ('.cmd' versions are handled by 'Common.gitattributes') |
| 93 | +mvnw text eol=lf |
| 94 | +gradlew text eol=lf |
| 95 | + |
| 96 | +########################################## |
| 97 | +# Basic .gitattributes for a python repo.# |
| 98 | +########################################## |
| 99 | + |
| 100 | +# Source files |
| 101 | +# ============ |
| 102 | +*.pxd text diff=python |
| 103 | +*.py text diff=python |
| 104 | +*.py3 text diff=python |
| 105 | +*.pyw text diff=python |
| 106 | +*.pyx text diff=python |
| 107 | +*.pyz text diff=python |
| 108 | +*.pyi text diff=python |
| 109 | + |
| 110 | +# Binary files |
| 111 | +# ============ |
| 112 | +*.db binary |
| 113 | +*.p binary |
| 114 | +*.pkl binary |
| 115 | +*.pickle binary |
| 116 | +*.pyc binary export-ignore |
| 117 | +*.pyo binary export-ignore |
| 118 | +*.pyd binary |
| 119 | + |
| 120 | +# Jupyter notebook |
| 121 | +*.ipynb text eol=lf |
| 122 | + |
| 123 | +# Note: .db, .p, and .pkl files are associated |
| 124 | +# with the python modules ``pickle``, ``dbm.*``, |
| 125 | +# ``shelve``, ``marshal``, ``anydbm``, & ``bsddb`` |
| 126 | +# (among others). |
0 commit comments