17 "environment": "development" 18 if (ENVIRONMENT == "DEVELOPMENT" or "GITPOD") 19 else "production", 20 "root": BASE_DIR,21} 22import rollbar 23
The variable name is not defined where it is used. This will lead to an error during the runtime. Make sure there is no typo. If the name was supposed to be imported, verify that you've actually imported the name.
import os.path if os.path.exits('setup.cfg'): # misspelled `exists` print('Found config file')
import os.path if os.path.exists('setup.cfg'): print('Found config file')