dsi-clinic / cocoa

Clinic Opinionated Codebase Oversight and Analysis
1 stars 0 forks source link

Check to verify that all code (in scripts) is in functions / main #9

Closed NickRoss closed 4 months ago

NickRoss commented 4 months ago

There should not a python function that looks like this:

import pandas pandas.read_csv(...)

All code should be fun functions or in main

This should be a function in the linting.py file which takes in a path and returns a True / False is all code in functions/main?

chenhuifei01 commented 4 months ago

completed and made a pull request for branch "code in function"