Eric S. Raymond
7723f3fc1a
Add coverage exception now that SAVE_TAMPERING is back.
2023-03-12 10:11:52 -04:00
Eric S. Raymond
8f527fb433
Fix whitespace glitch.
2023-03-09 10:19:53 -05:00
Eric S. Raymond
f53476f826
Complete fix of GitLab issue #64 : Coverage summary looks wrong
2023-03-08 22:55:12 -05:00
Eric S. Raymond
83c32598be
Partially address Gitlsb issue #64 : Coverage summary looks wrong
2023-03-08 21:54:45 -05:00
Eric S. Raymond
a01c08385c
Prevent a spurious coverage error.
2023-03-04 19:58:57 -05:00
Eric S. Raymond
3f34adad3b
Move pylint suppressions inline.
2023-02-28 19:46:50 -05:00
Eric S. Raymond
60d7070506
Cleanup for current pylint.
2023-02-17 13:45:50 -05:00
Eric S. Raymond
dee8809e30
pylint cleanup.
2022-04-14 13:54:45 -04:00
Eric S. Raymond
8b8a3a73c4
Fix bugs in coverage testing.
2022-04-12 19:45:43 -04:00
Eric S. Raymond
c5250b5f3f
Clean up warning and deprecation issues.
2022-04-12 10:53:37 -04:00
Jason Ninneman
12443b0159
Use Python 3, not 2.
2021-01-11 15:56:05 +00:00
Aaron Traas
dd1d69ad82
Fix for change in list handling behavior in Python 3
2018-12-03 13:48:00 -05:00
Eric S. Raymond
42c66160a7
Another coverage tweak.
2018-11-15 13:23:16 -05:00
Aaron Traas
319c5830c8
Moved dungeon.c and dungeon.h templates into external files.
...
Also refactored to use named vars in the templates, so it's easier to
refactor, as order when you call .format() isn't important.
2017-07-23 12:15:25 -04:00
Aaron Traas
e8a627f964
Specials excised from adventure.yaml
2017-07-21 17:15:23 -04:00
Aaron Traas
e9cd50ec38
YAML coverage generator minor cleanup
2017-07-17 13:34:53 -04:00
Eric S. Raymond
3be0cb3596
Prevent multiline string quotes from confusing Emacs.
2017-07-16 17:23:40 -04:00
Aaron Traas
818b95a85f
YAML coverage generator minor cleanup
2017-07-16 07:53:20 -04:00
Aaron Traas
b47d95853b
Fixed YAML coverage generator in python3
2017-07-16 07:53:20 -04:00
Aaron Traas
ac4e43196c
Full refactor of YAML dungeon generator.
...
The big difference is that the differences between the entity types
is concentrated in one place.
Also concentrated all File I/O in main function, moved most processing
outside of main
2017-07-15 17:19:29 -04:00
Aaron Traas
fb86d64b20
First stage cleanup of YAML dungeon generator. Less hard-coded stuff.
...
Next stage will be rewrite so report object contains all of the keys
and coverage values, so we're not scribbling over DB all the time, and
we don't have to walk over things multiple times, and can keep HTML
generation in one place
2017-07-15 13:10:39 -04:00
Eric S. Raymond
61570c700b
More coverage improvements.
2017-07-14 12:00:29 -04:00
Aaron Traas
7220425015
YAML coverage - cleanup and comments
2017-07-13 21:52:27 -04:00
Aaron Traas
99595f6a2a
YAML coverage parser bug fixed -- handling \n
and \t
correctly
2017-07-13 21:52:27 -04:00
Aaron Traas
2ec9c7cc1a
YAML coverage parser fixed to equate "NO_MESSAGE" with None
2017-07-13 21:52:27 -04:00
Aaron Traas
0e2c851131
Expand scope of coverage_dungeon.py - actions and obituaries
2017-07-13 21:52:27 -04:00
Aaron Traas
e176039b01
Expand scope of coverage_dungeon.py - specials
2017-07-13 21:52:13 -04:00
Aaron Traas
39cc166979
Expand scope of coverage_dungeon.py
...
hints, classes and turn thrusholds are now supported
2017-07-12 17:52:56 -04:00
Aaron Traas
b5badcacc8
Forcing floating point division for % coverage, so we don't show 0%
2017-07-12 08:56:50 -04:00
Jason S. Ninneman
bd1b893263
Python-agnosticize coverage_dungeon.py.
2017-07-11 23:14:40 +00:00
Aaron Traas
f43bacfa0f
Sort coverage report to make more readable
2017-07-09 15:31:11 -04:00
Aaron Traas
926a806db9
Made YAML coverage test work with variable messages (%s, %d, etc.)
2017-07-08 19:37:51 -04:00
Aaron Traas
4446c61d5f
Now YAML coverage test generates a nice HTML template
2017-07-07 22:41:59 -04:00
Aaron Traas
310559ce15
adventure.yaml coverage test script -- not at all polished, but works
2017-07-07 16:28:14 -04:00