Releases: Viicos/flake8-pydantic
Releases · Viicos/flake8-pydantic
Release 0.4.0
Release 0.3.1
What's Changed
Full Changelog: 0.3.0...0.3.1
Release 0.3.0
0.3.0 (2024-03-14)
Add a new rule:
PYD006
- Duplicate field name
Will raise an error with the following:
class Model(BaseModel):
x: int
x: int = 1
Releas 0.2.0
Add three new rules:
-
PYD003
- Unecessary Field call to specify a default value -
PYD004
- Default argument specified in annotated -
PYD005
- Field name overrides annotation -
Drop support for Python 3.8
Release 0.1.0.post0
What's Changed
Full Changelog: 0.1.0...0.1.0.post0
Releas 0.1.0
Initial release. The following rules are implemented:
PYD001
- Positional argument for Field default argumentPYD002
- Non-annotated attribute inside Pydantic modelPYD010
- Usage of__pydantic_config__