You should move this import statement outside of the class definition (preferably at the top of the file). Right now `Options` has an attribute warnings which is this package.