.coafile 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. [all]
  2. # note: put developer specific settings into ~/.coarc (e.g. editor = ...)
  3. max_line_length = 255
  4. use_spaces = True
  5. ignore = src/borg/(chunker.c|compress.c|hashindex.c|item.c),
  6. src/borg/algorithms/(checksums.c|crc32*.c),
  7. src/borg/algorithms/blake2/**,
  8. src/borg/algorithms/lz4/**,
  9. src/borg/algorithms/xxh64/**,
  10. src/borg/algorithms/zstd/**,
  11. src/borg/crypto/low_level.c,
  12. src/borg/platform/*.c
  13. [all.general]
  14. files = src/borg/**/*.(py|pyx|c)
  15. bears = SpaceConsistencyBear, FilenameBear, InvalidLinkBear, LineLengthBear
  16. file_naming_convention = snake
  17. [all.python]
  18. files = src/borg/**/*.py
  19. bears = PEP8Bear, PyDocStyleBear, PyLintBear
  20. pep_ignore = E123,E125,E126,E127,E128,E226,E301,E309,E402,F401,F405,F811,W690
  21. pylint_disable = C0103, C0111, C0112, C0122, C0123, C0301, C0302, C0325, C0330, C0411, C0412, C0413, C1801,
  22. I1101,
  23. W0102, W0104, W0106, W0108, W0120, W0201, W0212, W0221, W0231, W0401, W0404,
  24. W0511, W0603, W0611, W0612, W0613, W0614, W0621, W0622, W0640, W0702, W0703,
  25. W1201, W1202, W1401,
  26. R0101, R0201, R0204, R0901, R0902, R0903, R0904, R0911, R0912, R0913, R0914, R0915,
  27. R0916, R1701, R1704, R1705, R1706, R1710,
  28. E0102, E0202, E0401, E0601, E0611, E0702, E1101, E1102, E1120, E1129, E1130
  29. pydocstyle_ignore = D100, D101, D102, D103, D104, D105, D200, D201, D202, D203, D204, D205, D209, D210,
  30. D212, D213, D300, D301, D400, D401, D402, D403, D404
  31. [all.c]
  32. files = src/borg/**/*.c
  33. bears = CPPCheckBear
  34. [all.html]
  35. files = src/borg/**/*.html
  36. bears = HTMLLintBear
  37. htmllint_ignore = *