Skip to content

Conversation

JunAishima
Copy link
Contributor

in addition to adding pre-commit linting, also clean up some of my code that I had left around after moving all of the necessary functions for the task into tasks.py

 * flake8, black, isort
 * do flake8 separately because it only reports errors, does not
   actually change files
 * still have some variable issues to verify
 * prevent conflicts with black in handling spaces around array slicing
   with ":"
 * see pre-commit/pre-commit-hooks#112 comment
   from April 28, 2016 by dwaynebailey for where I saw this
   configuration method used
 * resolve the conflict between flake8 and black, which follows the
   anti-pattern described here https://www.flake8rules.com/rules/W503.html
 * after all code moved into tasks
 * looking back at the beamline profile_collection, the tomography
   images are to be used here
 * use "ell" instead of the lowercase letter "l" to prevent possible
   mis-reading (as capital I, for instance)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants