Skip to content

Commit 9f227c1

Browse files
Merge pull request #89 from F-Secure/ci/cc-pashma
chore: added cyclomatic complexity check
2 parents eb17c8e + 0f757ad commit 9f227c1

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

setup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ def _read_long_description():
2828
"safety",
2929
"wheel",
3030
"twine",
31+
"xenon",
3132
]
3233
NAME = "pytest_rts"
3334
NAME_DASHED = NAME.replace("_", "-")

tox.ini

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,6 @@ commands =
1818
{posargs}
1919

2020
[testenv:py38]
21-
commands_pre = black --check pytest_rts --exclude helper_project
21+
commands_pre =
22+
black --check pytest_rts --exclude helper_project
23+
xenon --max-absolute B --max-modules B --max-average B pytest_rts

0 commit comments

Comments
 (0)