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

Handle all issues identified by pylint in the numba_dpex.experimental module. #1196

Closed
Tracked by #1120
diptorupd opened this issue Nov 2, 2023 · 0 comments · Fixed by #1206
Closed
Tracked by #1120

Handle all issues identified by pylint in the numba_dpex.experimental module. #1196

diptorupd opened this issue Nov 2, 2023 · 0 comments · Fixed by #1206

Comments

@diptorupd
Copy link
Collaborator

diptorupd commented Nov 2, 2023

The new numba_dpex.experimental module is not pylint compliant. The following issues need to be handled to make the module pass pylint checks.

************* Module numba_dpex.experimental.kernel_dispatcher
numba_dpex/experimental/kernel_dispatcher.py:87:8: W0212: Access to a protected member _optimize_final_module of a client class (protected-access)
numba_dpex/experimental/kernel_dispatcher.py:91:12: W0212: Access to a protected member _final_module of a client class (protected-access)
numba_dpex/experimental/kernel_dispatcher.py:92:12: W0212: Access to a protected member _final_module of a client class (protected-access)
numba_dpex/experimental/kernel_dispatcher.py:161:28: W0212: Access to a protected member _final_module of a client class (protected-access)
numba_dpex/experimental/kernel_dispatcher.py:170:0: R0902: Too many instance attributes (13/7) (too-many-instance-attributes)
numba_dpex/experimental/kernel_dispatcher.py:183:4: W0102: Dangerous default value {} as argument (dangerous-default-value)
numba_dpex/experimental/kernel_dispatcher.py:183:4: W0102: Dangerous default value {} as argument (dangerous-default-value)
numba_dpex/experimental/kernel_dispatcher.py:209:8: W0233: __init__ method from a non direct base class '_DispatcherBase' is called (non-parent-init-called)
numba_dpex/experimental/kernel_dispatcher.py:183:4: W0231: __init__ method from base class 'Dispatcher' is not called (super-init-not-called)
numba_dpex/experimental/kernel_dispatcher.py:183:4: R0913: Too many arguments (10/5) (too-many-arguments)
numba_dpex/experimental/kernel_dispatcher.py:190:8: W0622: Redefining built-in 'locals' (redefined-builtin)
numba_dpex/experimental/kernel_dispatcher.py:186:8: W0613: Unused argument 'debug_flags' (unused-argument)
numba_dpex/experimental/kernel_dispatcher.py:187:8: W0613: Unused argument 'compile_flags' (unused-argument)
numba_dpex/experimental/kernel_dispatcher.py:188:8: W0613: Unused argument 'specialization_sigs' (unused-argument)
numba_dpex/experimental/kernel_dispatcher.py:189:8: W0613: Unused argument 'enable_cache' (unused-argument)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant