mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
PY-11552 Keep maximum 1 empty line between declarations and in code by default
Fix affected test data where reformat is invoked during refactoring. Also use entire sample provided by user in the corresponding test case for the issue.
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
from a import main
|
||||
from b import C
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
main()
|
||||
c = C()
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
from file1 import function_2
|
||||
from file2 import function_1
|
||||
|
||||
|
||||
function_1()
|
||||
function_2()
|
||||
@@ -1,6 +1,5 @@
|
||||
from file1 import function_1
|
||||
from file2 import function_2
|
||||
|
||||
|
||||
function_1()
|
||||
function_2()
|
||||
Reference in New Issue
Block a user