Commit graph

16 commits

Author SHA1 Message Date
Griatch
f1adee4636 Update docstrings to pass autodoc parsing 2020-10-11 17:15:30 +02:00
Griatch
1d5f27b820 Run black on sources; add black config 2020-07-27 21:12:06 +02:00
Griatch
143137cc3e Homogenize email-validation into one utility. Resolve #2143 2020-06-27 13:12:41 +02:00
trhr
5af43fbee6 fixing fstring 2020-04-16 06:14:03 -05:00
trhr
5c51bb7e97 fixing fstring 2020-04-16 05:53:51 -05:00
trhr
af0eaed28a i18n 2020-04-15 21:21:16 -05:00
Griatch
3e6b7ba3cf Make options accept default kwarg, add new raise_exception. Fix datetime validatorfunc accoring to spec. Resolves #1967. 2020-01-20 23:20:05 +01:00
Griatch
a27a8c3df3 Make scripts/objects lists use EvMore. Change EvMore to not justify by default. 2020-01-11 15:49:12 +01:00
Griatch
3cc5701f66 Ran black on branc 2019-12-16 20:31:42 +01:00
Henddher Pedroza
9a0dec1ad6 Fix issue in validatorfuncs.timedelta() in which days and years (in days) aren't added to create datetime.timedelta(days=days, ...). 2019-10-24 21:27:39 -04:00
Henddher Pedroza
b1683219ac validatorfuncs.future must create utcnow() time-aware so comparison with generated datetime can be done. 2019-10-16 20:11:59 -04:00
Henddher Pedroza
bb44d033e2 Tests for evennia/utils/validatorfuncs.
- future()
- signed_integer()
- positive_integer()
- unsigned_integer()
- boolean
- timezone
- email
- lock
2019-10-14 22:38:31 -04:00
Henddher Pedroza
29971de444 Tests for evennia/utils/validatorfuncs.
- text()
- color()
- datetime()
- duration()
2019-10-14 20:58:52 -04:00
Griatch
21fe2c0e2c Format code with black. Add makefile to run fmt/tests 2019-09-28 18:18:11 +02:00
Griatch
fb5dcc2eff Remove validator container, allow direct setting of options 2019-04-14 21:06:43 +02:00
Griatch
b70d8ed70f Refactor containers for inheritance and delayed loading 2019-04-14 15:37:34 +02:00
Renamed from evennia/utils/validatorfunctions.py (Browse further)