nosas / OmniToon

[WIP] ToonTown AI - Python Plays ToonTown
3 stars 0 forks source link

Ensure all function calls use Keyword Arguments #30

Open nosas opened 3 years ago

nosas commented 3 years ago

Good function call

    def _has_gag(self, track: int, level: int) -> bool:
        return self._count_gag(track=track,level=level) > 0

Bad function call

    def _has_gag(self, track: int, level: int) -> bool:
        return self._count_gag(track, level) > 0