Skip to content

Commit

Permalink
test: Supress warnings from pylint 3.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisburr committed Oct 2, 2024
1 parent a21e459 commit 3f1c5f0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/DIRAC/Core/Tornado/Server/HandlerManager.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ def __load(self, instances, componentType, pathFinder):
# see DIRAC.Core.Tornado.Server.private.BaseRequestHandler for more details
# this method should return a list of routes associated with the handler, it is a regular expressions
# see https://www.tornadoweb.org/en/stable/routing.html#tornado.routing.URLSpec, ``pattern`` argument.
urls = handler._BaseRequestHandler__pre_initialize()
urls = handler._BaseRequestHandler__pre_initialize() # pylint: disable=no-member

# First of all check if we can find route
if not urls:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -953,7 +953,7 @@ async def __execute(self, *args, **kwargs): # pylint: disable=arguments-differ
# you need to define the finish_<methodName> method.
# This method will be started after _executeMethod is completed.
elif callable(finishFunc := getattr(self, f"finish_{self.__methodName}", None)):
finishFunc()
finishFunc() # pylint: disable=not-callable

# In case nothing is returned
elif self.__result is None:
Expand Down

0 comments on commit 3f1c5f0

Please sign in to comment.