After some configuration, the Codacy issues appear to be at least somewhat useable. However, there are 2k+ such issues and adressing them will be a major effort. We should distribute files/paths by person and go through them one-by-one. Certain classes can be adressed automatically, certain classes have to be adressed in a proper way and certain classes should be ignored (one-by-one or the whole pattern).
auto cleanup
trailing whitespace
manual no-brainer cleanup
unused import
line too long, split strings
in python using the "parantheses trick" (line wrapping is ignored in parentheses to wrap strings into parentheses to make string concatenation explicit ("X" "Y") - of course only if wrapping over lines, NB the indent)
in bash use line wrapping with backspaces
import beyond current package, replace by snappy_wrappers... etc. full import
one-by-one treatment
unused variable
exceptions may be ignored
parameters may get a underscore prefix, or _ = x assignment to unused
After some configuration, the Codacy issues appear to be at least somewhat useable. However, there are 2k+ such issues and adressing them will be a major effort. We should distribute files/paths by person and go through them one-by-one. Certain classes can be adressed automatically, certain classes have to be adressed in a proper way and certain classes should be ignored (one-by-one or the whole pattern).
auto cleanup
trailing whitespacemanual no-brainer cleanup
unused import("X" "Y")
- of course only if wrapping over lines, NB the indent)snappy_wrappers...
etc. full importone-by-one treatment
_ = x
assignment to unusedX_
or give it another name