summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Move documentation to top-level.feature/refactorZearin2011-12-3044-0/+2674
| | | | Following the examples I’ve seen in other Python projects.
* (Messy!) fix for some import errors.Zearin2011-12-262-13/+23
| | | | | | After swearing off Eclipse for many many years, I shamefully started using it again for the functionality provided by the PyDev plug-in. Despite living in the world’s ugliest IDE, PyDev is SUPER helpful in spotting errors and resolving dependencies. I tip my hat to the PyDev folks!
* Defined `__package__`Zearin2011-11-151-1/+3
|
* Various Python3 edits.Zearin2011-11-151-46/+11
| | | | | | | | | | * using `isinstance()` on files checks against 2 classes instead of just 1 (a match for either returns true) * remove `u` from the beginning of strings (Python3 has no `unicode` or `basestring` types) * Python3 style exceptions * Use `.format()` over `%` (not strictly Python3, but still--it’s code modernization :P)
* Use `.format()` over `%`; Python3 style exceptions.Zearin2011-11-151-30/+30
|
* Move `EmbeddedConsoleExit` to `errors.py`.Zearin2011-11-151-4/+0
|
* Tweaked non-significant whitespace.Zearin2011-11-151-15/+56
|
* Tweaked docstrings; switched from `%` to `.format()`.Zearin2011-11-151-5/+41
|
* Non-significant whitespace tweaks; switched to `.format()` use over the old `%`.Zearin2011-11-151-13/+49
|
* Non-significant whitespace adjustments (readability).Zearin2011-11-151-20/+58
|
* Tweaked file's docstring, regrouped importsZearin2011-11-151-49/+101
|
* Added first-line comment, declaring UTF-8 encoding.Zearin2011-11-128-11/+21
|
* Made INSTALL permissions include executable (to match README).Zearin2011-11-121-0/+0
|
* Elaborated comment to explain I am still a relative newcomer to Python.Zearin2011-11-121-0/+4
|
* Docstring stubs added. (Non-leading!) Whitespace for readability.Zearin2011-11-126-113/+206
|
* Added `.rst` extension to ReST files.Zearin2011-11-112-0/+0
|
* Whitespace adjustments (for readability)Zearin2011-10-173-23/+26
| | | | | | | Mostly aligned comments, variable assignments, and OptParse decorators to align vertically (so they read like a “table”). (And of course, this was done with respect for scope!)
* Moved all non-“boilerplate” files under cmd2Zearin2011-10-1059-0/+0
| | | | /.
* Added runTranscriptTests() to tests.py.Zearin2011-10-101-25/+41
|
* Added docstring to `fund_named()`.Zearin2011-10-081-0/+2
|
* Moved all `do_*` methods to commands.py.Zearin2011-10-082-501/+520
| | | | | | The contents of commands.py gets imported at the top of the Cmd class. Also did a couple other small tweaks to the Cmd class. Mostly moving stuff around (private defs first, sorted the class variables near the top of Cmd, etc.)
* Moved code from cmd2.py into errors.py, parsers.py, support.py, and tests.py.Zearin2011-10-075-928/+1189
| | | | Also marked items for future tasks, tweaked docstrings, tweaked code to make repetitive statements read easier, and grouped all `do_` methods together inside the Cmd class.
* Changed docstring comment to a normal comment.Zearin2011-10-071-10/+13
| | | | The comment is obviously not intended as a block of descriptive text, so it probably shouldn't use the docstring style.
* Added header comments to describe each file's purpose.Zearin2011-10-076-0/+32
|
* Added bare files to begin refactoring.Zearin2011-10-076-0/+0
|
* Added header comments to ignoreBug.py and setup.py indicating they should ↵Zearin2011-10-072-0/+11
| | | | describe their purpose.
* Removed leftovers from installing with pip.Zearin2011-10-07569-87168/+0
| | | | | | Oops! I noticed there was a bunch of extra crap left over from when I installed this module onto my own system. I thought it wouldn't have modified itself at the time (just the Python module library on my system), but I was wrong. Begone, useless cruft!
* Ignore Mercurial dotfiles (.hg*).Zearin2011-10-0799-169/+2
|
* Initial import.Zearin2011-10-05725-0/+92080
Copy of the Python module cmd2 by Catherine Devlin. Note that this is NOT the official copy (it’s at http://www.assembla.com/spaces/python-cmd2/wiki ). I’d rather just work using git + GitHub instead of hg + Assembla. ☺ OTOH, I fully intend to submit changes back to the official repo on Assembla—so don’t be shy, fork away. I’m happy for any help!