Skip to content

[PRE-COMMIT] - ADD WORKFLOW FOR RUNNING PRE COMMIT HOOKS #5

@patrick-hermann-sva

Description

@patrick-hermann-sva
FROM python:3.11-slim

# Install dependencies
RUN apt-get update && apt-get install -y git && rm -rf /var/lib/apt/lists/*

# Install pre-commit
RUN pip install pre-commit

# Set the working directory
WORKDIR /app

# Copy your project files (optional, if needed for hooks)
COPY . .

# Set the entrypoint to run pre-commit
ENTRYPOINT ["pre-commit"]

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions