Add codeclimate config

[why]
Code Climate configuration for Python is per default rather restrictive
and would force us to split all stuff into too many files.

[how]
Have some faith in the cognitive capabilities of people.

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
This commit is contained in:
Fini Jastrow 2021-12-15 12:03:45 +01:00 committed by Fini
parent 953ec87918
commit d939fd4f56
2 changed files with 15 additions and 0 deletions

14
.codeclimate.yml Normal file
View file

@ -0,0 +1,14 @@
version: "2"
checks:
file-lines:
config:
threshold: 500
method-complexity:
config:
threshold: 9
method-count:
config:
threshold: 30
method-lines:
config:
threshold: 50

View file

@ -2,3 +2,4 @@
!src/glyphs
!font-patcher
!bin/scripts/docker-entrypoint.sh
!.codeclimate.yml