Browse Source

fix linter

Nick Sweeting 5 years ago
parent
commit
ea1ff7b6bc
2 changed files with 5 additions and 2 deletions
  1. 0 1
      archivebox/main.py
  2. 5 1
      bin/lint.sh

+ 0 - 1
archivebox/main.py

@@ -83,7 +83,6 @@ from .config import (
     EXTERNAL_LOCATIONS,
     DATA_LOCATIONS,
     DEPENDENCIES,
-    DEBUG,
     load_all_config,
     CONFIG,
     USER_CONFIG,

+ 5 - 1
bin/lint.sh

@@ -14,5 +14,9 @@ DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && cd .. && pwd )"
 
 source "$DIR/.venv/bin/activate"
 
+echo "[*] Running flake8..."
 flake8 archivebox
-mypy archivebox
+echo
+echo
+echo "[*] Running mypy..."
+mypy archivebox || true