mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-22 01:31:03 +00:00
hooks:python: Max line length should be 120
As we ignore line length in pycodestyle and we have many places with line with more than 80 and less than 120 chars Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1121>
This commit is contained in:
parent
9a183e45d4
commit
57bfb85bc5
1 changed files with 1 additions and 1 deletions
|
@ -71,7 +71,7 @@ def main():
|
||||||
if non_compliant_files:
|
if non_compliant_files:
|
||||||
print(NOT_PYCODESTYLE_COMPLIANT_MESSAGE_POST)
|
print(NOT_PYCODESTYLE_COMPLIANT_MESSAGE_POST)
|
||||||
for non_compliant_file in non_compliant_files:
|
for non_compliant_file in non_compliant_files:
|
||||||
print("autopep8 -i ", non_compliant_file, "; git add ",
|
print("autopep8 -i --max-line-length 120", non_compliant_file, "; git add ",
|
||||||
non_compliant_file)
|
non_compliant_file)
|
||||||
print("git commit")
|
print("git commit")
|
||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
|
|
Loading…
Reference in a new issue