Skip to content

fastep should inject code after module docstrings and __future__ imports #18

@jayvdb

Description

@jayvdb

Using fastep on pyflakes:

$ fastep
$ python3 setup.py build
  File "setup.py", line 5
    from __future__ import with_statement
    ^
SyntaxError: from __future__ imports must occur at the beginning of the file

Using fastep on gpgme:

$ fastep
$ python3 setup.py build
Traceback (most recent call last):
  File "setup.py", line 28, in <module>
    description, long_description = __doc__.split("\n\n", 1)
AttributeError: 'NoneType' object has no attribute 'split'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions