Commit graph

136 commits

Author SHA1 Message Date
Griatch
29fc31bb01 Post-process docstring output 2020-07-10 14:14:34 +02:00
Griatch
4bfaa154d9 Resolve merge conflicts 2020-05-16 15:38:09 +02:00
Griatch
8b2b23873f Run black on sources 2020-04-20 23:39:09 +02:00
Griatch
dc81d275e6 Merge branch 'master' into develop 2020-04-20 23:15:53 +02:00
Griatch
162b3a0c96 Make Trait unit tests pass for base trait types 2020-04-19 15:47:11 +02:00
Griatch
7c12e4d362 Refactor gauge trait to match description of it 2020-04-18 21:48:37 +02:00
trhr
f088207091 fixing fstring 2020-04-16 06:14:03 -05:00
trhr
0f8c0ad9bf fixing fstring 2020-04-16 05:53:51 -05:00
Griatch
21d62e651a Ran black on sources 2020-04-12 12:19:15 +02:00
Griatch
66ed25b885 Correct unit tests for grid generator 2020-04-11 20:40:15 +02:00
Griatch
642f17be68 Fix bug in ANSIString 2020-04-11 20:28:29 +02:00
Griatch
458df00272 Fix bugs in format_grid, include verbatim elements 2020-04-11 13:28:24 +02:00
Griatch
a863ff77db Further fixes to format_grid 2020-04-11 11:37:30 +02:00
Griatch
c9cab183f5 Further fixes to format_grid 2020-04-11 11:33:13 +02:00
Griatch
2a18cb0a2d Better indexing of help suggestions with lunr, better display 2020-04-11 09:42:22 +02:00
trhr
ce0a012e51 The django.db.backends.postgresql_psycopg2 module is deprecated in favor of django.db.backends.postgresql. It’s been an alias since Django 1.9 2020-02-09 20:14:47 -06:00
trhr
090157979b django.utils.translation.ugettext(), ugettext_lazy(), ugettext_noop(), ungettext(), and ungettext_lazy() are deprecated in favor of the functions that they’re aliases for: django.utils.translation.gettext(), gettext_lazy(), gettext_noop(), ngettext(), and ngettext_lazy(). 2020-02-09 20:14:47 -06:00
Griatch
69d85bd184 Make scripts/objects lists use EvMore. Change EvMore to not justify by default. 2020-01-11 15:49:12 +01:00
Griatch
4ea6209123 Ran black on branc 2019-12-16 20:31:42 +01:00
Domenic Barbuzzi
96d5734e51 Update utils.latinify to support Python 3 2019-10-01 12:11:11 -04:00
Griatch
c2c7fa311a Format code with black. Add makefile to run fmt/tests 2019-09-28 18:18:11 +02:00
Greg Taylor
901277ea64 Switch to module imports for importlib in utils
The present day guidance is to lean towards module imports for the
stdlib modules. Switch importlib imports to this instead of
plucking out the functions that we need. This makes it more
immediately apparent as to where the functions are coming from
in the application logic.
2019-09-15 20:21:50 -07:00
Greg Taylor
da48fa2e52 Refactor mod_import to use importlib
Switch from the deprecated imp to importlib. Also add tests and
clean up logic flow. This should be quite a bit faster than the
old implementation as well.
2019-09-15 20:21:50 -07:00
Greg Taylor
edbe583959 Clean up utils gc/sys imports
Move to top and import the modules instead of funcs from them.
Keeps the scope cleaner.
2019-09-15 00:18:56 -07:00
Greg Taylor
e5354a6787 Remove py3.6 handler for ModuleImportError
We require 3.7+ now, no need.
2019-09-15 00:18:56 -07:00
Greg Taylor
3fb23f4c70 Remove unused utils.clean_object_caches func
Sounds like this used to have a purpose but no longer does.
2019-09-15 00:17:39 -07:00
Griatch
18a09e341c Fix time format Windows does not support. Resolve #1881. Resolve #1880 2019-08-29 00:10:46 +02:00
Griatch
7f3c6dd918 Change tutorial typeclass to Tutorial Readable and TutorialClimbable. Improve error report for failed typeclass import. 2019-08-24 16:55:46 +02:00
Griatch
ec3b9949ea Make returnValue available from utils 2019-06-28 23:53:56 +02:00
Griatch
8a6ec779da Make grapevine connect and work 2019-06-23 18:59:45 +02:00
Griatch
aa6b403cd1 Remove @ from default commands. Update docstrings 2019-06-17 22:04:59 +02:00
Griatch
ed187ad05f Various fixes from game jam 2019-05-14 10:33:31 +02:00
Griatch
a2bc979503 Add @interactive decorator to use yield to pause in a method 2019-04-21 14:25:39 +02:00
Griatch
a5aec53a9e Refactor mail contrib with CmdMail, CmdMailCharacter etc. Resolves #1802 2019-04-07 21:50:27 +02:00
Griatch
74f22791d8 Resolve merge conflicts 2019-02-03 15:45:17 +01:00
Griatch
11d39a57b5 Add unit tests for syscmds, refactor cmdparser 2019-02-01 23:23:41 +01:00
Griatch
fa8c7657da Clean up unicode mentions in docstrings 2019-01-31 23:44:16 +01:00
Griatch
c3ebd8d251 Use to_str/to_bytes, replacing old versions 2019-01-16 23:26:46 +01:00
Griatch
6844097322 Convert to_str to to_bytes 2019-01-15 21:03:42 +01:00
Griatch
57280d5bef Handle missing ModuleNotFoundError in py3.5 2018-10-13 20:47:25 +02:00
Griatch
ebb2fb6c1c Clean up with 2to3 2018-10-13 19:43:17 +02:00
Griatch
72f4fedcbe Merge with develop and fix merge conflicts 2018-10-01 20:58:16 +02:00
Griatch
6ec7c7a63f Improve docstring 2018-08-20 20:39:04 +02:00
Griatch
b6675b854e Resolve unittests 2018-08-12 13:37:19 +02:00
Griatch
298b2c23c6 Cleanup/refactoring of olc menus 2018-08-11 11:49:10 +02:00
Griatch
e49993fbb5 Create columnize (no ansi support at this point) 2018-08-10 10:13:05 +02:00
Griatch
721cdb5ae0 Many more tests, debugging of protfuncs/inlinefuncs 2018-06-17 23:42:53 +02:00
Griatch
34b8c0dbce New list_node decorator for evmenu. Tested with olc menu 2018-03-31 21:10:20 +02:00
Griatch
bf80879ffc Add typeclass/list to list all available typeclasses 2018-03-17 23:29:16 +01:00
Griatch
5d1c3cb27e Merge branch 'master' into develop 2018-01-02 21:52:43 +01:00