Skip to content

Commit

Permalink
Use docker compose compatible boolean values (#66)
Browse files Browse the repository at this point in the history
  • Loading branch information
Pr0dt0s authored Jul 30, 2023
1 parent e1c0e23 commit 3ad0d36
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions autocompose.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
import docker
import pyaml

pyaml.add_representer(bool,lambda s,o: s.represent_scalar('tag:yaml.org,2002:bool',['false','true'][o]))
IGNORE_VALUES = [None, "", [], "null", {}, "default", 0, ",", "no"]


Expand Down

0 comments on commit 3ad0d36

Please sign in to comment.