GSS-Cogs / databaker

Command line tool to convert spreadsheets to databases, made for the UK's Office for National Statistics.
Other
1 stars 0 forks source link

add is_not_whitespace functionality to is_not_blank #33

Open mikeAdamss opened 3 years ago

mikeAdamss commented 3 years ago

the functionality of.is_not_blank().is_not_whitespace() needs to be combined into is_not_blank()

add a depreciation warning to is_not_whitespace() , eg logging.warning('Don't us me, I'm being depreciated') but leave it in place (backwards compatibility).

add two new overrides:

is_explicitly_blank()
is_explicitly_whitespace()

for those occasions (rare to the point where they may or may not exist) we need to differentiate.

update existing tests to work in the new world. add new tests for the new methods.