[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 15/22] qapi/parser: allow 'ch' variable name
From: |
John Snow |
Subject: |
[PATCH 15/22] qapi/parser: allow 'ch' variable name |
Date: |
Wed, 21 Apr 2021 23:07:13 -0400 |
We can have a two-letter variable name, as a treat.
Signed-off-by: John Snow <jsnow@redhat.com>
---
scripts/qapi/pylintrc | 1 +
1 file changed, 1 insertion(+)
diff --git a/scripts/qapi/pylintrc b/scripts/qapi/pylintrc
index 88efbf71cb2..c5275d5f59b 100644
--- a/scripts/qapi/pylintrc
+++ b/scripts/qapi/pylintrc
@@ -43,6 +43,7 @@ good-names=i,
_,
fp, # fp = open(...)
fd, # fd = os.open(...)
+ ch,
[VARIABLES]
--
2.30.2
- Re: [PATCH 12/22] qapi/parser: add type hint annotations, (continued)
[PATCH 02/22] qapi/source: [RFC] add "with_column" contextmanager, John Snow, 2021/04/21
[PATCH 11/22] qapi/parser: Rework _check_pragma_list_of_str as a TypeGuard, John Snow, 2021/04/21
[PATCH 15/22] qapi/parser: allow 'ch' variable name,
John Snow <=
[PATCH 16/22] qapi/parser: add docstrings, John Snow, 2021/04/21
[PATCH 10/22] qapi/parser: Fix typing of token membership tests, John Snow, 2021/04/21
[PATCH 14/22] qapi/parser: Remove superfluous list constructor, John Snow, 2021/04/21
[PATCH 17/22] CHECKPOINT, John Snow, 2021/04/21