.. _invalid-envvar-value:

invalid-envvar-value / E1507
============================

**Message emitted:**

%s does not support %s type argument

**Description:**

*Env manipulation functions support only string type arguments. See https://docs.python.org/3/library/os.html#os.getenv.*

**Problematic code:**

.. literalinclude:: /data/messages/i/invalid-envvar-value/bad.py
   :language: python

**Correct code:**

.. literalinclude:: /data/messages/i/invalid-envvar-value/good.py
   :language: python



Created by the `stdlib <https://github.com/PyCQA/pylint/blob/main/pylint/checkers/stdlib.py>`__ checker.