Skip to content

Commit

Permalink
chore: enable precommit hooks in container (#90)
Browse files Browse the repository at this point in the history
  • Loading branch information
dciborow committed Mar 12, 2023
1 parent b1480a9 commit 91f05ad
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,6 @@ RUN touch README.md \
&& mkdir -p src/python_package \
&& python -m flit install --only-deps --deps develop \
&& rm -r pyproject.toml README.md src

COPY .pre-commit-config.yaml .
RUN git init . && pre-commit install-hooks

0 comments on commit 91f05ad

Please sign in to comment.