Skip to content
This repository was archived by the owner on Apr 2, 2026. It is now read-only.
This repository was archived by the owner on Apr 2, 2026. It is now read-only.

Unexpected error calling checkstyle #13

Description

@rithvik-doshi

I'm calling checkstyle using the following configuration:

version information

pre-commit version: 4.2.0
git --version: git version 2.49.0
sys.version:
    3.11.11 (main, Mar 17 2025, 21:33:08) [Clang 20.1.0 ]
sys.executable: /Users/ritdoshi/.globalvenv/bin/python3
os.name: posix
sys.platform: darwin

.pre-commit-config.yaml

  - repo: https://github.com/gherynos/pre-commit-java
    rev: v0.6.12
    hooks:
      - id: checkstyle
        args: ["-c", "/google_checks.xml"]

error information

An unexpected error has occurred: CalledProcessError: command: ('docker', 'build', '--tag', 'pre-commit-9643d1245d3f55d82b97c3911f412054', '--label', 'PRE_COMMIT', '--pull', '.')
return code: 1
stdout:
    Executable `docker` not found
stderr: (none)

Any suggested changes to fix this or the config file?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions