Skip to content

Commit b9609ba

Browse files
authored
Update Pylint dependency to 4.0+ (#1445)
This simply does the minimum to update the version of Pylint to 4.0.x.
1 parent f2f64fe commit b9609ba

4 files changed

Lines changed: 14 additions & 31 deletions

File tree

.pylintrc

Lines changed: 1 addition & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,8 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414

15-
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
16-
# Summary: config file for Pylint versions 3.0 and above.
15+
# Summary: config file for Pylint versions 4.0 and above.
1716
# See https://pylint.readthedocs.io/ for info about options available.
18-
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1917

2018
[MAIN]
2119

@@ -44,12 +42,6 @@ clear-cache-post-run=no
4442
# run arbitrary code.
4543
extension-pkg-allow-list=
4644

47-
# A comma-separated list of package or module names from where C extensions may
48-
# be loaded. Extensions are loading into the active Python interpreter and may
49-
# run arbitrary code. (This is an alternative name to extension-pkg-allow-list
50-
# for backward compatibility.)
51-
extension-pkg-whitelist=
52-
5345
# Return non-zero exit code if any of these messages/categories are detected,
5446
# even if score is above --fail-under value. Syntax same as enable. Messages
5547
# specified are enabled, while categories only check already-enabled messages.
@@ -121,10 +113,6 @@ recursive=yes
121113
# source root.
122114
source-roots=
123115

124-
# When enabled, pylint would attempt to guess common misconfiguration and emit
125-
# user-friendly hints instead of false-positive error messages.
126-
suggestion-mode=yes
127-
128116
# Allow loading of arbitrary C extensions. Extensions are imported into the
129117
# active Python interpreter and may run arbitrary code.
130118
unsafe-load-any-extension=no
@@ -185,11 +173,6 @@ class-rgx=[A-Z_][a-zA-Z0-9]+$
185173
# Naming style matching correct constant names.
186174
const-naming-style=UPPER_CASE
187175

188-
# Regular expression matching correct constant names. Overrides const-naming-
189-
# style. If left empty, constant names will be checked with the set naming
190-
# style.
191-
const-rgx=(([A-Z_][A-Z0-9_]*)|(__.*__))$
192-
193176
# Minimum line length for functions/classes that require docstrings, shorter
194177
# ones are exempt.
195178
docstring-min-length=-1

dev_tools/requirements/deps/pylint.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
pylint~=3.3
1+
pylint~=4.0
22

33
-r resource_estimates_runtime.txt
44
-r pytest.txt

dev_tools/requirements/envs/dev.env.txt

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dev_tools/requirements/envs/pylint.env.txt

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)