Skip to content
Snippets Groups Projects
Select Git revision
  • c79632cf9c37c7176825974e4b2d129c98e5f6c0
  • master default protected
  • pote_2023
  • ajout-variable-taux-allegement-general
  • tester-variable-taux-allegement-cotisations
  • ppa-rsa
  • documentations-html-acad4c9f95a39e798170e3e9ab147b24b9f7e613
  • 184-ajouter-une-variable-sur-le-non-recours
  • aides-logement
  • statistiques_impot
  • documentations-html-ab2ff75179b3a97939d5c802e370f32c1978b99b
  • statistiques_impot_corrections_chloe
  • documentations-html-e96b6fd1b3963bc54903d8de1e23ea3f7dbb2e00
  • cdhr_reform
  • memo_pfu
  • 177-integration-erfs-2021-pipeline
  • 175-ajout-code-casd
  • memo-navbar-color
  • memo-rsa-rmi
  • memo-aah-modif
  • baby-memo
21 results

.gitattributes

Blame
  • .gitattributes 2.97 KiB
    # Standardized gitattributes for a Python repository
    # Taken from: https://github.com/alexkaratarakis/gitattributes
    # See also: https://stackoverflow.com/a/10855862/2907667
    
    # Common settings that generally should always be used with your language specific settings
    
    # Auto detect text files and force to LF line endings
    # https://www.davidlaing.com/2012/09/19/customise-your-gitattributes-to-become-a-git-ninja/
    *          text eol=lf
    
    #
    # The above will handle all files NOT found below
    #
    
    # Documents
    *.bibtex   text diff=bibtex
    *.doc           diff=astextplain
    *.DOC           diff=astextplain
    *.docx          diff=astextplain
    *.DOCX          diff=astextplain
    *.dot           diff=astextplain
    *.DOT           diff=astextplain
    *.pdf           diff=astextplain
    *.PDF           diff=astextplain
    *.rtf           diff=astextplain
    *.RTF           diff=astextplain
    *.xlsx     binary
    *.xls     binary
    *.md       text eol=lf
    *.tex      text eol=lf diff=tex
    *.adoc     text eol=lf
    *.textile  text eol=lf
    *.mustache text eol=lf
    *.csv      text eol=lf
    *.tab      text eol=lf
    *.tsv      text eol=lf
    *.txt      text eol=lf
    *.sql      text eol=lf
    
    # Graphics
    *.png      binary
    *.jpg      binary
    *.jpeg     binary
    *.gif      binary
    *.tif      binary
    *.tiff     binary
    *.ico      binary
    *.svg      text eol=lf
    *.eps      binary
    
    # Scripts
    *.bash     text eol=lf
    *.fish     text eol=lf
    *.sh       text eol=lf
    
    # These are explicitly windows files and should use crlf
    *.bat      text eol=crlf
    *.cmd      text eol=crlf
    *.ps1      text eol=crlf
    
    # Serialisation
    *.json     text eol=lf
    *.toml     text eol=lf
    *.xml      text eol=lf
    *.yaml     text eol=lf
    *.yml      text eol=lf
    
    # Archives
    *.7z       binary
    *.gz       binary
    *.tar      binary
    *.tgz      binary
    *.zip      binary
    
    # Text files where line endings should be preserved
    *.patch    -text
    
    #
    # Exclude files from exporting
    #
    
    .gitattributes export-ignore
    .gitignore     export-ignore
    
    
    # Source files
    # ============
    *.pxd      text eol=lf diff=python
    *.py       text eol=lf diff=python
    *.py3      text eol=lf diff=python
    *.pyw      text eol=lf diff=python
    *.pyx      text eol=lf diff=python
    *.pyz      text eol=lf diff=python
    
    # Binary files
    # ============
    *.db       binary
    *.p        binary
    *.pkl      binary
    *.pickle   binary
    *.pyc      binary
    *.pyd      binary
    *.pyo      binary
    
    # Jupyter notebook
    *.ipynb    text eol=lf
    
    # Specific project files to override
    # ============
    
    # Poetry is inconsistent with the way it generates files, so in some cases we
    # have to force them to the correct line ending in the run script or the
    # pre-commit hooks.  We don't bother doing that with poetry.lock, since its
    # format is considered an implementation detail of Poetry itself.
    pyproject.toml        text eol=lf
    poetry.lock           text=auto
    docs/requirements.txt text eol=lf
    
    # Note: .db, .p, and .pkl files are associated
    # with the python modules ``pickle``, ``dbm.*``,
    # ``shelve``, ``marshal``, ``anydbm``, & ``bsddb``
    # (among others).
    *.eot binary
    *.ttf binary
    *.woff binary
    *.woff2 binary