python def my_function(): if some_condition: do_something() python def my_function(): if some_condition: do_something() python import math def calculate(): return 1 + 2 python def calculate(): return 1 + 2 python x=5+2 python x = 5 + 2 python def my_function(parameter1, parameter2, parameter3, parameter4): do_something() python def my_function( parameter1, parameter2, parameter3, parameter4): do_something() pip install flake8 flake8 file.py flake8 directory/ [flake8] max-line-length = 80 indent-size = 4


上一篇:
下一篇:
切换中文