Skip to content

Commit

Permalink
Disable interpolation when reading tox config (#34)
Browse files Browse the repository at this point in the history
  • Loading branch information
ssbarnea authored Apr 7, 2021
1 parent 68783bf commit ac3e4fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mk/tools/tox.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ def is_present(self, path: str) -> bool:
def actions(self) -> List[Action]:
# -a is not supported by tox4!
actions: List[Action] = []
cp = ConfigParser()
cp = ConfigParser(strict=False, interpolation=None)
tox_cfg = subprocess.check_output(["tox", "--showconfig"], universal_newlines=True)
cp.read_string(tox_cfg)
for section in cp.sections():
Expand Down

0 comments on commit ac3e4fc

Please sign in to comment.