issues
search
farhat-lab
/
gentb-site
The genTB project, the Django site, variant calling and prediciton pipeline, and mapping pipeline with hooks to two ravens
https://gentb.hms.harvard.edu
Other
8
stars
11
forks
source link
(maint) python clean up
#216
Closed
vladdoster
closed
3 years ago
vladdoster
commented
3 years ago
Remove unnecessary use of comprehension
Remove unused imports
Refactor unnecessary
else
/
elif
when
if
block has a
return
statement
Use
sys.exit()
calls
Refactor unnecessary
else
/
elif
when
if
block has a
continue
statement
Change methods not using its bound instance to staticmethods
Use literal syntax instead of function calls to create data structure
Remove unnecessary comprehension
Remove implicit
object
from the base class
Pass string format arguments as logging method parameters
Remove assert statement from non-test files
Refactor unnecessary
else
/
elif
when
if
block has a
return
statement
Remove redundant
None
default
Use literal syntax to create data structure
Refactor unnecessary
else
/
elif
when
if
block has a
raise
statement
Remove unnecessary generator
else
/elif
whenif
block has areturn
statementsys.exit()
callselse
/elif
whenif
block has acontinue
statementobject
from the base classelse
/elif
whenif
block has areturn
statementNone
defaultelse
/elif
whenif
block has araise
statement