Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import os
- import re
- scripts_count = len(os.listdir('scripts/v2'))
- yaml_count = len(os.listdir('scripts/table_documentation/documentation'))
- percent_documented = round((100 * yaml_count / scripts_count), 2)
- print(f'Percent of DWH scripts with .yaml documentation: {percent_documented}%')
Add Comment
Please, Sign In to add comment