From b312b9a66472e17d02461258d2156d670481a7f6 Mon Sep 17 00:00:00 2001 From: Samuel FORESTIER Date: Sat, 11 Mar 2023 21:55:17 +0000 Subject: Add Python 3.8+ `asyncSetUp` to "defining-attr-methods" list (#8403) --- examples/pylintrc | 1 + examples/pyproject.toml | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'examples') diff --git a/examples/pylintrc b/examples/pylintrc index 70c5ff87c..16284083e 100644 --- a/examples/pylintrc +++ b/examples/pylintrc @@ -260,6 +260,7 @@ check-protected-access-in-special-methods=no defining-attr-methods=__init__, __new__, setUp, + asyncSetUp, __post_init__ # List of member names, which should be excluded from the protected access diff --git a/examples/pyproject.toml b/examples/pyproject.toml index 1608d2cbb..f9a493c89 100644 --- a/examples/pyproject.toml +++ b/examples/pyproject.toml @@ -226,7 +226,7 @@ variable-naming-style = "snake_case" # check-protected-access-in-special-methods = # List of method names used to declare (i.e. assign) instance attributes. -defining-attr-methods = ["__init__", "__new__", "setUp", "__post_init__"] +defining-attr-methods = ["__init__", "__new__", "setUp", "asyncSetUp", "__post_init__"] # List of member names, which should be excluded from the protected access # warning. -- cgit v1.2.1