Convert ptce all-Python .rpy files to _ren.py

Add type hints to the converted files. Stub parts of .rpy files in Python for static analysis.

Fix ptce_ren.getBaseInitiative expecting config["combat"]["initiativeCalculations"] to always exist. This caused a runtime error when visiting the Character screen.

config-schema: Remove unused key "combatCalculations". Move required spec for .adventuring to the correct object level.

Add ruff and pyright for static analysis.

Note 1: Static analysis revealed a few unused symbols. I couldn't find instances of use anywhere in the codebase. Before removing them, I'd like confirmation that they're unused. They're marked with # TODO: unused?. I'll create a separate issue for this.

Merge request reports

Loading