Commit graph

1122 commits

Author SHA1 Message Date
Griatch
cc6206db93 Fix issue with EvTable crop. Resolve #2761 2022-11-06 10:52:24 +01:00
Griatch
9438e5856a Support direct EvColumn adds to EvTable. Resolves #2762 2022-11-06 10:23:20 +01:00
Griatch
7d8c6f2a26 Ran black on code 2022-11-05 23:35:25 +01:00
Griatch
020854f697 Fix EvTable issues. 2022-11-05 23:30:11 +01:00
Griatch
d9ec226436 Add more unit tests for Evtable; start docs for several components 2022-11-05 20:40:39 +01:00
Griatch
109e75d51c Fix some typos; skipping test awaiting later refactorings 2022-11-05 19:11:19 +01:00
Griatch
9709ecbc57 Support 'a' (absolute) justification. Let EvForm accept EvCells as mappings. Resolve #2762 2022-11-05 17:59:32 +01:00
Griatch
158b9e2e12 Add literals-mappings to EvForm for custom remaps 2022-11-05 14:13:29 +01:00
Griatch
f48db64a7c Refactor EvForm code for readability and style 2022-11-05 13:25:53 +01:00
InspectorCaracal
078dc12377 check for .category attribute 2022-11-01 18:50:12 -06:00
Griatch
20a2646646 Expand some of the exceptions 2022-11-01 17:26:05 +01:00
Griatch
e9e12da793 Merge pull request #2963 from mikejgray/2911__feat-proper-exceptions
chore: convert try/except on TypeError to ValueError
2022-11-01 17:22:31 +01:00
Mike Gray
98d9e5d198 fix: allow for corner case 2022-10-31 20:55:37 -05:00
Mike Gray
bafa9f05bb chore: revert to try/except and replace TypeError 2022-10-31 20:35:22 -05:00
Griatch
353e4c0aa7 Ran formatting on code 2022-10-31 20:43:27 +01:00
Griatch
a2289c46f8 Fix nesting count - with tests. Resolve #2926 2022-10-31 20:38:23 +01:00
Mike Gray
8934579cda chore: convert try/except to explicit checks
Rather than causing an exception and handling it, this change explicitly checks the type of certain arguments and only converts strings to integers if needed.

Both this change and the previous implementation don't handle cases where the string passed is not numeric. However, I'm just getting familiar with the codebase, so this is possibly handled elsewhere.
2022-10-29 21:23:07 -05:00
Griatch
5c6a4200c2 Fix unittest hitting random exception 2022-10-29 18:45:08 +02:00
Griatch
b684194795 Stop escape ' in funcparser; req double quotes. Resolve #2737. 2022-10-29 18:28:30 +02:00
InspectorCaracal
d40dfefc44 add docstring to broken script module 2022-10-28 09:44:46 -06:00
InspectorCaracal
d1981bd15b Merge branch 'develop' into global-scripts-raise 2022-10-28 09:30:09 -06:00
InspectorCaracal
1ce44db283 test exceptions more precisely 2022-10-28 09:28:44 -06:00
Griatch
d1fc7b3cfd Fix multimatch aliasing. Resolve #2960. 2022-10-27 16:54:56 +02:00
homeofpoe
24bd1d2e26 Update evform.py
Fixes uncommented lines.
2022-10-25 09:09:11 -07:00
Griatch
f3182b0dae Set min channel log rotate size to 1kB. Resolve #2702 2022-10-23 11:20:01 +02:00
Griatch
66e03d4a59 Fix doc build issue from early container load 2022-10-23 10:40:12 +02:00
InspectorCaracal
b06e8cefde fix edge cases, add tests 2022-10-14 11:59:42 -06:00
Griatch
0f70f51724 Fix $choice funcparser; improve safe_eval parsing of containers. Resolve #2910. 2022-10-13 23:22:05 +02:00
Griatch
4fb5268acd Fix of FuncParser nested any-output. Resolve #2908, #2902 2022-10-13 20:05:42 +02:00
Griatch
336ef18eb8 Merge branch 'develop' into fix/funcparser 2022-10-13 19:01:36 +02:00
Griatch
f1e8ff5965 Fix regression caused by fixing the search_typeclass manager method 2022-10-13 18:59:54 +02:00
Griatch
2d74c89eb8 Fix funcparser issues 2022-10-13 18:45:39 +02:00
Wendy Wang
a4eb891f69 Adding search_typeclass to search utils 2022-10-13 15:01:27 +02:00
Griatch
c7a2b8b37b Merge pull request #2930 from audiodude/funcparser-search-f-string
Remove f-string with unbound variable in funcparser
2022-10-13 09:12:01 +02:00
Griatch
f4a092830e Merge pull request #2918 from audiodude/funcparser-coverage
Increase test coverage for funcparse.py, finding bugs in the process
2022-10-13 08:26:25 +02:00
Travis Briggs
af77083b6e Fix funcparser $search method exception message 2022-10-12 17:47:56 -07:00
Griatch
ea877bb13e Merge pull request #2929 from audiodude/funcparser-search-check
Fix access control check in $search() function
2022-10-12 20:46:20 +02:00
Griatch
0cef9d54c5 Merge pull request #2928 from audiodude/funcparser-round
In funcparser, make $round() actually return value
2022-10-12 20:44:56 +02:00
Griatch
01e33751d8 Merge pull request #2925 from InspectorCaracal/str2int
Add `str2int` as counterpart to `int2str`
2022-10-12 20:44:32 +02:00
Griatch
5f951de286 Merge pull request #2903 from InspectorCaracal/refactor-pronouns
Refactor `pronouns.py`
2022-10-11 23:39:11 +02:00
InspectorCaracal
1c4cf58f12 Update pronouns.py 2022-10-11 10:17:21 -06:00
Travis Briggs
4eb0940b36 Fix tests 2022-10-10 15:30:43 -07:00
Travis Briggs
a22f232ae3 Fix access control check in $search() function 2022-10-10 15:16:12 -07:00
Travis Briggs
46e6694794 In funcparser, make $round() actually return value 2022-10-10 15:11:20 -07:00
Travis Briggs
0775c397ea Add failing test for whitespace preservation 2022-10-10 15:06:42 -07:00
InspectorCaracal
e129e5682c Update pronouns.py 2022-10-10 12:24:30 -06:00
InspectorCaracal
734f0dd20e strip ands, correct test 2022-10-09 22:11:20 -06:00
InspectorCaracal
18c3996020 do single-number check AFTER conversion from ordinal 2022-10-09 21:33:11 -06:00
InspectorCaracal
0ff4097a47 typos 2022-10-09 21:30:28 -06:00
InspectorCaracal
d4e11abd1d add tests 2022-10-09 21:14:16 -06:00