Skip to content

Commit

Permalink
Merge branch 'main' into issue-1230
Browse files Browse the repository at this point in the history
  • Loading branch information
hynek committed Mar 13, 2024
2 parents 17fb4e3 + 1cb58a5 commit 0c342e3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion docs/examples.md
Original file line number Diff line number Diff line change
Expand Up @@ -689,7 +689,7 @@ Sometimes you may want to create a class programmatically.
>>> C2 = make_class("C2", {"x": field(type=int), "y": field()})
>>> fields(C1) == fields(C2)
True
>>> fields(C1).x.type
>>> fields(C2).x.type
<class 'int'>
```

Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -270,5 +270,6 @@ showcontent = true


[tool.mypy]
pretty = true
disallow_untyped_defs = true
check_untyped_defs = true

0 comments on commit 0c342e3

Please sign in to comment.