SethBling / cbscript

CBScript for Minecraft
1.13k stars 28 forks source link

`src` Based Project Layout #35

Open CoolCat467 opened 2 months ago

CoolCat467 commented 2 months ago

This pull request builds on the changes made in #33 and moves the project to a src/-based layout, allowing easy installation as a module and makes uploading this project to the Python Package Index easy. For example, with these changes you can easily install this project by running something like pip install git+https://github.com/SethBling/cbscript.git and everything will work seamlessly.

In this pull request we also add Ruff to handle sorting imports, but it's also capable of doing code linting via other rules, which I plan on adding in a future pull request.