Skip to content

Commit

Permalink
Fix runnning error and use specific python version docker (#3)
Browse files Browse the repository at this point in the history
  • Loading branch information
Wing-summer authored Sep 15, 2024
1 parent e07a16b commit 845f681
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM python:3-alpine
FROM python:3.9-alpine

COPY entrypoint.sh /entrypoint.sh
COPY cmake-format/ /cmake-format/
Expand Down
2 changes: 1 addition & 1 deletion cmake-format/main.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env python
from arg_parser import parse_cmake_format_args
from file_operations import list_files
from cmake_format import run_cmake_format_diff_wrapper, ExitStatus, print_diff
from cmake_format import run_cmake_format_diff_wrapper, ExitStatus, print_diff, DiffError
from output import print_trouble
from functools import partial
import sys
Expand Down

0 comments on commit 845f681

Please sign in to comment.