Revision 1148689648dcffda75d3d035e040eb7e2b389ef3 authored by Daniel Himmelstein on 24 September 2018, 01:27:22 UTC, committed by GitHub on 24 September 2018, 01:27:22 UTC
Merges https://github.com/greenelab/manubot/pull/56 * Move code in __init__.py submodule files to util.py. Enables manubot CLI to be called without running these files and triggering the imports Creates slightly more aesthetic import statements such as `import manubot.cite.util` rather than `import manubot.cite.cite`. * Configure subcommand argparsers in command.py Submodules are now lazily imported, when using the manubot CLI. * Use string function specs for citeproc_retrievers Enables lazy import of citation_retreiver functions. * manubot.cite: expose citation_to_citeproc & standardize_citation Define __all__ in manubot.cite.__init__.py to silence flake8 warning as per https://stackoverflow.com/a/49266468/4651668.
1 parent b46e16b
File | Mode | Size |
---|---|---|
manubot | ||
tests | ||
.appveyor.yml | -rw-r--r-- | 620 bytes |
.gitignore | -rw-r--r-- | 81 bytes |
.travis.yml | -rw-r--r-- | 1.1 KB |
LICENSE.md | -rw-r--r-- | 1.5 KB |
MANIFEST.in | -rw-r--r-- | 27 bytes |
README.md | -rw-r--r-- | 8.7 KB |
setup.py | -rw-r--r-- | 1.9 KB |
Computing file changes ...