Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pylint2.10 update #937

Merged
merged 16 commits into from
Sep 24, 2021
Merged

Conversation

Noktyrn
Copy link
Contributor

@Noktyrn Noktyrn commented Sep 17, 2021

Made fixes to resolve pylint 2.10 warnings.

@Noktyrn Noktyrn requested a review from a team September 17, 2021 07:50
@openvino-pushbot
Copy link

Can one of the admins verify this patch?

4 similar comments
@openvino-pushbot
Copy link

Can one of the admins verify this patch?

@openvino-pushbot
Copy link

Can one of the admins verify this patch?

@openvino-pushbot
Copy link

Can one of the admins verify this patch?

@openvino-pushbot
Copy link

Can one of the admins verify this patch?

@github-actions github-actions bot added the dependencies Any changes in any dependencies (new dep or its version) should be produced via Change Request on PM label Sep 17, 2021
@0de554K
Copy link
Contributor

0de554K commented Sep 17, 2021

Jenkins please retry a build

nncf/common/utils/os.py Show resolved Hide resolved
@@ -96,6 +96,7 @@ def _custom_forward_fn(self, input_):
proxy_weight = self.weight
return self._conv_forward(input_, proxy_weight, proxy_padding_value)

# pylint: disable=W0237
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think the _conv_forward function shouldn't have the same name as in the original implementation of Conv2d.
The warning should be resolved by simply renaming this method to something different, e.g. _conv_forward_proxy

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok, i'll change the name of this function

@0de554K
Copy link
Contributor

0de554K commented Sep 24, 2021

Jenkins please retry a build

@vshampor vshampor merged commit 24811aa into openvinotoolkit:develop Sep 24, 2021
@0de554K 0de554K mentioned this pull request Sep 24, 2021
vshampor pushed a commit that referenced this pull request Oct 11, 2021
* fixed all issues in examples folder for pylint 2.10 update

* fixed some pylint warnings in tests and nncf folders

* fixed pylint warnings in tools folder + setup.py file

* fixed parameter naming in synthetic.py

* forgot to pass file in json.load()

* added pylint flags

* disabled high-priority warnings in tests and fixed low-priority warnings

* fixed issues with iteration

* fixed issue with checkpoint_loading

* tried to fix pylint issues with bad option values

* fixed disable flag in examples/tensorflow/common/callbacks.py

* fixed disable flag in examples/tensorflow/common/callbacks.py
kshpv pushed a commit to kshpv/nncf that referenced this pull request Oct 11, 2022
* fixed all issues in examples folder for pylint 2.10 update

* fixed some pylint warnings in tests and nncf folders

* fixed pylint warnings in tools folder + setup.py file

* fixed parameter naming in synthetic.py

* forgot to pass file in json.load()

* added pylint flags

* disabled high-priority warnings in tests and fixed low-priority warnings

* fixed issues with iteration

* fixed issue with checkpoint_loading

* tried to fix pylint issues with bad option values

* fixed disable flag in examples/tensorflow/common/callbacks.py

* fixed disable flag in examples/tensorflow/common/callbacks.py
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Any changes in any dependencies (new dep or its version) should be produced via Change Request on PM
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants