Shruti bug fix
- [x] closes #line too long
- [x] tests added / passed
- [ ] passes `black pandas`
- [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry

fixed the c408 bug and line too long bug