Skip to content

Commit 9cb8ea8

Browse files
pb8oalxiord
authored andcommitted
fix(tests): disable Pylint line-too-long
Pylint uses a line-too-long max-line width of 100[1]. Black uses a soft-limit of 88[2], so they conflict in some situations. Let's disable Pylint line-too-long check and depend only on black for Python formatting. [1]: https://docs.pylint.org/features.html#id18 [2]: https://black.readthedocs.io/en/stable/the_black_code_style/current_style.html#line-length Signed-off-by: Pablo Barbáchano <pablob@amazon.com>
1 parent c4d8086 commit 9cb8ea8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/integration_tests/build/test_pylint.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ def test_python_pylint():
2020
'--variable-rgx="[a-z_][a-z0-9_]{1,30}$" --disable='
2121
"fixme,too-many-instance-attributes,import-error,"
2222
"too-many-locals,too-many-arguments,consider-using-f-string,"
23-
"consider-using-with,implicit-str-concat"
23+
"consider-using-with,implicit-str-concat,line-too-long"
2424
)
2525

2626
# Get all *.py files from the project

0 commit comments

Comments
 (0)