Skip to content

docstrings with signature on first line including {} #7

Description

@jayvdb

While this isnt pretty, and they might be interested in changing it as it only occurs in a few modules, it is causing false positives.

'''API Function: insert(search_type, data, metadata={}, parent_key=None,  info={}, use_id=False, triggers=True)
...
'''

Modules with this syntax (All start with 'API Function: ' or 'Function: ')
https://github.com/Southpaw-TACTIC/TACTIC/blob/master/src/client/tactic_client_lib/tactic_server_stub.py
https://github.com/Southpaw-TACTIC/TACTIC/blob/master/src/pyasm/application/common/application.py
https://github.com/Southpaw-TACTIC/TACTIC/blob/master/src/pyasm/interpreter/tactic_client_lib/tactic_server_stub.py
https://github.com/Southpaw-TACTIC/TACTIC/blob/master/src/pyasm/prod/service/api_xmlrpc.py

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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