Skip to content

Remove the dead argh __main__ block in misc/example_slang_train_script.py (fleet-wide argh removal) #9

Description

@thorwhalen

Part of the fleet-wide argh removal tracked in i2mint/cw#29.

misc/example_slang_train_script.py:167-170 ends with:

if __name__ == '__main__':
    from argh import dispatch_command

    dispatch_command(compute_snips)

Verified unreachable. setup.cfg's install_requires is numpy, pandas, scikit-learn, matplotlib, dol, atypes, i2, config2py — no argh — there are no console_scripts, and the file sits in misc/, outside the packaged slang package, so it is not even shipped. Deleting the four lines is a no-op for every consumer and makes this repo's argh audit go quiet.

The change is prepared and tested locally, but I do not have push access to otosense/slang (the account has pull only), so I cannot open the PR. Filing this so the work is not lost. Anyone with write access can land it as a four-line deletion; no other file needs to change.

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions