Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] authored and asford committed Nov 13, 2022
1 parent 95b95d0 commit ec4c7c0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/typing_example.py
Expand Up @@ -121,11 +121,13 @@ class Error2(Exception):

# Field aliases


@attr.s
class AliasExample:
x = attr.ib()
_private = attr.ib(alias="_private")


attr.fields(AliasExample).x.alias
attr.fields(AliasExample)._private.alias

Expand Down

0 comments on commit ec4c7c0

Please sign in to comment.