mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-02-17 08:14:42 +04:00
Add some missing no cover comments
This commit is contained in:
parent
7d722714b7
commit
3472f2b3ce
3 changed files with 2 additions and 4 deletions
|
|
@ -10,7 +10,7 @@ from pre_commit import five
|
|||
|
||||
# TODO: smell: import side-effects
|
||||
try:
|
||||
if not os.environ.get('TERM'):
|
||||
if not os.environ.get('TERM'): # pragma: no cover (dumb terminal)
|
||||
raise OSError('Cannot determine width without TERM')
|
||||
COLS = int(
|
||||
subprocess.Popen(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue