Skip to content

Commit

Permalink
Fix incorrect input type annotation on backtick() (#20)
Browse files Browse the repository at this point in the history
* Fix incorrect input type annotation on backtick()
  • Loading branch information
vinceatbluelabs authored Feb 29, 2020
1 parent 5275292 commit f2886fd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion db_facts/util.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
from typing import List, Union
import subprocess


def backtick(cmd: str) -> str:
def backtick(cmd: Union[str, List[str]]) -> str:
return subprocess.check_output(cmd).decode('utf-8').strip()
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
import sys


VERSION = '3.0.0'
VERSION = '3.0.1'


# From https://circleci.com/blog/continuously-deploying-python-packages-to-pypi-with-circleci/
Expand Down

0 comments on commit f2886fd

Please sign in to comment.