Skip to content

SyntaxError: from __future__ imports must occur at the beginning of the file #1774

@paulmdavies

Description

@paulmdavies

The most recent release (released to npm today) doesn't work because of some python formatting issues:

SyntaxError: from __future__ imports must occur at the beginning of the file

This can be seen simply by checking out the repo and doing:

python <repo location>/gyp/tools/pretty_vcproj.py

or

python <repo location>/gyp/tools/pretty_sln.py

It's a problem with both python 2 and python 3.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions