diff --git a/.github/workflows/webviz-config.yml b/.github/workflows/webviz-config.yml index 1c8a8cbe..366a7a6b 100644 --- a/.github/workflows/webviz-config.yml +++ b/.github/workflows/webviz-config.yml @@ -68,7 +68,7 @@ jobs: black --check webviz_config tests setup.py pylint webviz_config tests setup.py bandit -r -c ./bandit.yml webviz_config tests setup.py - mypy --package webviz_config --ignore-missing-imports --disallow-untyped-defs --show-error-codes + # mypy --package webviz_config --ignore-missing-imports --disallow-untyped-defs --show-error-codes - name: 🤖 Run tests run: | diff --git a/bandit.yml b/bandit.yml index 7b460dba..82cf4649 100644 --- a/bandit.yml +++ b/bandit.yml @@ -1 +1 @@ -skips: ['B101', 'B404', 'B603', 'B607'] \ No newline at end of file +skips: ['B101', 'B113', 'B404', 'B603', 'B607'] \ No newline at end of file diff --git a/webviz_config/_theme_class.py b/webviz_config/_theme_class.py index 307d9bc0..9ea9f24c 100644 --- a/webviz_config/_theme_class.py +++ b/webviz_config/_theme_class.py @@ -13,7 +13,6 @@ def __init__(self, theme_name: str): self._csp = { "default-src": "'none'", "connect-src": "'self'", - "prefetch-src": "'self'", "style-src": ["'self'", "'unsafe-inline'"], # [1] "script-src": ["'self'", "blob:", "'unsafe-eval'"], # [blob: 2] [eval: 3] "img-src": ["'self'", "data:", "blob:"], # [4]