|  | dcccaebbab | Merge pull request 'Python 3.13: Fix and polish' (#1) from noelle/tilde-train:python-3.13 into trunk Reviewed-on: vilmibm/tilde-train#1
Reviewed-by: vilmibm <vilmibm@noreply.example.org> | 2025-06-02 22:23:22 +00:00 |  | 
			
				
					|  | 6063c8b3b3 | Escape HTML characters when printing the train Since it's wrapped in a `<pre>`, I assume it's meant to be inserted into
HTML? | 2025-06-02 17:24:04 -04:00 |  | 
			
				
					|  | 0b53c462de | Make validate_car raise exception on failure instead of returning 0 | 2025-06-02 17:23:45 -04:00 |  | 
			
				
					|  | a07aa2685b | Add better error handling for curses failures | 2025-06-02 15:55:38 -04:00 |  | 
			
				
					|  | db1464c2d2 | Remove commented code | 2025-06-01 22:28:46 -04:00 |  | 
			
				
					|  | 93a8273b6d | Replace double # with single | 2025-06-01 22:28:46 -04:00 |  | 
			
				
					|  | 2ba6a9c0ca | Add type hint for cars | 2025-06-01 22:28:46 -04:00 |  | 
			
				
					|  | 681fa6514c | validate_car: Don't reassign input variable This makes it easier to track what's happening in the function | 2025-06-01 22:28:46 -04:00 |  | 
			
				
					|  | 56f7c8d278 | Make each default car a separate list in memory So the link strings don't just grow over time | 2025-06-01 22:28:46 -04:00 |  | 
			
				
					|  | fc80d291ab | Add type hints to function signatures For better code intelligence | 2025-06-01 22:28:46 -04:00 |  | 
			
				
					|  | 8441c6acfb | Use pathlib in test_user_car | 2025-06-01 22:28:46 -04:00 |  | 
			
				
					|  | 4cc4b2ead4 | replace exit() and quit() with sys.exit() | 2025-06-01 22:01:45 -04:00 |  | 
			
				
					|  | 7a74050c5d | Rewrite print_help to a single string | 2025-06-01 22:01:45 -04:00 |  | 
			
				
					|  | 6d4e7c7914 | Rewrite car templates as list of strings This lets us trim all the trailing whitespace in the file automatically. | 2025-06-01 22:01:44 -04:00 |  | 
			
				
					|  | 29a8ffa91e | Update details in file header for the fork. Also remove trailing whitespace in the header. | 2025-06-01 22:01:44 -04:00 |  | 
			
				
					|  | c8d49bda3d | Use r-strings for embedded train car art That fixes these SyntaxWarnings:
tilde-train.py:60: SyntaxWarning: invalid escape sequence '\_'
  |  |              | |__/V\_| |
tilde-train.py:76: SyntaxWarning: invalid escape sequence '\-'
  == - /  \-/  \-----/  \-/  \ - ==
tilde-train.py:86: SyntaxWarning: invalid escape sequence '\-'
  - /  \-/  \------/  \-/  \ - | 2025-06-01 20:56:06 -04:00 |  | 
			
				
					| 
							
							
								 vilmibm | 1162faad18 | initial commit | 2025-06-01 22:59:34 +00:00 |  |