diff --git a/.github/workflows/code-quality.yml b/.github/workflows/code-quality.yml index f1e9c06..d14adc5 100644 --- a/.github/workflows/code-quality.yml +++ b/.github/workflows/code-quality.yml @@ -32,4 +32,4 @@ jobs: - name: Run Xenon Complexity Enforcement id: xenon-check run: | - xenon --max-absolute B \ No newline at end of file + xenon --max-absolute B ./ \ No newline at end of file diff --git a/super_complex_code.py b/super_complex_code.py index 52cb8c3..6efa717 100644 --- a/super_complex_code.py +++ b/super_complex_code.py @@ -6,7 +6,7 @@ def __init__(self, x): def compute(self): if self.x % 3 == 0: - result = (self.x * 3) // 2 + result = (self.x * 3) // 2 * 27 else: result = (self.x + 1) * (self.x - 1)