New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
flake 8 style warnings #7925
Comments
|
From what I can tell, these scripts are using python2 syntax, hopefully porting them to python3 should fix this. |
|
Converting |
|
I didn't happen to see one in their documentation, however we can possibly |
Ran zts-report.py and test-runner.py from ./tests/test-runner/bin/ through the 2to3 (https://docs.python.org/2/library/2to3.html). Checked the result, looks good. Signed-off-by: Gregor Kopka <gregor@kopka.net>
Ran zts-report.py and test-runner.py from ./tests/test-runner/bin/ through the 2to3 (https://docs.python.org/2/library/2to3.html). Checked the result, looks good. Signed-off-by: Gregor Kopka <gregor@kopka.net>
Ran zts-report.py and test-runner.py from ./tests/test-runner/bin/ through the 2to3 (https://docs.python.org/2/library/2to3.html). Checked the result, looks good. Signed-off-by: Gregor Kopka <gregor@kopka.net>
Ran zts-report.py and test-runner.py from ./tests/test-runner/bin/ through the 2to3 (https://docs.python.org/2/library/2to3.html). Checked the result, Fixed the complaints Builtbot had. Signed-off-by: Gregor Kopka <gregor@kopka.net> Closes openzfs#7925
Ran zts-report.py and test-runner.py from ./tests/test-runner/bin/ through the 2to3 (https://docs.python.org/2/library/2to3.html). Checked the result, fixed 'maxint' -> 'maxsize' that 2to3 missed. Fixed the complaints Builtbot had. Signed-off-by: Gregor Kopka <gregor@kopka.net> Closes openzfs#7925
Ran zts-report.py and test-runner.py from ./tests/test-runner/bin/ through the 2to3 (https://docs.python.org/2/library/2to3.html). Checked the result, fixed 'maxint' -> 'maxsize' that 2to3 missed. Fixed the complaints Builtbot had. Signed-off-by: Gregor Kopka <gregor@kopka.net> Closes openzfs#7925 Requires-builders: style
Ran zts-report.py and test-runner.py from ./tests/test-runner/bin/ through the 2to3 (https://docs.python.org/2/library/2to3.html). Checked the result, fixed 'maxint' -> 'maxsize' that 2to3 missed. Fixed the complaints Builtbot had. Signed-off-by: Gregor Kopka <gregor@kopka.net> Closes openzfs#7925 Requires-builders: style
Ran zts-report.py and test-runner.py from ./tests/test-runner/bin/ through the 2to3 (https://docs.python.org/2/library/2to3.html). Checked the result, fixed 'maxint' -> 'maxsize' that 2to3 missed. Fixed the complaints Builtbot had. Signed-off-by: Gregor Kopka <gregor@kopka.net> Closes openzfs#7925 Requires-builders: style
Ran zts-report.py and test-runner.py from ./tests/test-runner/bin/ through the 2to3 (https://docs.python.org/2/library/2to3.html). Checked the result, fixed 'maxint' -> 'maxsize' that 2to3 missed. Fixed the complaints Builtbot had. Signed-off-by: Gregor Kopka <gregor@kopka.net> Closes openzfs#7925 Requires-builders: style
Ran zts-report.py and test-runner.py from ./tests/test-runner/bin/ through the 2to3 (https://docs.python.org/2/library/2to3.html). Checked the result, fixed 'maxint' -> 'maxsize' that 2to3 missed. Fixed the complaints Builtbot had. Signed-off-by: Gregor Kopka <gregor@kopka.net> Closes openzfs#7925 Requires-builders: style
Ran zts-report.py and test-runner.py from ./tests/test-runner/bin/ through the 2to3 (https://docs.python.org/2/library/2to3.html). Checked the result, fixed 'maxint' -> 'maxsize' that 2to3 missed. Fixed the complaints Builtbot had. Signed-off-by: Gregor Kopka <gregor@kopka.net> Closes openzfs#7925 Requires-builders: style
Ran zts-report.py and test-runner.py from ./tests/test-runner/bin/ through the 2to3 (https://docs.python.org/2/library/2to3.html). Checked the result, fixed 'maxint' -> 'maxsize' that 2to3 missed. Fixed the complaints Builtbot had. Signed-off-by: Gregor Kopka <gregor@kopka.net> Closes openzfs#7925
Ran zts-report.py and test-runner.py from ./tests/test-runner/bin/ through the 2to3 (https://docs.python.org/2/library/2to3.html). Checked the result, fixed: - 'maxint' -> 'maxsize' that 2to3 missed. - 'cmp=' parameter for a 'sorted()' with a 'key=' version. Signed-off-by: Gregor Kopka <gregor@kopka.net> Closes openzfs#7925
Ran zts-report.py and test-runner.py from ./tests/test-runner/bin/ through the 2to3 (https://docs.python.org/2/library/2to3.html). Checked the result, fixed: - 'maxint' -> 'maxsize' that 2to3 missed. - 'cmp=' parameter for a 'sorted()' with a 'key=' version. - try/except wrapping of configparser import as there are still python 2.7 systems that lack the compatibility shim Signed-off-by: Gregor Kopka <gregor@kopka.net> Closes openzfs#7925
Ran zts-report.py and test-runner.py from ./tests/test-runner/bin/ through the 2to3 (https://docs.python.org/2/library/2to3.html). Checked the result, fixed: - 'maxint' -> 'maxsize' that 2to3 missed. - 'cmp=' parameter for a 'sorted()' with a 'key=' version. - try/except wrapping of configparser import as there are still python 2.7 systems that lack a compatibility shim Signed-off-by: Gregor Kopka <gregor@kopka.net> Closes openzfs#7925
Ran zts-report.py and test-runner.py from ./tests/test-runner/bin/ through the 2to3 (https://docs.python.org/2/library/2to3.html). Checked the result, fixed: - 'maxint' -> 'maxsize' that 2to3 missed. - 'cmp=' parameter for a 'sorted()' with a 'key=' version. - try/except wrapping of configparser import as there are still python 2.7 systems that lack a compatibility shim Signed-off-by: Gregor Kopka <gregor@kopka.net> Closes openzfs#7925
Ran zts-report.py and test-runner.py from ./tests/test-runner/bin/ through the 2to3 (https://docs.python.org/2/library/2to3.html). Checked the result, fixed: - 'maxint' -> 'maxsize' that 2to3 missed. - 'cmp=' parameter for a 'sorted()' with a 'key=' version. - try/except wrapping of configparser import as there are still python 2.7 systems that lack a compatibility shim Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Gregor Kopka <gregor@kopka.net> Closes #7925 Closes #7952
Ran zts-report.py and test-runner.py from ./tests/test-runner/bin/ through the 2to3 (https://docs.python.org/2/library/2to3.html). Checked the result, fixed: - 'maxint' -> 'maxsize' that 2to3 missed. - 'cmp=' parameter for a 'sorted()' with a 'key=' version. - try/except wrapping of configparser import as there are still python 2.7 systems that lack a compatibility shim Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Gregor Kopka <gregor@kopka.net> Closes openzfs#7925 Closes openzfs#7952
Ran zts-report.py and test-runner.py from ./tests/test-runner/bin/ through the 2to3 (https://docs.python.org/2/library/2to3.html). Checked the result, fixed: - 'maxint' -> 'maxsize' that 2to3 missed. - 'cmp=' parameter for a 'sorted()' with a 'key=' version. - try/except wrapping of configparser import as there are still python 2.7 systems that lack a compatibility shim Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Gregor Kopka <gregor@kopka.net> Closes openzfs#7925 Closes openzfs#7952
Ran zts-report.py and test-runner.py from ./tests/test-runner/bin/ through the 2to3 (https://docs.python.org/2/library/2to3.html). Checked the result, fixed: - 'maxint' -> 'maxsize' that 2to3 missed. - 'cmp=' parameter for a 'sorted()' with a 'key=' version. - try/except wrapping of configparser import as there are still python 2.7 systems that lack a compatibility shim Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Gregor Kopka <gregor@kopka.net> Closes openzfs#7925 Closes openzfs#7952
Ran zts-report.py and test-runner.py from ./tests/test-runner/bin/ through the 2to3 (https://docs.python.org/2/library/2to3.html). Checked the result, fixed: - 'maxint' -> 'maxsize' that 2to3 missed. - 'cmp=' parameter for a 'sorted()' with a 'key=' version. - try/except wrapping of configparser import as there are still python 2.7 systems that lack a compatibility shim Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Gregor Kopka <gregor@kopka.net> Closes #7925 Closes #7952
System information
Describe the problem you're observing
Current versions of flake8 report new new probably in the python scripts. These need to be fixed for the
make checkstyletarget to pass cleanly.Describe how to reproduce the problem
On Ubuntu 18.08 with flake8 installed.
Include any warning/errors/backtraces from the system logs
N/A
The text was updated successfully, but these errors were encountered: