Commit graph

247 commits

Author SHA1 Message Date
Griatch
0df87037e7 Ran black on sources, add black config 2020-07-27 21:09:13 +02:00
Griatch
862d2a5d06 Resolve merge conflicts 2020-07-18 15:56:47 +02:00
Griatch
7aa6883b94 Cleanup of examine, escape inlinefuncs. Resolve #2172 2020-07-18 15:51:29 +02:00
Griatch
750922a613 Have EvTable width correctly handle asian alphabets as per #2166. 2020-07-15 23:18:53 +02:00
Griatch
28bff4ddde Resolve merge conflicts 2020-07-15 23:18:38 +02:00
Griatch
101152abde Have EvTable width correctly handle asian alphabets 2020-07-15 23:16:57 +02:00
Griatch
94cf728081 Merge changes from master 2020-07-15 18:07:45 +02:00
Griatch
9fbfc8f8d0 Almost completed refactoring of source docstrings for new doc system 2020-07-10 22:47:37 +02:00
Griatch
7fed14d233 Rename docstring Kwargs to Keyword Args 2020-07-10 15:57:57 +02:00
Griatch
29fc31bb01 Post-process docstring output 2020-07-10 14:14:34 +02:00
Griatch
a848960819 Update list_to_string to handle generators. Resolve #2120 2020-06-28 11:09:59 +02:00
Griatch
c8b056d06d Homogenize email-validation into one utility. Resolve #2143 2020-06-27 13:12:41 +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