Closed johnklee closed 3 years ago
Regarding below warning:
mobly/logger.py:26:91: E501 line too long (92 > 90 characters)
It is caused by a long URL:
24 LINUX_MAX_FILENAME_LENGTH = 255
25 # Filename sanitization mappings for Windows.
26 # See https://docs.microsoft.com/en-us/windows/win32/fileio/naming-a-file#naming-conventions
27 # Although the documentation says that 260 (including terminating nul, so 259)
I prefer not to fix it according to the discussion here
Part1 fix is ready from below commit: https://github.com/johnklee/mobly/commit/9dc84f158b921184d94576930d9edc10790b7cee
Part2 fix PR is created: https://github.com/google/mobly/pull/745
The last part (part2) is fixed and merged. Therefore, close this issue. Many thanks for the help and review from @xpconanfan
Thanks @johnklee for the contributions!
With
.flake8
setting as below:Launch flake8 check below will have below warning:
To avoid a large PR, I will divide the commits into multiple PR to reduce the review efforts according to the suggestion from this comment.