ashald / EnvFile

EnvFile 3.x is a plugin for JetBrains IDEs that allows you to set environment variables for your run configurations from one or multiple files.
MIT License
539 stars 129 forks source link

Pycharm can't set bool env #87

Closed gshmu closed 5 years ago

gshmu commented 5 years ago

I want set boolean var, but is still string.

in python, os.environ.get('VAR') get "true", "1", "True"...

I'm tried json and yaml etc

ashald commented 5 years ago

Environment variables are string by definition - you have to cast value explicitly.