Skip to content

Commit

Permalink
addressed comments
Browse files Browse the repository at this point in the history
  • Loading branch information
Aldrian Harjati committed Oct 11, 2023
1 parent 8ed0c8f commit 785ab41
Show file tree
Hide file tree
Showing 3 changed files with 901 additions and 90 deletions.
11 changes: 11 additions & 0 deletions .markdownlint.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"MD013": {
"code_block_line_length": 300
},
"MD033": {
"allowed_elements": [
"details",
"summary"
]
}
}
969 changes: 887 additions & 82 deletions README.md

Large diffs are not rendered by default.

11 changes: 3 additions & 8 deletions src/validator/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
Run from the terminal to see the generated output.
"""

import pprint
import sys

import pandas as pd
Expand All @@ -17,17 +18,11 @@ def csv_to_df(path: str) -> pd.DataFrame:

def run_validation_on_df(df: pd.DataFrame, lei: str) -> None:
"""
Run validaition on the supplied dataframe and print a report to
Run validation on the supplied dataframe and print a report to
the terminal.
"""

print("--------------------------------------------------------------------------")
print("Performing validation on the following DataFrame.")
print("")
print(df)
print("")

print(validate_phases(df, lei))
pprint.pprint(validate_phases(df, lei))


if __name__ == "__main__":
Expand Down

0 comments on commit 785ab41

Please sign in to comment.