Skip to content

Commit a799a4f

Browse files
Attribution
1 parent 37cdacf commit a799a4f

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

custom_dict.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ callables
4343
cardinality
4444
cd
4545
cfg
46+
Ned
4647
changelog
4748
cheaders
4849
chroot

pylint/extensions/mccabe.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,13 @@
66
# pylint: disable=consider-using-f-string,inconsistent-return-statements,consider-using-generator,redefined-builtin
77
# pylint: disable=super-with-arguments,too-many-function-args,bad-super-call
88

9-
"""Module to add McCabe checker class for pylint."""
9+
"""Module to add McCabe checker class for pylint.
10+
11+
Based on Ned Batchelder's code:
12+
http://nedbatchelder.com/blog/200803/python_code_complexity_microtool.html
13+
Later integrated in pycqa/mccabe under the MIT License then vendored in pylint
14+
under the GPL License.
15+
"""
1016

1117
from __future__ import annotations
1218

0 commit comments

Comments
 (0)