.codeclimate.yml
version: "2"
# https://codeclimate.com/
# https://docs.codeclimate.com/docs/maintainability#section-checks
# https://docs.codeclimate.com/docs/advanced-configuration#default-checks
checks:
file-lines:
config:
# Pylint's default is also 1000: https://github.com/PyCQA/pylint/blob/master/pylint/checkers/format.py#L294-L300
threshold: 1000
method-complexity:
config:
threshold: 10 # Same as [flake8]max-complexity
plugins:
bandit: # https://docs.codeclimate.com/docs/bandit
enabled: true
editorconfig: # https://docs.codeclimate.com/docs/editorconfig
enabled: true
fixme: # https://docs.codeclimate.com/docs/fixme
enabled: false
git-legal: # https://docs.codeclimate.com/docs/git-legal
enabled: true
markdownlint: # https://docs.codeclimate.com/docs/markdownlint # TODO: style: enable markdownlint after configuring it
# https://github.com/markdownlint/markdownlint
enabled: false
pep8: # https://docs.codeclimate.com/docs/pep8 PEP8 already being checked by flake8 plugins on pre-commit
enabled: false
pylint: # https://docs.codeclimate.com/docs/pylint Already checked by pre-commit
enabled: false
radon: # https://docs.codeclimate.com/docs/radon
enabled: false
config:
# https://radon.readthedocs.io/en/latest/commandline.html#the-cc-command
threshold: "C"
shellcheck: # https://docs.codeclimate.com/docs/shellcheck
enabled: true
sonar-python: # https://docs.codeclimate.com/docs/sonar-python
enabled: true