MahjongRepository / mahjong

Implementation of riichi mahjong related stuff (hand cost, shanten, agari end, etc.)
MIT License
377 stars 38 forks source link

New code style #29

Closed Nihisil closed 3 years ago

Nihisil commented 3 years ago

@profthecopyright I enforced new code style to the project, since the code has history and there are really different formatting in different code parts.

Locally you can do that like this:

  1. Run this command one time: pip install -r requirements-dev.txt
  2. Before each commit run make format and make lint

It will automatically format files and will check possible issues.

profthecopyright commented 3 years ago

Sounds good