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 ( from nvchecker.api import (
VersionResult, Entry, AsyncCache, KeyManager, VersionResult, Entry, AsyncCache, KeyManager,
session, GetVersionError, HTTPError session, GetVersionError,
) )
GO_PKG_URL = 'https://pkg.go.dev/{pkg}?tab=versions' GO_PKG_URL = 'https://pkg.go.dev/{pkg}?tab=versions'

View file

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