diff --git a/.codeclimate.yml b/.codeclimate.yml new file mode 100644 index 0000000000000000000000000000000000000000..e735803d339a9ffdbdaed71589f642501f70cdbd --- /dev/null +++ b/.codeclimate.yml @@ -0,0 +1,29 @@ +engines: + duplication: + enabled: true + config: + languages: + python: + + fixme: + enabled: true + markdownlint: + enabled: true + pep8: + enabled: true +exclude_paths: + - tests/** + - docs/** +ratings: + paths: + - smokclient/** +checks: + argument-count: + config: + threshold: 15 + method-complexity: + config: + threshold: 50 + method-count: + config: + threshold: 85 diff --git a/tempsdb/database.pxd b/tempsdb/database.pxd new file mode 100644 index 0000000000000000000000000000000000000000..d0944e2529de8108904ee89fa84354bd15790fea --- /dev/null +++ b/tempsdb/database.pxd @@ -0,0 +1,3 @@ +cdef class Database: + cdef: + int test diff --git a/tempsdb/database.pyx b/tempsdb/database.pyx new file mode 100644 index 0000000000000000000000000000000000000000..f7665ed8a94ebcbc47e429d758708534d8bfa941 --- /dev/null +++ b/tempsdb/database.pyx @@ -0,0 +1,4 @@ +cdef class Database: + def __init__(self, test: int): + self.test = test +