Closed asottile closed 7 years ago
$ env -i ./venv/bin/testify tests/test1.py tput: No value for $TERM and no -T specified test1 . PASSED. 1 test / 1 case: 1 passed, 0 failed. (Total test time 0.00s)
Here's how I fixed this for pre-commit: https://github.com/asottile/pyterminalsize/blob/ad23efea4aff257365262e07b843b154c7ad79da/pyterminalsize.py#L12-L26
Here's how I fixed this for pre-commit: https://github.com/asottile/pyterminalsize/blob/ad23efea4aff257365262e07b843b154c7ad79da/pyterminalsize.py#L12-L26