Skip to content

Commit

Permalink
style: autoformat with pre-commit
Browse files Browse the repository at this point in the history
  • Loading branch information
autofix-ci[bot] authored Jan 20, 2025
1 parent 19a4659 commit 8db0ec7
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
6 changes: 2 additions & 4 deletions copier/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -212,14 +212,12 @@ def __enter__(self) -> Worker:
return self

@overload
def __exit__(self, type: None, value: None, traceback: None) -> None:
...
def __exit__(self, type: None, value: None, traceback: None) -> None: ...

@overload
def __exit__(
self, type: type[BaseException], value: BaseException, traceback: TracebackType
) -> None:
...
) -> None: ...

def __exit__(
self,
Expand Down
1 change: 1 addition & 0 deletions copier/settings.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""User setttings models and helper functions."""

from __future__ import annotations

import os
Expand Down
3 changes: 1 addition & 2 deletions tests/test_unsafe.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,7 @@
from .helpers import build_file_tree, git


class JinjaExtension(Extension):
...
class JinjaExtension(Extension): ...


@pytest.mark.parametrize(
Expand Down

0 comments on commit 8db0ec7

Please sign in to comment.