https://github.com/gwastro/pycbc
Raw File
Tip revision: ae501269b6bdb6781fa1b5a9eec64ad5f5bdd147 authored by Gareth S Cabourn Davies on 04 April 2024, 11:02:38 UTC
Bugfix: allow nothing to be given in --labels (#4681)
Tip revision: ae50126
.codeclimate.yml
version: "2"         # required to adjust maintainability checks
checks:
  argument-count:
    config:
      threshold: 30
  complex-logic:
    config:
      threshold: 4
  file-lines:
    config:
      threshold: 1000
  method-complexity:
    config:
      threshold: 1000000
  method-count:
    config:
      threshold: 50
  method-lines:
    config:
      threshold: 100
  nested-control-flow:
    config:
      threshold: 4
  return-statements:
    config:
      threshold: 4
  similar-code:
    config:
      threshold: # language-specific defaults. an override will affect all languages.
  identical-code:
    config:
      threshold: # language-specific defaults. an override will affect all languages.
plugins:
  duplication:
    enabled: true
    config:
      languages:
      - python
  fixme:
    enabled: true
    config:
      strings:
      - FIXME
      - XXX
  pylint:
    enabled: true
    checks:
      import-error:
        enabled: false
  pep8:
    enabled: true

exclude_patterns:
- docs/*
- tools/*
- examples/*
- test/*

back to top