Skip to content

Commit 303cde4

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent d3524ac commit 303cde4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -196,6 +196,7 @@ env = Env()
196196
# A single validator function
197197
NAME = env.str("NAME", validate=lambda n: n.startswith("Harry"))
198198

199+
199200
# A validator function can signal error by raising an exception
200201
def is_positive(num):
201202
if num <= 0:

0 commit comments

Comments
 (0)