-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathradon.cfg
29 lines (21 loc) · 1.02 KB
/
radon.cfg
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
[radon]
# https://radon.readthedocs.io/en/latest/commandline.html
# pip install --upgrade --no-cache-dir radon
# The minimum complexity to display (default to A).
cc_min = B
# Ignore directories when their name matches one of these glob patterns: radon won't even descend into them.
# By default, hidden directories (starting with '.') are ignored.
ignore = tests
# Exclude files only when their path matches one of these glob patterns. Usually needs quoting at the command line.
exclude = **/test_*.py
# Whether or not to show the actual complexity score together with the A-F rank.
# Default to False.
show_complexity = True
# Add closures/inner classes to the output.
show_closures = True
# Do not count `assert` statements when computing complexity.
no_assert = False
# If True, at the end of the analysis display the average complexity. Default to False.
# average = False
# Like `average`, but it is not influenced by `min` and `max`. Every analyzed block is counted, no matter whether it is displayed or not.
total_average = True