Skip to content

Commit 569cdaf

Browse files
committed
Fix remaining prospector lint issues
1 parent b09c1ea commit 569cdaf

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

geoportal/geomapfish_geoportal/dev.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ def includeme(config: Configurator) -> None:
66
del config # Unused.
77

88
try:
9-
import ptvsd # pylint: disable=import-outside-toplevel
9+
import ptvsd # noqa: T100 # pylint: disable=import-outside-toplevel
1010

1111
ptvsd.enable_attach(address=("172.17.0.1", 5678))
1212
# ptvsd.wait_for_attach()

geoportal/geomapfish_geoportal/models.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import logging
22

3-
from c2cgeoportal_commons.models.main import * # pylint: disable=unused-wildcard-import # noqa: F403
3+
from c2cgeoportal_commons.models.main import * # pylint: disable=unused-wildcard-import
44
from pyramid.i18n import TranslationStringFactory
55

66
_ = TranslationStringFactory("geomapfish_geoportal-server")

geoportal/geomapfish_geoportal/resources.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
class Root:
66
"""The Pyramid root object."""
77

8-
__acl__ = [(Allow, "role_admin", ALL_PERMISSIONS)]
8+
__acl__ = [(Allow, "role_admin", ALL_PERMISSIONS)] # noqa: RUF012
99

1010
def __init__(self, request: pyramid.request.Request) -> None:
1111
self.request = request

0 commit comments

Comments
 (0)