diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 3b1b0580e..78c1e44a7 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -21,7 +21,7 @@ repos: args: [tests] - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.4.0 + rev: v4.5.0 hooks: - id: trailing-whitespace - id: end-of-file-fixer diff --git a/src/attr/_next_gen.py b/src/attr/_next_gen.py index 8b44e8b3f..1fb9f259b 100644 --- a/src/attr/_next_gen.py +++ b/src/attr/_next_gen.py @@ -52,8 +52,8 @@ def define( - Automatically detect whether or not *auto_attribs* should be `True` (c.f. *auto_attribs* parameter). - - If *frozen* is `False`, run converters and validators when setting an - attribute by default. + - Converters and validators run when attributes are set by default -- if + *frozen* is `False`. - *slots=True* .. caution::