Revision 11d4015f71111fd4addc416ba2c9c1fa2b5cba1f authored by James Lu on 20 June 2018, 15:18:46 UTC, committed by Valentin Lorentz on 20 June 2018, 15:18:46 UTC
* supybot-plugin-create: compactify import statements in the template * supybot-plugin-create: prefer importlib over imp on Python >= 3.4 The imp module is deprecated as of Python 3.4[1], with importlib being the successor. However, importlib is only available in Python 2.7+ and 3.1+, so we should still use a fallback. [1]: https://docs.python.org/3.6/library/imp.html * test: add test cases for supybot-plugin-create * -plugin-create: fix errors when only a subset of args are given * -plugin-create: rename --real-name to --author/-a These days, working under a pseudonym or alias is not unheard of, so putting emphasis on real names feels somewhat out of place. * -plugin-create: add -d as an alias to --desc for consistency
1 parent 72c4801
File | Mode | Size |
---|---|---|
debian | ||
locales | ||
man | ||
plugins | ||
sandbox | ||
scripts | ||
src | ||
test | ||
.gitattributes | -rw-r--r-- | 42 bytes |
.gitignore | -rw-r--r-- | 403 bytes |
.mailmap | -rw-r--r-- | 1.8 KB |
.travis.yml | -rw-r--r-- | 1.4 KB |
CONTRIBUTING.md | -rw-r--r-- | 1.3 KB |
ChangeLog | -rw-r--r-- | 69.0 KB |
LICENSE.md | -rw-r--r-- | 1.6 KB |
Makefile | -rw-r--r-- | 864 bytes |
README.md | -rw-r--r-- | 2.3 KB |
RELNOTES | -rw-r--r-- | 16.1 KB |
requirements.txt | -rw-r--r-- | 83 bytes |
setup.py | -rw-r--r-- | 9.5 KB |
Computing file changes ...