Skip to content

Commit 56be8bc

Browse files
committed
Fixed warnings
1 parent 5f84668 commit 56be8bc

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

cpm/parse.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@
55
import re
66

77

8-
def parse_csv_dir(dir_path: str, pattern: str = None, delimiter: str = 'auto',
8+
def parse_csv_dir(dir_path: str, pattern: str = None, delimiter: str = 'auto',
99
encoding: str = 'utf-8', instigator: str = 'column') -> list[DSM]:
1010
"""
1111
Parse a directory of CSVs. A pattern for what the filename needs to include can be used
1212
as an inclusivity-filter.
13-
:param path:
13+
:param dir_path:
1414
:param pattern:
1515
:param delimiter:
1616
:param encoding:
@@ -26,8 +26,7 @@ def parse_csv_dir(dir_path: str, pattern: str = None, delimiter: str = 'auto',
2626
if p and p.match(filename) is None:
2727
continue
2828
filepath = dir_path + '/' + filename
29-
print(filepath)
30-
dsm_array.append(parse_csv(filepath))
29+
dsm_array.append(parse_csv(filepath, delimiter=delimiter, encoding=encoding, instigator=instigator))
3130

3231
return dsm_array
3332

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
from setuptools import setup, find_packages
22

3-
VERSION = '1.0.7'
3+
VERSION = '1.0.8'
44
DESCRIPTION = 'Tool for calculating risk of change propagation in a system.'
55

66
with open("README.md", "r") as fh:

0 commit comments

Comments
 (0)