diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index c9610ac2c..711673a1e 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -42,7 +42,7 @@ repos: - id: isort name: "Sort python imports" - repo: https://github.com/sirosen/slyp - rev: 0.1.1 + rev: 0.1.2 hooks: - id: slyp - repo: https://github.com/codespell-project/codespell diff --git a/src/globus_sdk/services/transfer/data/transfer_data.py b/src/globus_sdk/services/transfer/data/transfer_data.py index 7cb424731..bd33d8edf 100644 --- a/src/globus_sdk/services/transfer/data/transfer_data.py +++ b/src/globus_sdk/services/transfer/data/transfer_data.py @@ -365,8 +365,9 @@ def add_filter_rule( name: str, *, method: Literal["include", "exclude"] = "exclude", - type: None # pylint: disable=redefined-builtin - | (Literal["file", "dir"]) = None, + type: ( # pylint: disable=redefined-builtin + None | Literal["file", "dir"] + ) = None, ) -> None: """ Add a filter rule to the transfer document.