Open dementive opened 2 months ago
To run the linter or formatter with a pre-commit hook the setuptools library has to be installed into the pre-commit library. Currently the .pre-commit-hooks.yaml does not do this, updating it to this will fix it:
setuptools
- id: gdlint name: gdlint description: "gdlint - linter for GDScript" entry: gdlint language: python language_version: python3 additional_dependencies: [setuptools] require_serial: true types: [gdscript] - id: gdformat name: gdformat description: "gdformat - formatter for GDScript" entry: gdformat language: python language_version: python3 additional_dependencies: [setuptools] require_serial: true types: [gdscript]
To run the linter or formatter with a pre-commit hook the
setuptools
library has to be installed into the pre-commit library. Currently the .pre-commit-hooks.yaml does not do this, updating it to this will fix it: