Hacker News new | past | comments | ask | show | jobs | submit login

I'm not sure what you mean here, but package names can be indented without conditionals or tries, as in...

  from application.module.modules import (
      Model1, Model2, Model3, Model4, Model5, Model6
  )
iSort handles this fine if you're using spaces for indentation.



> I have no idea how to <pre> on HN

  Two or more leading spaces on each line.[1]
[1] https://news.ycombinator.com/formatdoc


Thank you, fixed it up.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: