scour icon indicating copy to clipboard operation
scour copied to clipboard

Option to not remove default attribute values

Open callanmcnamara opened this issue 9 years ago • 1 comments

At the moment default attribute values are always removed. I'm interested in whether an attribute has been set or not even if it's to the default so a flag to disable this behaviour would be useful.

callanmcnamara avatar Jan 13 '16 23:01 callanmcnamara

Sounds fine to me.

You want to create a pull request for https://github.com/callanmcnamara/scour/commit/2d427cf4b3f02911c7450aa1cf980d0cc78d3eb5?

I'd prefer the option to be renamed as --keep-default-attributes, though. Also a unittest in testscour.py to check if this setting works for some typical attributes would be much appreciated.

Ede123 avatar Aug 15 '16 21:08 Ede123