Skip to content

Commit d508b88

Browse files
nzloshcognifloyd
authored andcommitted
update pylint
Lockfile diff: lockfiles/pylint.lock [pylint] == Upgraded dependencies == astroid 2.5.6 --> 3.1.0 mccabe 0.6.1 --> 0.7.0 pylint 2.8.3 --> 3.1.0 setuptools 69.2.0 --> 69.5.1 == Added dependencies == dill 0.3.8 platformdirs 4.2.1 tomli 2.0.1 tomlkit 0.12.4 typing-extensions 4.11.0 == Removed dependencies == lazy-object-proxy 1.10.0 toml 0.10.2 wrapt 1.12.1
1 parent a4a9aee commit d508b88

File tree

6 files changed

+127
-113
lines changed

6 files changed

+127
-113
lines changed

lockfiles/pylint.lock

+117-107
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
// ],
1111
// "generated_with_requirements": [
1212
// "astroid",
13-
// "pylint~=2.8.2",
13+
// "pylint>=2.8.2",
1414
// "setuptools"
1515
// ],
1616
// "manylinux": "manylinux2014",
@@ -33,23 +33,42 @@
3333
"artifacts": [
3434
{
3535
"algorithm": "sha256",
36-
"hash": "4db03ab5fc3340cf619dbc25e42c2cc3755154ce6009469766d7143d1fc2ee4e",
37-
"url": "https://files.pythonhosted.org/packages/f8/82/a61df6c2d68f3ae3ad1afa0d2e5ba5cfb7386eb80cffb453def7c5757271/astroid-2.5.6-py3-none-any.whl"
36+
"hash": "951798f922990137ac090c53af473db7ab4e70c770e6d7fae0cec59f74411819",
37+
"url": "https://files.pythonhosted.org/packages/ed/1c/ee18acf9070f77253954b7d71b4c0cf8f5969fb23067d8f1a8793573ba00/astroid-3.1.0-py3-none-any.whl"
3838
},
3939
{
4040
"algorithm": "sha256",
41-
"hash": "8a398dfce302c13f14bab13e2b14fe385d32b73f4e4853b9bdfb64598baa1975",
42-
"url": "https://files.pythonhosted.org/packages/bc/72/51d6389690b30adf1ad69993923f81b71b2110b16e02fd0afd378e30c43c/astroid-2.5.6.tar.gz"
41+
"hash": "ac248253bfa4bd924a0de213707e7ebeeb3138abeb48d798784ead1e56d419d4",
42+
"url": "https://files.pythonhosted.org/packages/a9/b9/f11533eed9b65606fb02f1b0994d8ed0903358bc55a6b9759e42f1134725/astroid-3.1.0.tar.gz"
4343
}
4444
],
4545
"project_name": "astroid",
4646
"requires_dists": [
47-
"lazy-object-proxy>=1.4.0",
48-
"typed-ast<1.5,>=1.4.0; implementation_name == \"cpython\" and python_version < \"3.8\"",
49-
"wrapt<1.13,>=1.11"
47+
"typing-extensions>=4.0.0; python_version < \"3.11\""
5048
],
51-
"requires_python": "~=3.6",
52-
"version": "2.5.6"
49+
"requires_python": ">=3.8.0",
50+
"version": "3.1.0"
51+
},
52+
{
53+
"artifacts": [
54+
{
55+
"algorithm": "sha256",
56+
"hash": "c36ca9ffb54365bdd2f8eb3eff7d2a21237f8452b57ace88b1ac615b7e815bd7",
57+
"url": "https://files.pythonhosted.org/packages/c9/7a/cef76fd8438a42f96db64ddaa85280485a9c395e7df3db8158cfec1eee34/dill-0.3.8-py3-none-any.whl"
58+
},
59+
{
60+
"algorithm": "sha256",
61+
"hash": "3ebe3c479ad625c4553aca177444d89b486b1d84982eeacded644afc0cf797ca",
62+
"url": "https://files.pythonhosted.org/packages/17/4d/ac7ffa80c69ea1df30a8aa11b3578692a5118e7cd1aa157e3ef73b092d15/dill-0.3.8.tar.gz"
63+
}
64+
],
65+
"project_name": "dill",
66+
"requires_dists": [
67+
"gprof2dot>=2022.7.29; extra == \"profile\"",
68+
"objgraph>=1.7.2; extra == \"graph\""
69+
],
70+
"requires_python": ">=3.8",
71+
"version": "0.3.8"
5372
},
5473
{
5574
"artifacts": [
@@ -75,123 +94,92 @@
7594
"artifacts": [
7695
{
7796
"algorithm": "sha256",
78-
"hash": "80fa48bd89c8f2f456fc0765c11c23bf5af827febacd2f523ca5bc1893fcc09d",
79-
"url": "https://files.pythonhosted.org/packages/31/8b/94dc8d58704ab87b39faed6f2fc0090b9d90e2e2aa2bbec35c79f3d2a054/lazy_object_proxy-1.10.0-pp310.pp311.pp312.pp38.pp39-none-any.whl"
80-
},
81-
{
82-
"algorithm": "sha256",
83-
"hash": "2297f08f08a2bb0d32a4265e98a006643cd7233fb7983032bd61ac7a02956b3b",
84-
"url": "https://files.pythonhosted.org/packages/20/44/7d3b51ada1ddf873b136e2fa1d68bf3ee7b406b0bd9eeb97445932e2bfe1/lazy_object_proxy-1.10.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl"
97+
"hash": "6c2d30ab6be0e4a46919781807b4f0d834ebdd6c6e3dca0bda5a15f863427b6e",
98+
"url": "https://files.pythonhosted.org/packages/27/1a/1f68f9ba0c207934b35b86a8ca3aad8395a3d6dd7921c0686e23853ff5a9/mccabe-0.7.0-py2.py3-none-any.whl"
8599
},
86100
{
87101
"algorithm": "sha256",
88-
"hash": "78247b6d45f43a52ef35c25b5581459e85117225408a4128a3daf8bf9648ac69",
89-
"url": "https://files.pythonhosted.org/packages/2c/f0/f02e2d150d581a294efded4020094a371bbab42423fe78625ac18854d89b/lazy-object-proxy-1.10.0.tar.gz"
90-
},
91-
{
92-
"algorithm": "sha256",
93-
"hash": "5ad9e6ed739285919aa9661a5bbed0aaf410aa60231373c5579c6b4801bd883c",
94-
"url": "https://files.pythonhosted.org/packages/77/18/b78391424f3e35147b0e4d280dda0320c29ee9930b908e42fbe7920b2492/lazy_object_proxy-1.10.0-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl"
95-
},
96-
{
97-
"algorithm": "sha256",
98-
"hash": "9a3a87cf1e133e5b1994144c12ca4aa3d9698517fe1e2ca82977781b16955658",
99-
"url": "https://files.pythonhosted.org/packages/8e/ae/3e15cffacbdb64ac49930cdbc23cb0c67e1bb9e8a8ca7765fd8a8d2510c3/lazy_object_proxy-1.10.0-cp39-cp39-musllinux_1_1_x86_64.whl"
100-
},
101-
{
102-
"algorithm": "sha256",
103-
"hash": "18dd842b49456aaa9a7cf535b04ca4571a302ff72ed8740d06b5adcd41fe0757",
104-
"url": "https://files.pythonhosted.org/packages/ab/be/d0a76dd4404ee68c7dd611c9b48e58b5c70ac5458e4c951b2c8923c24dd9/lazy_object_proxy-1.10.0-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl"
105-
},
106-
{
107-
"algorithm": "sha256",
108-
"hash": "2fc0a92c02fa1ca1e84fc60fa258458e5bf89d90a1ddaeb8ed9cc3147f417255",
109-
"url": "https://files.pythonhosted.org/packages/b8/75/4669e1a7e7150e81ac27acc602ae61a37b4cc950c1ed3bd13b8d518bc026/lazy_object_proxy-1.10.0-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl"
110-
},
111-
{
112-
"algorithm": "sha256",
113-
"hash": "366c32fe5355ef5fc8a232c5436f4cc66e9d3e8967c01fb2e6302fd6627e3d94",
114-
"url": "https://files.pythonhosted.org/packages/bc/2f/b9230d00c2eaa629e67cc69f285bf6b5692cb1d0179a1f8764edd451da86/lazy_object_proxy-1.10.0-cp39-cp39-macosx_10_9_x86_64.whl"
115-
},
116-
{
117-
"algorithm": "sha256",
118-
"hash": "9e4ed0518a14dd26092614412936920ad081a424bdcb54cc13349a8e2c6d106a",
119-
"url": "https://files.pythonhosted.org/packages/be/11/23bcc3a85c9df7326d332b29172eaa088a3ebecb2674f257de2599e36aeb/lazy_object_proxy-1.10.0-cp38-cp38-macosx_10_9_x86_64.whl"
120-
},
121-
{
122-
"algorithm": "sha256",
123-
"hash": "0aefc7591920bbd360d57ea03c995cebc204b424524a5bd78406f6e1b8b2a5d8",
124-
"url": "https://files.pythonhosted.org/packages/c8/a2/c99adb712e6ec8387d608c73d5b7a4a459c1c7813f38ee869f605bdc3f38/lazy_object_proxy-1.10.0-cp38-cp38-musllinux_1_1_aarch64.whl"
125-
},
126-
{
127-
"algorithm": "sha256",
128-
"hash": "217138197c170a2a74ca0e05bddcd5f1796c735c37d0eee33e43259b192aa424",
129-
"url": "https://files.pythonhosted.org/packages/d4/f8/d2d0d5caadf41c2d1fc9044dfc0e10d2831fb4ab6a077e68d25ea5bbff3b/lazy_object_proxy-1.10.0-cp39-cp39-musllinux_1_1_aarch64.whl"
130-
},
131-
{
132-
"algorithm": "sha256",
133-
"hash": "5faf03a7d8942bb4476e3b62fd0f4cf94eaf4618e304a19865abf89a35c0bbee",
134-
"url": "https://files.pythonhosted.org/packages/f0/84/efe5dfb7c456bd3baa134dc2a4d7c891e7ce15a14c642cbfbcf50ff038ed/lazy_object_proxy-1.10.0-cp38-cp38-musllinux_1_1_x86_64.whl"
102+
"hash": "348e0240c33b60bbdf4e523192ef919f28cb2c3d7d5c7794f74009290f236325",
103+
"url": "https://files.pythonhosted.org/packages/e7/ff/0ffefdcac38932a54d2b5eed4e0ba8a408f215002cd178ad1df0f2806ff8/mccabe-0.7.0.tar.gz"
135104
}
136105
],
137-
"project_name": "lazy-object-proxy",
106+
"project_name": "mccabe",
138107
"requires_dists": [],
139-
"requires_python": ">=3.8",
140-
"version": "1.10.0"
108+
"requires_python": ">=3.6",
109+
"version": "0.7.0"
141110
},
142111
{
143112
"artifacts": [
144113
{
145114
"algorithm": "sha256",
146-
"hash": "ab8a6258860da4b6677da4bd2fe5dc2c659cff31b3ee4f7f5d64e79735b80d42",
147-
"url": "https://files.pythonhosted.org/packages/87/89/479dc97e18549e21354893e4ee4ef36db1d237534982482c3681ee6e7b57/mccabe-0.6.1-py2.py3-none-any.whl"
115+
"hash": "17d5a1161b3fd67b390023cb2d3b026bbd40abde6fdb052dfbd3a29c3ba22ee1",
116+
"url": "https://files.pythonhosted.org/packages/b0/15/1691fa5aaddc0c4ea4901c26f6137c29d5f6673596fe960a0340e8c308e1/platformdirs-4.2.1-py3-none-any.whl"
148117
},
149118
{
150119
"algorithm": "sha256",
151-
"hash": "dd8d182285a0fe56bace7f45b5e7d1a6ebcbf524e8f3bd87eb0f125271b8831f",
152-
"url": "https://files.pythonhosted.org/packages/06/18/fa675aa501e11d6d6ca0ae73a101b2f3571a565e0f7d38e062eec18a91ee/mccabe-0.6.1.tar.gz"
120+
"hash": "031cd18d4ec63ec53e82dceaac0417d218a6863f7745dfcc9efe7793b7039bdf",
121+
"url": "https://files.pythonhosted.org/packages/b2/e4/2856bf61e54d7e3a03dd00d0c1b5fa86e6081e8f262eb91befbe64d20937/platformdirs-4.2.1.tar.gz"
153122
}
154123
],
155-
"project_name": "mccabe",
156-
"requires_dists": [],
157-
"requires_python": null,
158-
"version": "0.6.1"
124+
"project_name": "platformdirs",
125+
"requires_dists": [
126+
"appdirs==1.4.4; extra == \"test\"",
127+
"covdefaults>=2.3; extra == \"test\"",
128+
"furo>=2023.9.10; extra == \"docs\"",
129+
"mypy>=1.8; extra == \"type\"",
130+
"proselint>=0.13; extra == \"docs\"",
131+
"pytest-cov>=4.1; extra == \"test\"",
132+
"pytest-mock>=3.12; extra == \"test\"",
133+
"pytest>=7.4.3; extra == \"test\"",
134+
"sphinx-autodoc-typehints>=1.25.2; extra == \"docs\"",
135+
"sphinx>=7.2.6; extra == \"docs\""
136+
],
137+
"requires_python": ">=3.8",
138+
"version": "4.2.1"
159139
},
160140
{
161141
"artifacts": [
162142
{
163143
"algorithm": "sha256",
164-
"hash": "792b38ff30903884e4a9eab814ee3523731abd3c463f3ba48d7b627e87013484",
165-
"url": "https://files.pythonhosted.org/packages/b2/97/a584ca733493cba7baca670800e615ced77c7b22e663e2eed6f68c931b87/pylint-2.8.3-py3-none-any.whl"
144+
"hash": "507a5b60953874766d8a366e8e8c7af63e058b26345cfcb5f91f89d987fd6b74",
145+
"url": "https://files.pythonhosted.org/packages/4d/2b/dfcf298607c73c3af47d5a699c3bd84ba580f1b8642a53ba2a53eead7c49/pylint-3.1.0-py3-none-any.whl"
166146
},
167147
{
168148
"algorithm": "sha256",
169-
"hash": "0a049c5d47b629d9070c3932d13bff482b12119b6a241a93bc460b0be16953c8",
170-
"url": "https://files.pythonhosted.org/packages/18/a7/2bf9363ec428818abd27a64ec44c84b13bf1c10df01c402f08391aa1d07c/pylint-2.8.3.tar.gz"
149+
"hash": "6a69beb4a6f63debebaab0a3477ecd0f559aa726af4954fc948c51f7a2549e23",
150+
"url": "https://files.pythonhosted.org/packages/35/1c/4a8135f77a4ec8c0a6dc1d4543dd6fee55b36bb8bf629e2bcce8a94763a9/pylint-3.1.0.tar.gz"
171151
}
172152
],
173153
"project_name": "pylint",
174154
"requires_dists": [
175-
"astroid==2.5.6",
176-
"colorama; sys_platform == \"win32\"",
177-
"isort<6,>=4.2.5",
178-
"mccabe<0.7,>=0.6",
179-
"toml>=0.7.1"
155+
"astroid<=3.2.0-dev0,>=3.1.0",
156+
"colorama>=0.4.5; sys_platform == \"win32\"",
157+
"dill>=0.2; python_version < \"3.11\"",
158+
"dill>=0.3.6; python_version >= \"3.11\"",
159+
"dill>=0.3.7; python_version >= \"3.12\"",
160+
"gitpython>3; extra == \"testutils\"",
161+
"isort!=5.13.0,<6,>=4.2.5",
162+
"mccabe<0.8,>=0.6",
163+
"platformdirs>=2.2.0",
164+
"pyenchant~=3.2; extra == \"spelling\"",
165+
"tomli>=1.1.0; python_version < \"3.11\"",
166+
"tomlkit>=0.10.1",
167+
"typing-extensions>=3.10.0; python_version < \"3.10\""
180168
],
181-
"requires_python": "~=3.6",
182-
"version": "2.8.3"
169+
"requires_python": ">=3.8.0",
170+
"version": "3.1.0"
183171
},
184172
{
185173
"artifacts": [
186174
{
187175
"algorithm": "sha256",
188-
"hash": "c21c49fb1042386df081cb5d86759792ab89efca84cf114889191cd09aacc80c",
189-
"url": "https://files.pythonhosted.org/packages/92/e1/1c8bb3420105e70bdf357d57dd5567202b4ef8d27f810e98bb962d950834/setuptools-69.2.0-py3-none-any.whl"
176+
"hash": "c636ac361bc47580504644275c9ad802c50415c7522212252c033bd15f301f32",
177+
"url": "https://files.pythonhosted.org/packages/f7/29/13965af254e3373bceae8fb9a0e6ea0d0e571171b80d6646932131d6439b/setuptools-69.5.1-py3-none-any.whl"
190178
},
191179
{
192180
"algorithm": "sha256",
193-
"hash": "0ff4183f8f42cd8fa3acea16c45205521a4ef28f73c6391d8a25e92893134f2e",
194-
"url": "https://files.pythonhosted.org/packages/4d/5b/dc575711b6b8f2f866131a40d053e30e962e633b332acf7cd2c24843d83d/setuptools-69.2.0.tar.gz"
181+
"hash": "6c1fccdac05a97e598fb0ae3bbed5904ccb317337a51139dcd51453611bbb987",
182+
"url": "https://files.pythonhosted.org/packages/d6/4f/b10f707e14ef7de524fe1f8988a294fb262a29c9b5b12275c7e188864aed/setuptools-69.5.1.tar.gz"
195183
}
196184
],
197185
"project_name": "setuptools",
@@ -215,26 +203,25 @@
215203
"packaging>=23.2; extra == \"testing-integration\"",
216204
"pip>=19.1; extra == \"testing\"",
217205
"pygments-github-lexers==0.0.5; extra == \"docs\"",
206+
"pytest!=8.1.1,>=6; extra == \"testing\"",
218207
"pytest-checkdocs>=2.4; extra == \"testing\"",
219208
"pytest-cov; platform_python_implementation != \"PyPy\" and extra == \"testing\"",
220209
"pytest-enabler; extra == \"testing-integration\"",
221210
"pytest-enabler>=2.2; extra == \"testing\"",
222211
"pytest-home>=0.5; extra == \"testing\"",
223-
"pytest-mypy>=0.9.1; platform_python_implementation != \"PyPy\" and extra == \"testing\"",
212+
"pytest-mypy; extra == \"testing\"",
224213
"pytest-perf; sys_platform != \"cygwin\" and extra == \"testing\"",
225214
"pytest-ruff>=0.2.1; sys_platform != \"cygwin\" and extra == \"testing\"",
226215
"pytest-timeout; extra == \"testing\"",
227216
"pytest-xdist; extra == \"testing-integration\"",
228217
"pytest-xdist>=3; extra == \"testing\"",
229218
"pytest; extra == \"testing-integration\"",
230-
"pytest>=6; extra == \"testing\"",
231219
"rst.linker>=1.9; extra == \"docs\"",
232220
"sphinx-favicon; extra == \"docs\"",
233221
"sphinx-inline-tabs; extra == \"docs\"",
234222
"sphinx-lint; extra == \"docs\"",
235223
"sphinx-notfound-page<2,>=1; extra == \"docs\"",
236224
"sphinx-reredirects; extra == \"docs\"",
237-
"sphinx<7.2.5; extra == \"docs\"",
238225
"sphinx>=3.5; extra == \"docs\"",
239226
"sphinxcontrib-towncrier; extra == \"docs\"",
240227
"tomli-w>=1.0.0; extra == \"testing\"",
@@ -246,38 +233,61 @@
246233
"wheel; extra == \"testing-integration\""
247234
],
248235
"requires_python": ">=3.8",
249-
"version": "69.2.0"
236+
"version": "69.5.1"
237+
},
238+
{
239+
"artifacts": [
240+
{
241+
"algorithm": "sha256",
242+
"hash": "939de3e7a6161af0c887ef91b7d41a53e7c5a1ca976325f429cb46ea9bc30ecc",
243+
"url": "https://files.pythonhosted.org/packages/97/75/10a9ebee3fd790d20926a90a2547f0bf78f371b2f13aa822c759680ca7b9/tomli-2.0.1-py3-none-any.whl"
244+
},
245+
{
246+
"algorithm": "sha256",
247+
"hash": "de526c12914f0c550d15924c62d72abc48d6fe7364aa87328337a31007fe8a4f",
248+
"url": "https://files.pythonhosted.org/packages/c0/3f/d7af728f075fb08564c5949a9c95e44352e23dee646869fa104a3b2060a3/tomli-2.0.1.tar.gz"
249+
}
250+
],
251+
"project_name": "tomli",
252+
"requires_dists": [],
253+
"requires_python": ">=3.7",
254+
"version": "2.0.1"
250255
},
251256
{
252257
"artifacts": [
253258
{
254259
"algorithm": "sha256",
255-
"hash": "806143ae5bfb6a3c6e736a764057db0e6a0e05e338b5630894a5f779cabb4f9b",
256-
"url": "https://files.pythonhosted.org/packages/44/6f/7120676b6d73228c96e17f1f794d8ab046fc910d781c8d151120c3f1569e/toml-0.10.2-py2.py3-none-any.whl"
260+
"hash": "5cd82d48a3dd89dee1f9d64420aa20ae65cfbd00668d6f094d7578a78efbb77b",
261+
"url": "https://files.pythonhosted.org/packages/07/fa/c96545d741f2fd47f565e4e06bfef0962add790cb9c2289d900102b55eca/tomlkit-0.12.4-py3-none-any.whl"
257262
},
258263
{
259264
"algorithm": "sha256",
260-
"hash": "b3bda1d108d5dd99f4a20d24d9c348e91c4db7ab1b749200bded2f839ccbe68f",
261-
"url": "https://files.pythonhosted.org/packages/be/ba/1f744cdc819428fc6b5084ec34d9b30660f6f9daaf70eead706e3203ec3c/toml-0.10.2.tar.gz"
265+
"hash": "7ca1cfc12232806517a8515047ba66a19369e71edf2439d0f5824f91032b6cc3",
266+
"url": "https://files.pythonhosted.org/packages/7d/49/4c0764898ee67618996148bdba4534a422c5e698b4dbf4001f7c6f930797/tomlkit-0.12.4.tar.gz"
262267
}
263268
],
264-
"project_name": "toml",
269+
"project_name": "tomlkit",
265270
"requires_dists": [],
266-
"requires_python": "!=3.0.*,!=3.1.*,!=3.2.*,>=2.6",
267-
"version": "0.10.2"
271+
"requires_python": ">=3.7",
272+
"version": "0.12.4"
268273
},
269274
{
270275
"artifacts": [
271276
{
272277
"algorithm": "sha256",
273-
"hash": "b62ffa81fb85f4332a4f609cab4ac40709470da05643a082ec1eb88e6d9b97d7",
274-
"url": "https://files.pythonhosted.org/packages/82/f7/e43cefbe88c5fd371f4cf0cf5eb3feccd07515af9fd6cf7dbf1d1793a797/wrapt-1.12.1.tar.gz"
278+
"hash": "c1f94d72897edaf4ce775bb7558d5b79d8126906a14ea5ed1635921406c0387a",
279+
"url": "https://files.pythonhosted.org/packages/01/f3/936e209267d6ef7510322191003885de524fc48d1b43269810cd589ceaf5/typing_extensions-4.11.0-py3-none-any.whl"
280+
},
281+
{
282+
"algorithm": "sha256",
283+
"hash": "83f085bd5ca59c80295fc2a82ab5dac679cbe02b9f33f7d83af68e241bea51b0",
284+
"url": "https://files.pythonhosted.org/packages/f6/f3/b827b3ab53b4e3d8513914586dcca61c355fa2ce8252dea4da56e67bf8f2/typing_extensions-4.11.0.tar.gz"
275285
}
276286
],
277-
"project_name": "wrapt",
287+
"project_name": "typing-extensions",
278288
"requires_dists": [],
279-
"requires_python": null,
280-
"version": "1.12.1"
289+
"requires_python": ">=3.8",
290+
"version": "4.11.0"
281291
}
282292
],
283293
"platform_tag": null
@@ -289,7 +299,7 @@
289299
"prefer_older_binary": false,
290300
"requirements": [
291301
"astroid",
292-
"pylint~=2.8.2",
302+
"pylint>=2.8.2",
293303
"setuptools"
294304
],
295305
"requires_python": [

pylint_plugins/BUILD

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ python_tests(
1717
python_requirement(
1818
name="pylint",
1919
requirements=[
20-
"pylint~=2.8.2",
20+
"pylint>=2.8.2",
2121
"setuptools", # includes pkg_resources
2222
],
2323
)

pylint_plugins/api_models.py

+5-2
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@
5151
Now, we return because Pylint can finally understand our API model objects without
5252
importing them.
5353
"""
54+
# pylint: disable=E1120,E1125
5455

5556
import astroid
5657

@@ -290,12 +291,14 @@ def transform(cls: nodes.ClassDef):
290291
node = scoped_nodes.builtin_lookup("None")[1][0]
291292
else:
292293
# Unknown type
293-
node = astroid.ClassDef(property_name, None)
294+
node = astroid.ClassDef(property_name)
294295

295296
# Create a "property = node" assign node
296297
assign_node = nodes.Assign(parent=cls)
297298
assign_name_node = nodes.AssignName(property_name, parent=assign_node)
298-
assign_node.postinit(targets=[assign_name_node], value=node)
299+
assign_node.postinit(
300+
targets=[assign_name_node], value=node, type_annotation=None
301+
)
299302

300303
# Finally, add the property node as an attribute on the class.
301304
cls.locals[property_name] = [assign_name_node]

0 commit comments

Comments
 (0)