Skip to content

Commit

Permalink
improve blask formatter flow
Browse files Browse the repository at this point in the history
  • Loading branch information
yurnov committed Mar 26, 2024
1 parent 553998b commit 3de1f80
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Dockerfile.black
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ FROM python:3.12-slim

RUN python -m pip install requests~=2.31.0 python-dotenv~=1.0.1 black

CMD [ "black", "--check", "--skip-string-normalization", "--line-length", "120", "bot" ]
CMD [ "black", "--skip-string-normalization", "--line-length", "120", "bot" ]
2 changes: 1 addition & 1 deletion black.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash

docker build . -f Dockerfile.black -t black
docker run -it --rm -v $(pwd)/bot:/bot black black /bot
docker run -it --rm -v $(pwd)/bot:/bot black

0 comments on commit 3de1f80

Please sign in to comment.