dnanexus / dx-toolkit

DNAnexus platform client libraries
http://autodoc.dnanexus.com/
Apache License 2.0
90 stars 85 forks source link

Move __future__ imports to beginning of files #1377

Open giang-nghg opened 3 months ago

giang-nghg commented 3 months ago

Bug description:

Running unit tests in a freshly generated Python app gives:

  File "/home/nixos/dx/zach/test/test.py", line 11
    from __future__ import print_function
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
SyntaxError: from __future__ imports must occur at the beginning of the file