Skip to content

Commit

Permalink
doctype test
Browse files Browse the repository at this point in the history
  • Loading branch information
KevinFasusi committed Feb 13, 2016
1 parent 42b7719 commit 97d4099
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
install_requires=['numpy'],
entry_points={
'console_scripts':[
'supplybi=supplychainpy.supplybi:main'
'supplychainpy=supplychainpy.supplybi:main'
]
}
)
12 changes: 12 additions & 0 deletions supplychainpy/model_inventory.py
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,18 @@ def analyse_orders_np(unit_cost: Decimal, period: np.array, z_value: Decimal, or


def check_extension(file_path: str, file_type: str) -> bool:
"""Summary line.
Extended description of function.
Args:
arg1 (int): Description of arg1
arg2 (str): Description of arg2
Returns:
bool: Description of return value
"""
if file_path.endswith(".txt") and file_type.lower() == "text":
flag = True
elif file_path.endswith(".csv") and file_type.lower() == "csv":
Expand Down

0 comments on commit 97d4099

Please sign in to comment.