Skip to content

Commit e97c20d

Browse files
committed
migrate: Ignore too-many-statements check
Migration scripts are throw-away, so not having a very good design/long functions is not a big issue. Signed-off-by: Leandro Lucarella <luca-frequenz@llucax.com>
1 parent 9e54a59 commit e97c20d

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

.github/cookiecutter-migrate.template.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
""" # noqa: E501
2222

2323
# R0801 is similarity detection, as the template is always similar to the current script
24-
# pylint: disable=too-many-lines, too-many-locals, too-many-branches, R0801
24+
# pylint: disable=too-many-lines, too-many-locals, too-many-branches, too-many-statements, R0801
2525

2626
import hashlib
2727
import json

cookiecutter/migrate.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
""" # noqa: E501
2222

2323
# R0801 is similarity detection, as the template is always similar to the current script
24-
# pylint: disable=too-many-lines, too-many-locals, too-many-branches, R0801
24+
# pylint: disable=too-many-lines, too-many-locals, too-many-branches, too-many-statements, R0801
2525

2626
import hashlib
2727
import json

0 commit comments

Comments
 (0)