Skip to content

Commit

Permalink
nox -s lint fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
ap-- committed Apr 1, 2024
1 parent a5210f4 commit d7e4888
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion upath/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -714,7 +714,11 @@ def name(self) -> str:

# === pathlib.Path ================================================

def stat(self, *, follow_symlinks=True) -> UPathStatResult: # type: ignore[override]
def stat( # type: ignore[override]
self,
*,
follow_symlinks=True,
) -> UPathStatResult:
if not follow_symlinks:
warnings.warn(
"UPath.stat(follow_symlinks=False): follow_symlinks=False is"
Expand Down

0 comments on commit d7e4888

Please sign in to comment.