1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2026-10-17 16:40:06 +00:00

fix(linter): format console/views.py and disable htmlhint/jscpd on django templates

This commit is contained in:
catborise 2026-09-25 23:18:51 +03:00
parent d9112b797f
commit a444a2ba40
2 changed files with 11 additions and 11 deletions

View file

@ -68,11 +68,13 @@ jobs:
- name: Lint Code Base
uses: docker://github/super-linter:latest
env:
FILTER_REGEX_EXCLUDE: .*(static|scss|venv|locale)/.*
FILTER_REGEX_EXCLUDE: .*(static|scss|venv|locale|templates)/.*
DEFAULT_BRANCH: master
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
VALIDATE_ALL_CODEBASE: false
VALIDATE_MARKDOWN: false
VALIDATE_HTML: false
VALIDATE_JSCPD: false
VALIDATE_ANSIBLE: false
VALIDATE_CLOJURE: false
VALIDATE_COFFEE: false

View file

@ -1,23 +1,21 @@
# pylint: disable=no-name-in-module,no-member
import re
from vrtManager.util import randomUUID
from django.http.response import HttpResponseServerError
from django.shortcuts import render
from django.utils.translation import gettext_lazy as _
from libvirt import libvirtError
from accounts.models import UserInstance
from appsettings.settings import app_settings
from django.http.response import HttpResponseServerError
from django.shortcuts import render
from django.utils.translation import gettext_lazy as _
from instances.models import Instance
from libvirt import libvirtError
from vrtManager.instance import wvmInstance
from webvirtcloud.settings import (
SOCKETIO_PUBLIC_HOST,
SOCKETIO_PUBLIC_PATH,
SOCKETIO_PUBLIC_PORT,
WS_PUBLIC_HOST,
WS_PUBLIC_PATH,
WS_PUBLIC_PORT,
SOCKETIO_PUBLIC_HOST,
SOCKETIO_PUBLIC_PORT,
SOCKETIO_PUBLIC_PATH,
)