.prospector.yml 1.05 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46
strictness: veryhigh
autodetect: true
max-line-length: 79
doc-warnings: true
member-warnings: false
test-warnings: false
output-format: grouped
ignore-patterns:
  - ^\.tox/.*
  - ^\.env/.*
  - ^docs/.*
  - ^tests/.*
  - ^build/.*
  - ^dist/.*
  - .*/migrations/.*
  - ^runtests\.py

dodgy:
  run: true
frosted:
  disable: [E401]
  run: true
mccabe:
  options: {max-complexity: 10}
  run: true
pep257:
  disable: [D000, D105, D203, D212, D401, D406, D407, D413]
  run: true
pep8:
  full: true
  options: {max-line-length: 79, single-line-if-stmt: n}
  run: true
profile-validator:
  run: true
pyflakes:
  run: true
pylint:
  disable: [bad-continuation, no-name-in-module, no-member, fixme, empty-docstring, django-not-available, invalid-name, too-few-public-methods]
  options: {max-attributes: 7, max-branches: 12, max-line-length: 79, max-locals: 15,
    max-module-lines: 1000, max-parents: 7, max-public-methods: 20, max-returns: 6,
    max-statements: 50, min-public-methods: 2}
  run: true
pyroma:
  disable: [PYR19, PYR16, PYR15]
  run: true
vulture:
47
  run: false  # bugged