if self.ip == '10.10.10.10':
some_code
if account.name == 'Vasia':
other_code
value = some_dict.get('some_key')
...
value.some_prop
...
if type(result).__name__ == 'instancemethod':
pass
if type(result).__name__ == 'method':
pass
! grep --include=\*.py -rnw source/-e 'if.*else' \
&& echo 'No one python ternary operator'
unify -cr source tests
flake8 -j 4 --statistics tests
yapf -prd source tests