HBNetwork / python-decouple

Strict separation of config from code.
MIT License
2.79k stars 192 forks source link

Syntax warning due to comparison of literals using is in Python 3.8 #90

Closed tirkarthi closed 3 years ago

tirkarthi commented 4 years ago
find . -iname '*.py'  | xargs -P 4 -I{} python -Wall -m py_compile {}

./tests/test_ini.py:103: SyntaxWarning: "is" with a literal. Did you mean "=="?
  assert '' is config('KeyEmpty', default=None)