diff --git a/pyproject.toml b/pyproject.toml index f2c14f4087f7c777333f3441319e6624269ba93b..5123f5969f33f515824f6b920683ef2a39974ec7 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -266,6 +266,7 @@ checks = [ "GL01", # Expects text to be on the line after the opening quotes but that is in direct opposition of the sphinx recommendations and conflicts with other pre-commit hooks. "GL08", # Causes issues if we don't have a docstring at the top of the file. Disabling this might fail to catch actual missing docstrings. "PR04", # numpydoc does not currently support PEP484 typehints, which we are using + "RT03", # Since sphinx is unable to understand type annotations we need to remove some types from 'Returns', which breaks this check. "SA01", # We do not use Also sections "SS06", # Summary will span multiple lines if too long because of reformatting by other hooks. ] diff --git a/src/mednet/utils/resources.py b/src/mednet/utils/resources.py index 8d95e1217c22acc269e780eccc3b5b3c655317a6..184b9d39a81d664e00dc689cf3757d1b2fd02d47 100644 --- a/src/mednet/utils/resources.py +++ b/src/mednet/utils/resources.py @@ -91,7 +91,6 @@ def run_powermetrics( Returns ------- - data A dictionary containing the GPU information. """