test: couple more tweaks for pylint + tox
This commit is contained in:
parent
ac1f41842a
commit
7fcca23071
2 changed files with 3 additions and 2 deletions
|
@ -15,6 +15,7 @@ disable=fixme,
|
||||||
consider-using-generator,
|
consider-using-generator,
|
||||||
consider-using-get,
|
consider-using-get,
|
||||||
consider-using-set-comprehension,
|
consider-using-set-comprehension,
|
||||||
|
cyclic-import,
|
||||||
dangerous-default-value,
|
dangerous-default-value,
|
||||||
deprecated-method,
|
deprecated-method,
|
||||||
duplicate-code,
|
duplicate-code,
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
################################################################################
|
################################################################################
|
||||||
#
|
#
|
||||||
# wuttaweb -- Web App for Wutta Framework
|
# wuttaweb -- Web App for Wutta Framework
|
||||||
# Copyright © 2024 Lance Edgar
|
# Copyright © 2024-2025 Lance Edgar
|
||||||
#
|
#
|
||||||
# This file is part of Wutta Framework.
|
# This file is part of Wutta Framework.
|
||||||
#
|
#
|
||||||
|
@ -63,7 +63,7 @@ def webapp(
|
||||||
|
|
||||||
elif runner == "uvicorn":
|
elif runner == "uvicorn":
|
||||||
|
|
||||||
import uvicorn
|
import uvicorn # pylint: disable=import-error
|
||||||
|
|
||||||
# need service details from config
|
# need service details from config
|
||||||
spec = config.require(f"{config.appname}.web.app.spec")
|
spec = config.require(f"{config.appname}.web.app.spec")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue