Skip to content

Commit

Permalink
Merge pull request #182 from neutrinoceros/ruff_upgrade
Browse files Browse the repository at this point in the history
STY: upgrade ruff (0.239 -> 0.245)
  • Loading branch information
neutrinoceros authored Feb 12, 2023
2 parents ffe1bac + e8a389e commit 4bb8fa0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ repos:
- id: black

- repo: https://github.com/charliermarsh/ruff-pre-commit
rev: v0.0.239
rev: v0.0.245
hooks:
- id: ruff
args: [--fix]
Expand Down
2 changes: 1 addition & 1 deletion wxc/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ def is_builtin(name: str) -> bool:
return hasattr(builtins, name)


def is_builtin_func(obj: "Any") -> bool:
def is_builtin_func(obj: Any) -> bool:
if isinstance(obj, str):
obj = get_obj(obj)
# this heuristic is equivalent to inspect.isbuiltin()
Expand Down

0 comments on commit 4bb8fa0

Please sign in to comment.