You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The point is, the __init__ method has a long list of options/settings. Some are True and some are False. (Just focussing on the booleans).
When using argparse it doesn't make sense to use default=True on any of them because your only choice is to not type the argument or type it.
Ideally, ALL options (everywhere) should be False by default. For things that are currently True by default, they'd need to be rewritten. For example exclude_psueduoclasses=True would need to be rewritten to include_pseudoclasses=False.
You get different output run you run:
...compared to...
Seems the defaults in
__main__
are probably different from those in thePremailer
class's__init__
Not sure which or how it compares to the README but they should all ideally be the same.
The text was updated successfully, but these errors were encountered: