go: style: unify indentation etc

This commit is contained in:
lilydjwg 2024-03-09 18:48:47 +08:00
parent 35a19f30ae
commit 4ad3bdb95d
2 changed files with 37 additions and 37 deletions

View file

@ -5,7 +5,7 @@ from lxml import html
from nvchecker.api import (
VersionResult, Entry, AsyncCache, KeyManager,
session, GetVersionError, HTTPError
session, GetVersionError,
)
GO_PKG_URL = 'https://pkg.go.dev/{pkg}?tab=versions'

View file

@ -5,9 +5,9 @@ import pytest
from nvchecker.api import HTTPError
lxml_available = True
try:
import lxml
lxml_available = True
except ImportError:
lxml_available = False