Skip to content

Commit

Permalink
Merge pull request #886 from sirosen/update-slyp
Browse files Browse the repository at this point in the history
Update slyp to 0.1.2 and fix what it finds
  • Loading branch information
sirosen authored Oct 26, 2023
2 parents c870827 + 8d5f392 commit 60206bd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
5 changes: 3 additions & 2 deletions src/globus_sdk/services/transfer/data/transfer_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 60206bd

Please sign in to comment.