Scony / godot-gdscript-toolkit

Independent set of GDScript tools - parser, linter, formatter, and more
MIT License
944 stars 65 forks source link

Add example pre-commit based on this projects own pre-commit-config #269

Open ddxv opened 7 months ago

ddxv commented 7 months ago

New to Godot and Gdscript but was excited to find a formatter/linter. Reading the README I thought it wouldn't work with pre-commit but tried anyways with the pre-commit-config.yaml in the project, was happy to see that it did.

If using this with pre-commit is an expected use case then I think it would good to have this in the README for new users.

Scony commented 7 months ago

Looks like a good idea. I'll give it a try in the upcoming days and merge it in case it works smoothly. Thanks for raising this.

ddxv commented 7 months ago

Thanks. I've been using it for a couple days in my pre-commit and it's working as expected. Are there any CLI extras or modifiers you might want to include in the example?