Skip to content

Commit 5140137

Browse files
committed
update pylintrc to remove new checks
1 parent 5e42a0c commit 5140137

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

CHANGES.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@
8383
## Deprecations
8484

8585
* X behavior is deprecated and will be removed in X versions ([#X](https://github.com/apache/beam/issues/X)).
86-
* [Python] Python 3.9 reached EOL in October 2025 and support for the lanugage version has been removed. ([#36665](https://github.com/apache/beam/pull/36665)).
86+
* (Python) Python 3.9 reached EOL in October 2025 and support for the lanugage version has been removed. ([#36665](https://github.com/apache/beam/pull/36665)).
8787

8888
## Bugfixes
8989

sdks/python/.pylintrc

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,13 +94,19 @@ disable =
9494
consider-using-dict-items,
9595
consider-using-enumerate,
9696
consider-using-f-string,
97+
consider-using-from-import,
9798
consider-using-generator,
9899
consider-using-in,
100+
consider-using-max-builtin,
101+
consider-using-min-builtin,
99102
consider-using-sys-exit,
100103
consider-using-with,
101104
cyclic-import,
105+
deprecated-method,
106+
deprecated-module,
102107
design,
103108
fixme,
109+
function-redefined,
104110
global-statement,
105111
global-variable-undefined,
106112
import-error,
@@ -127,6 +133,7 @@ disable =
127133
no-value-for-parameter,
128134
not-callable,
129135
pointless-statement,
136+
possibly-used-before-assignment,
130137
protected-access,
131138
raise-missing-from, #TODO(https://github.com/apache/beam/issues/21169) Enable and fix warnings
132139
raising-format-tuple,
@@ -138,6 +145,7 @@ disable =
138145
simplifiable-if-statement,
139146
stop-iteration-return,
140147
super-init-not-called,
148+
super-with-arguments,
141149
superfluous-parens,
142150
try-except-raise,
143151
undefined-variable,
@@ -150,12 +158,14 @@ disable =
150158
unnecessary-lambda-assignment,
151159
unnecessary-pass,
152160
unneeded-not,
161+
use-yield-from,
153162
used-before-assignment,
154163
unsubscriptable-object,
155164
unsupported-binary-operation,
156165
unspecified-encoding, #TODO(https://github.com/apache/beam/issues/21236) Enable explicit encoding
157166
unused-argument,
158167
use-dict-literal,
168+
usless-return,
159169
unused-wildcard-import,
160170
useless-object-inheritance,
161171
wildcard-import,

0 commit comments

Comments
 (0)