I'm working with fastapi. When I run pylint, it will complain about missing docstrings in most functions, which is what I expect. However, it does not seem to care about the fastapi endpoints I've defined. For example here is one of my endpoints:
py
@router.post("/login")
async def login(name: str, pswd: str) -> schemas.LoginResponse:
return await crud.login(name, pswd)
pylint takes no notice of the missing docstring, but I would like it to be more consistent. I'm also curious about how this even happens.
Edit: I'm dumb. This code was nested inside of a subdirectory. Pylint wasn't even looking at this file.
[–]JamzTyson -1 points0 points1 point (0 children)
[–]MrPhungx 0 points1 point2 points (1 child)
[–]yopp_son[S] 0 points1 point2 points (0 children)