hayd / pep8radius

PEP8 clean only the parts of the files touched since the last commit, a previous commit or (the merge-base of) a branch.
MIT License
183 stars 9 forks source link

refactor code more oo #9

Closed hayd closed 10 years ago

hayd commented 10 years ago

should make it cleaner to add other vcs (emphasise which bits are vc specific, rather than vc arg everywhere).

Something like Radius(vc=optional) get vc then return RadiusGit() (subclass). Radius has those impl specific bits raise NotImplemented. Note: udiff parser should probably be there too (hg and git are the same but potentially not all (?) ).

hayd commented 10 years ago

done.