diff --git a/docs/api/gen_doc.py b/docs/api/gen_doc.py index 3d7273a567b..b352de38f83 100755 --- a/docs/api/gen_doc.py +++ b/docs/api/gen_doc.py @@ -937,7 +937,7 @@ def shortest(api_info): api_info.sort(key=lambda ele: ele.get('len')) return api_info[0].get('name') - if not all([api.get('fluid_in_name') for api in api_info]): + if not all(api.get('fluid_in_name') for api in api_info): api_info = [api for api in api_info if not api.get('fluid_in_name')] sn = shortest(api_info) return sn diff --git a/pyproject.toml b/pyproject.toml index 6716a4d4ee6..5773e9d5c81 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -87,7 +87,6 @@ ignore = [ "UP004", "C414", "C416", - "C419", "E401", "E711", "E712",