add simulation to white-list
This commit is contained in:
parent
d71c131e5b
commit
826137bd3b
|
@ -75,6 +75,8 @@ EXCLUDE_DIRECTORIES = [
|
|||
EXCLUDE_FILES = [
|
||||
# Django-generated files
|
||||
os.path.join(OTTERTUNE_DIR, 'server/website/manage.py'),
|
||||
# file causing import error
|
||||
os.path.join(OTTERTUNE_DIR, 'server/analysis/simulation.py'),
|
||||
]
|
||||
|
||||
CHECKSTYLE_JAR_PATH = os.path.join(OTTERTUNE_DIR,
|
||||
|
|
|
@ -5,12 +5,10 @@
|
|||
#
|
||||
|
||||
|
||||
import imp
|
||||
import random
|
||||
import os
|
||||
import sys
|
||||
try:
|
||||
imp.find_module('matplotlib.pyplot')
|
||||
import matplotlib.pyplot as plt
|
||||
except (ModuleNotFoundError, ImportError):
|
||||
plt = None
|
||||
|
|
Loading…
Reference in New Issue