Skip to content

Missing dependencies in .pre-commit-hooks.yaml #317

Open
@dementive

Description

@dementive

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:

- 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]

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions