diff --git a/Makefile b/Makefile index 649daa9..3d9b103 100644 --- a/Makefile +++ b/Makefile @@ -17,7 +17,7 @@ test: ## Run Django tests .PHONY: code-cleanup code-cleanup: ## Black and isort the Python codebase autoflake --remove-all-unused-imports --ignore-init-module-imports --remove-unused-variables \ - --exclude "**/migrations/*,dpaste/settings/local.py" -r dpaste + --in-place --exclude "**/migrations/*,dpaste/settings/local.py" -r dpaste isort -rc dpaste black --line-length=80 --exclude='/(migrations)/' dpaste diff --git a/dpaste/apps.py b/dpaste/apps.py index 6f20a14..61dcfeb 100644 --- a/dpaste/apps.py +++ b/dpaste/apps.py @@ -165,7 +165,6 @@ class dpasteAppConfig(AppConfig): ... """ from dpaste.highlight import PlainCodeHighlighter - from jsx.lexer import JsxLexer return [ (self.PLAIN_CODE_SYMBOL, "Plain Code", PlainCodeHighlighter),