is_test_env
21 return options
22
23
24def is_test_env() -> bool:25 testing_var = os.environ.get('FLASK_TESTING', '0').lower()
26 return testing_var in ['1', 'true', 'yes']
get_version
1__version__ = '0.7.1'
2
3
4def get_version():5 return __version__
The module/function docstring is missing.
If you want to ignore this, you can configure this in the .deepsource.toml
file. Please refer to docs for available options.