-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Remove the python3 porting mode from the codebase #4942
Remove the python3 porting mode from the codebase #4942
Conversation
@DanielNoord, I opened that following your suggestion in #4940 |
Looks good, quite a lot of work! I will rebase #4940 after this has been merged and see if there are any remaining issues. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good! As this is quite a large change, would you mind adding an entry in whatsnew
?
Pull Request Test Coverage Report for Build 1189032117
💛 - Coveralls |
It's possible to use the python3 porting checker from an older pylint version. But it's not evolving anymore and was costing resource to maintain.
26d5bb5
to
807bee4
Compare
Thank you for checking the issue we can close @DanielNoord :) |
The py2/3 compatibility layer has been removed pylint-dev/pylint#4942
The py2/3 compatibility layer has been removed pylint-dev/pylint#4942
When using pylint v2.14, you can get a bunch of errors like: /action/lib/.automation/.python-lint:1:0: E0015: Unrecognized option found: no-space-check (unrecognized-option) /action/lib/.automation/.python-lint:1:0: R0022: Useless option value for '--disable', 'print-statement' was removed from pylint, see pylint-dev/pylint#4942. (useless-option-value) /action/lib/.automation/.python-lint:1:0: R0022: Useless option value for '--disable', 'parameter-unpacking' was removed from pylint, see pylint-dev/pylint#4942. (useless-option-value) /action/lib/.automation/.python-lint:1:0: R0022: Useless option value for '--disable', 'unpacking-in-except' was removed from pylint, see pylint-dev/pylint#4942. (useless-option-value) Most of them have beed removed here: pylint-dev/pylint#4942 But raising exceptions when using removed options was only added in 2.14 in pylint-dev/pylint#6826 We still need to actualize this config with new options, but at least we won't get errors with this config.
To fix: ``` ************* Module /Users/lalyta/dev/coding-katas-python/.pylintrc .pylintrc:1:0: R0022: Useless option value for '--disable', 'print-statement' was removed from pylint, see pylint-dev/pylint#4942. (useless-option-value) .pylintrc:1:0: R0022: Useless option value for '--disable', 'parameter-unpacking' was removed from pylint, see pylint-dev/pylint#4942. (useless-option-value) ... ```
To fix: ``` ************* Module /Users/lalyta/dev/coding-katas-python/.pylintrc .pylintrc:1:0: R0022: Useless option value for '--disable', 'print-statement' was removed from pylint, see pylint-dev/pylint#4942. (useless-option-value) .pylintrc:1:0: R0022: Useless option value for '--disable', 'parameter-unpacking' was removed from pylint, see pylint-dev/pylint#4942. (useless-option-value) ... ```
References: - pylint-dev/pylint#4942 Signed-off-by: William José Moreno Reyes <williamjmorenor@gmail.com>
Con este set de cambios se logra lo siguiente: - Funcionalidad del curso avanzada (WIP). - Mas de 80% de cobertura de pruebas unitarias. - MyPy passed - PyLint passed - Flake8 passed - Bandit passed - OCI image build ========================================================================= * refactor Signed-off-by: William Moreno <williamjmorenor@gmail.com> * fix: Corrige lista de cursos del instructor Fixes: #7 Signed-off-by: William Moreno <williamjmorenor@gmail.com> * Agrega codigo para agregar seccion a un curso. Signed-off-by: William Moreno <williamjmorenor@gmail.com> * Utiliza codigos uuid para secciones y recursos Signed-off-by: William Moreno <williamjmorenor@gmail.com> * fix: Corrige error al crear la DB en potgres Signed-off-by: William Moreno <williamjmorenor@gmail.com> * style: Corrige errores reportados por pylint. pylint now_lms ************* Module now_lms now_lms/__init__.py:795:8: W0622: Redefining built-in 'id' (redefined-builtin) now_lms/__init__.py:796:8: W0621: Redefining name 'nuevo_seccion' from outer scope (line 790) (redefined-outer-name) now_lms/__init__.py:822:8: W0622: Redefining built-in 'id' (redefined-builtin) now_lms/__init__.py:823:8: W0621: Redefining name 'nuevo_recurso' from outer scope (line 817) (redefined-outer-name) now_lms/__init__.py:817:31: W0613: Unused argument 'seccion' (unused-argument) ----------------------------------- Your code has been rated at 9.89/10 Signed-off-by: William Moreno <williamjmorenor@gmail.com> * refactor: Reduce cantidad de markup repetido Signed-off-by: William Moreno <williamjmorenor@gmail.com> * build: Actualiza Bootstrap Icons Signed-off-by: William Moreno <williamjmorenor@gmail.com> * feat: Acordeon para mostrar contenido del curso Signed-off-by: William Moreno <williamjmorenor@gmail.com> * refactor: Pagina tipo de recurso Signed-off-by: William Moreno <williamjmorenor@gmail.com> * fix: Not require POST Signed-off-by: William Moreno <williamjmorenor@gmail.com> * refactor Signed-off-by: William Moreno <williamjmorenor@gmail.com> * Agrega indice Signed-off-by: William Moreno <williamjmorenor@gmail.com> * Agrega info a usuarios predterminados Signed-off-by: William Moreno <williamjmorenor@gmail.com> * Feat: Agrego macro para notificaciones Signed-off-by: William Moreno <williamjmorenor@gmail.com> * fix: Notify Signed-off-by: William Moreno <williamjmorenor@gmail.com> * setup tet Signed-off-by: William Moreno <williamjmorenor@gmail.com> * test unitarios Signed-off-by: William Moreno <williamjmorenor@gmail.com> * pruebas unitarias Signed-off-by: William Moreno <williamjmorenor@gmail.com> * test Signed-off-by: William Moreno <williamjmorenor@gmail.com> * build: Deploy to DO Signed-off-by: William Moreno <williamjmorenor@gmail.com> * build: Deploy to Heroku Signed-off-by: William Moreno <williamjmorenor@gmail.com> * build: Deploy to DO Signed-off-by: William Moreno <williamjmorenor@gmail.com> * build: Deploy to Heroku Signed-off-by: William Moreno <williamjmorenor@gmail.com> * fix: Heroku postgresql requieres ssl Signed-off-by: William Moreno <williamjmorenor@gmail.com> * fix: Heroku postgresql requieres ssl Signed-off-by: William Moreno <williamjmorenor@gmail.com> * fix: Heroku postgresql requieres ssl Signed-off-by: William Moreno <williamjmorenor@gmail.com> * build: Heroku likes psycopg Signed-off-by: William Moreno <williamjmorenor@gmail.com> * Update README.md * build: Minimal nginx configuration Signed-off-by: William Moreno <williamjmorenor@gmail.com> * Update readme Signed-off-by: William Moreno <williamjmorenor@gmail.com> * fix: Corrige permisos instructor Signed-off-by: William Moreno Reyes <williamjmorenor@gmail.com> * fix: Corrige lista de cursos del instructor Fixes: #7 Signed-off-by: William Moreno <williamjmorenor@gmail.com> * test: Agrega pruebas Signed-off-by: William Moreno Reyes <williamjmorenor@fedoraproject.org> * Agrega metodo para eliminar curso. Signed-off-by: William Moreno <williamjmorenor@gmail.com> * fixup Signed-off-by: William Moreno <williamjmorenor@gmail.com> * build: Actualiza configuración de gitpod Signed-off-by: William Moreno <williamjmorenor@gmail.com> * style: Correcciones de estilo Signed-off-by: William Moreno <williamjmorenor@gmail.com> * fix: Typo Signed-off-by: William Moreno <williamjmorenor@gmail.com> * refactor: Ejecuta un query menos Signed-off-by: William Moreno <williamjmorenor@gmail.com> * WIP Signed-off-by: William Moreno <williamjmorenor@gmail.com> * style: pass mypy Signed-off-by: William Moreno <williamjmorenor@gmail.com> * style: Sonarcube Signed-off-by: William Moreno <williamjmorenor@gmail.com> * feat: Corrige direcciones de base de datos Signed-off-by: William Moreno <williamjmorenor@gmail.com> * Update README.md * build: Minimal nginx configuration Signed-off-by: William Moreno <williamjmorenor@gmail.com> * Update readme Signed-off-by: William Moreno <williamjmorenor@gmail.com> * fix: Corrige permisos instructor Signed-off-by: William Moreno Reyes <williamjmorenor@gmail.com> * fix: Corrige lista de cursos del instructor Fixes: #7 Signed-off-by: William Moreno <williamjmorenor@gmail.com> * test: Agrega pruebas Signed-off-by: William Moreno Reyes <williamjmorenor@fedoraproject.org> * Agrega metodo para eliminar curso. Signed-off-by: William Moreno <williamjmorenor@gmail.com> * fixup Signed-off-by: William Moreno <williamjmorenor@gmail.com> * build: Actualiza configuración de gitpod Signed-off-by: William Moreno <williamjmorenor@gmail.com> * style: Correcciones de estilo Signed-off-by: William Moreno <williamjmorenor@gmail.com> * fix: Typo Signed-off-by: William Moreno <williamjmorenor@gmail.com> * refactor: Ejecuta un query menos Signed-off-by: William Moreno <williamjmorenor@gmail.com> * WIP Signed-off-by: William Moreno <williamjmorenor@gmail.com> * style: pass mypy Signed-off-by: William Moreno <williamjmorenor@gmail.com> * build: Heroku likes psycopg Signed-off-by: William Moreno <williamjmorenor@gmail.com> * build: PG8000 por defecto Signed-off-by: William Moreno <williamjmorenor@gmail.com> * build: Test python3.11 Signed-off-by: William Moreno <williamjmorenor@gmail.com> * Revert "build: Test python3.11" This reverts commit b804e0d. * Update README.md * test: agrega test Signed-off-by: William Moreno Reyes <williamjmorenor@fedoraproject.org> * test: agrega test Signed-off-by: William Moreno Reyes <williamjmorenor@fedoraproject.org> * test: agrega test Signed-off-by: William Moreno Reyes <williamjmorenor@fedoraproject.org> * test: Mejora covertura Signed-off-by: William Moreno <williamjmorenor@gmail.com> * style: Correciones de estilo Signed-off-by: William Moreno <williamjmorenor@gmail.com> * test: Mejor covertura Signed-off-by: William Moreno <williamjmorenor@gmail.com> * test: Mejor covertura Signed-off-by: William Moreno <williamjmorenor@gmail.com> * test: mejor cobertura Signed-off-by: William Moreno <williamjmorenor@gmail.com> * Update README.md * Update README.md * Update README.md * test: Crear usuario Signed-off-by: William Moreno <williamjmorenor@gmail.com> * test: Fix test Signed-off-by: William Moreno <williamjmorenor@gmail.com> * test: Fix test Signed-off-by: William Moreno <williamjmorenor@gmail.com> * test: Agrega mas test unitarios Signed-off-by: William Moreno <williamjmorenor@gmail.com> * feat: Crear curso demo Signed-off-by: William Moreno <williamjmorenor@gmail.com> * test: Update test Signed-off-by: William Moreno <williamjmorenor@gmail.com> * feat: Arregla relaciones entre tablas Signed-off-by: William Moreno <williamjmorenor@gmail.com> * test: Agrega test unitarios Signed-off-by: William Moreno <williamjmorenor@gmail.com> * Update README.md * test: Agrega pruebas unitarias Signed-off-by: William Moreno <williamjmorenor@gmail.com> * fix: Eliminar seccion Signed-off-by: William Moreno <williamjmorenor@gmail.com> * test: Agrega pruebas unitarias Signed-off-by: William Moreno <williamjmorenor@gmail.com> * feat: Seccion publica Signed-off-by: William Moreno <williamjmorenor@gmail.com> * test: Actualiza test Signed-off-by: William Moreno <williamjmorenor@gmail.com> * test: Actualiza test Signed-off-by: William Moreno <williamjmorenor@gmail.com> * style: CSS fixes Signed-off-by: William Moreno <williamjmorenor@gmail.com> * style: Fixes Signed-off-by: William Moreno <williamjmorenor@gmail.com> * style: CCS fixes Signed-off-by: William Moreno <williamjmorenor@gmail.com> * fix: Log message Signed-off-by: William Moreno <williamjmorenor@gmail.com> * feat: Asigna indice a nueva seccion Signed-off-by: William Moreno <williamjmorenor@gmail.com> * feat: Agrega metodos para modificar indice seccion Signed-off-by: William Moreno <williamjmorenor@gmail.com> * style: Fixes Signed-off-by: William Moreno <williamjmorenor@gmail.com> * WIP Signed-off-by: William Moreno <williamjmorenor@gmail.com> * WIP Signed-off-by: William Moreno <williamjmorenor@gmail.com> * WIP Signed-off-by: William Moreno <williamjmorenor@gmail.com> * test: Update test Signed-off-by: William Moreno <williamjmorenor@gmail.com> * test: Update test Signed-off-by: William Moreno <williamjmorenor@gmail.com> * Revert "test: Update test" This reverts commit 8ed7065. * fix: Reorganiza indice de seccion Signed-off-by: William Moreno Reyes <williamjmorenor@fedoraproject.org> * fix: Reordenar indice Signed-off-by: William Moreno Reyes <williamjmorenor@fedoraproject.org> * fix: Pagina inicio Signed-off-by: William Moreno Reyes <williamjmorenor@fedoraproject.org> * fix: Reorganizar indice Signed-off-by: William Moreno Reyes <williamjmorenor@fedoraproject.org> * Fix typo Signed-off-by: William Moreno Reyes <williamjmorenor@gmail.com> * feat: Agrega recurso en youtube Signed-off-by: William Moreno <williamjmorenor@gmail.com> * update Signed-off-by: William Moreno Reyes <williamjmorenor@gmail.com> * WIP Signed-off-by: William Moreno Reyes <williamjmorenor@gmail.com> * WIP Signed-off-by: William Moreno Reyes <williamjmorenor@gmail.com> * WIP Signed-off-by: William Moreno Reyes <williamjmorenor@gmail.com> * WIP Signed-off-by: William Moreno Reyes <williamjmorenor@gmail.com> * refactor: Reorganice project Signed-off-by: William Moreno <williamjmorenor@gmail.com> * build: Development server Signed-off-by: William Moreno Reyes <williamjmorenor@gmail.com> * WIP Signed-off-by: William Moreno Reyes <williamjmorenor@gmail.com> * WIP Signed-off-by: William Moreno Reyes <williamjmorenor@gmail.com> * Fix node_modules Signed-off-by: William Moremo <wmoreno@montelimar.com.ni> * Actualiza mensajes del log Signed-off-by: William José Moreno Reyes <williamjmorenor@gmail.com> * Python 3.11 * Python 3.11 Signed-off-by: William José Moreno Reyes <williamjmorenor@gmail.com> * Clean pylint conf References: - pylint-dev/pylint#4942 Signed-off-by: William José Moreno Reyes <williamjmorenor@gmail.com> * Corrige mensaje de error References: - https://github.com/bmosoluciones/now-lms/actions/runs/3652369567 now_lms/__init__.py:358:53: E712 comparison to True should be 'if cond is True:' or 'if cond:' Se sigue la sintaxis aceptada por Flask-SqlAlchemy Signed-off-by: William José Moreno Reyes <williamjmorenor@gmail.com> * Fix test Signed-off-by: William José Moreno Reyes <williamjmorenor@gmail.com> * Disable pylint Signed-off-by: William José Moreno Reyes <williamjmorenor@gmail.com> * Disable pylint Signed-off-by: William José Moreno Reyes <williamjmorenor@gmail.com> * lint Signed-off-by: William José Moreno Reyes <williamjmorenor@gmail.com> * Support Python 3.9 and above References: - https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/9/html/installing_and_using_dynamic_programming_languages/assembly_installing-and-using-python_installing-and-using-dynamic-programming-languages Signed-off-by: William José Moreno Reyes <williamjmorenor@gmail.com> * UBI 9 Signed-off-by: William José Moreno Reyes <williamjmorenor@gmail.com> * UBI 9 Signed-off-by: William José Moreno Reyes <williamjmorenor@gmail.com> * UBI 9 Signed-off-by: William José Moreno Reyes <williamjmorenor@gmail.com> * UBI 9 Signed-off-by: William José Moreno Reyes <williamjmorenor@gmail.com> * Docker Signed-off-by: William José Moreno Reyes <williamjmorenor@gmail.com> * Docker Signed-off-by: William José Moreno Reyes <williamjmorenor@gmail.com> * Docker Signed-off-by: William José Moreno Reyes <williamjmorenor@gmail.com> * Docker Signed-off-by: William José Moreno Reyes <williamjmorenor@gmail.com> * Docker Signed-off-by: William José Moreno Reyes <williamjmorenor@gmail.com> * Docker Signed-off-by: William José Moreno Reyes <williamjmorenor@gmail.com> * Update README file Signed-off-by: William José Moreno Reyes <williamjmorenor@gmail.com> * Update Docker file Signed-off-by: William José Moreno Reyes <williamjmorenor@gmail.com> * Enable type chequing Signed-off-by: William José Moreno Reyes <williamjmorenor@gmail.com> * All test passed Signed-off-by: William José Moreno Reyes <williamjmorenor@gmail.com> * Fix mypy not interactive Signed-off-by: William José Moreno Reyes <williamjmorenor@gmail.com> * Fix bandit Signed-off-by: William José Moreno Reyes <williamjmorenor@gmail.com> * Ignore bandit errors Signed-off-by: William José Moreno Reyes <williamjmorenor@gmail.com> * Check python 3.7 Signed-off-by: William José Moreno Reyes <williamjmorenor@gmail.com> Signed-off-by: William Moreno <williamjmorenor@gmail.com> Signed-off-by: William Moreno Reyes <williamjmorenor@gmail.com> Signed-off-by: William Moreno Reyes <williamjmorenor@fedoraproject.org> Signed-off-by: William Moremo <wmoreno@montelimar.com.ni> Signed-off-by: William José Moreno Reyes <williamjmorenor@gmail.com> Co-authored-by: William Moremo <wmoreno@montelimar.com.ni>
Pylint changes: pylint-dev/pylint#4942
pylint-dev/pylint#4942 (cherry picked from commit 75f0169)
pylint-dev/pylint#4942 (cherry picked from commit d47a610)
…orted (pylint v3 is current) in part from: pylint-dev/pylint#4942 It seems that pylint is removing options for formatting checking, and recommending using a formatter instead (Personally, I am not a fan of most of those opinionated formatters, such as the one I saw recommended Black)
- addresses the following `pylint` warnings: ``` python/.pylintrc:1:0: R0022: Useless option value for '--disable', 'C0326' was removed from pylint, see pylint-dev/pylint#3577. (useless-option-value) python/.pylintrc:1:0: R0022: Useless option value for '--disable', 'print-statement' was removed from pylint, see pylint-dev/pylint#4942. (useless-option-value) python/.pylintrc:1:0: R0022: Useless option value for '--disable', 'parameter-unpacking' was removed from pylint, see pylint-dev/pylint#4942. (useless-option-value) python/.pylintrc:1:0: R0022: Useless option value for '--disable', 'unpacking-in-except' was removed from pylint, see pylint-dev/pylint#4942. (useless-option-value) python/.pylintrc:1:0: R0022: Useless option value for '--disable', 'old-raise-syntax' was removed from pylint, see pylint-dev/pylint#4942. (useless-option-value) python/.pylintrc:1:0: R0022: Useless option value for '--disable', 'backtick' was removed from pylint, see pylint-dev/pylint#4942. (useless-option-value) python/.pylintrc:1:0: R0022: Useless option value for '--disable', 'import-star-module-level' was removed from pylint, see pylint-dev/pylint#4942. (useless-option-value) python/.pylintrc:1:0: R0022: Useless option value for '--disable', 'apply-builtin' was removed from pylint, see pylint-dev/pylint#4942. (useless-option-value) python/.pylintrc:1:0: R0022: Useless option value for '--disable', 'basestring-builtin' was removed from pylint, see pylint-dev/pylint#4942. (useless-option-value) python/.pylintrc:1:0: R0022: Useless option value for '--disable', 'buffer-builtin' was removed from pylint, see pylint-dev/pylint#4942. (useless-option-value) python/.pylintrc:1:0: R0022: Useless option value for '--disable', 'cmp-builtin' was removed from pylint, see pylint-dev/pylint#4942. (useless-option-value) python/.pylintrc:1:0: R0022: Useless option value for '--disable', 'coerce-builtin' was removed from pylint, see pylint-dev/pylint#4942. (useless-option-value) python/.pylintrc:1:0: R0022: Useless option value for '--disable', 'execfile-builtin' was removed from pylint, see pylint-dev/pylint#4942. (useless-option-value) python/.pylintrc:1:0: R0022: Useless option value for '--disable', 'file-builtin' was removed from pylint, see pylint-dev/pylint#4942. (useless-option-value) python/.pylintrc:1:0: R0022: Useless option value for '--disable', 'long-builtin' was removed from pylint, see pylint-dev/pylint#4942. (useless-option-value) python/.pylintrc:1:0: R0022: Useless option value for '--disable', 'raw_input-builtin' was removed from pylint, see pylint-dev/pylint#4942. (useless-option-value) python/.pylintrc:1:0: R0022: Useless option value for '--disable', 'reduce-builtin' was removed from pylint, see pylint-dev/pylint#4942. (useless-option-value) python/.pylintrc:1:0: R0022: Useless option value for '--disable', 'standarderror-builtin' was removed from pylint, see pylint-dev/pylint#4942. (useless-option-value) python/.pylintrc:1:0: R0022: Useless option value for '--disable', 'unicode-builtin' was removed from pylint, see pylint-dev/pylint#4942. (useless-option-value) python/.pylintrc:1:0: R0022: Useless option value for '--disable', 'xrange-builtin' was removed from pylint, see pylint-dev/pylint#4942. (useless-option-value) python/.pylintrc:1:0: R0022: Useless option value for '--disable', 'coerce-method' was removed from pylint, see pylint-dev/pylint#4942. (useless-option-value) python/.pylintrc:1:0: R0022: Useless option value for '--disable', 'delslice-method' was removed from pylint, see pylint-dev/pylint#4942. (useless-option-value) python/.pylintrc:1:0: R0022: Useless option value for '--disable', 'getslice-method' was removed from pylint, see pylint-dev/pylint#4942. (useless-option-value) python/.pylintrc:1:0: R0022: Useless option value for '--disable', 'setslice-method' was removed from pylint, see pylint-dev/pylint#4942. (useless-option-value) python/.pylintrc:1:0: R0022: Useless option value for '--disable', 'no-absolute-import' was removed from pylint, see pylint-dev/pylint#4942. (useless-option-value) python/.pylintrc:1:0: R0022: Useless option value for '--disable', 'old-division' was removed from pylint, see pylint-dev/pylint#4942. (useless-option-value) python/.pylintrc:1:0: R0022: Useless option value for '--disable', 'dict-iter-method' was removed from pylint, see pylint-dev/pylint#4942. (useless-option-value) python/.pylintrc:1:0: R0022: Useless option value for '--disable', 'dict-view-method' was removed from pylint, see pylint-dev/pylint#4942. (useless-option-value) python/.pylintrc:1:0: R0022: Useless option value for '--disable', 'next-method-called' was removed from pylint, see pylint-dev/pylint#4942. (useless-option-value) python/.pylintrc:1:0: R0022: Useless option value for '--disable', 'metaclass-assignment' was removed from pylint, see pylint-dev/pylint#4942. (useless-option-value) python/.pylintrc:1:0: R0022: Useless option value for '--disable', 'indexing-exception' was removed from pylint, see pylint-dev/pylint#4942. (useless-option-value) python/.pylintrc:1:0: R0022: Useless option value for '--disable', 'raising-string' was removed from pylint, see pylint-dev/pylint#4942. (useless-option-value) python/.pylintrc:1:0: R0022: Useless option value for '--disable', 'reload-builtin' was removed from pylint, see pylint-dev/pylint#4942. (useless-option-value) python/.pylintrc:1:0: R0022: Useless option value for '--disable', 'oct-method' was removed from pylint, see pylint-dev/pylint#4942. (useless-option-value) python/.pylintrc:1:0: R0022: Useless option value for '--disable', 'hex-method' was removed from pylint, see pylint-dev/pylint#4942. (useless-option-value) python/.pylintrc:1:0: R0022: Useless option value for '--disable', 'nonzero-method' was removed from pylint, see pylint-dev/pylint#4942. (useless-option-value) python/.pylintrc:1:0: R0022: Useless option value for '--disable', 'cmp-method' was removed from pylint, see pylint-dev/pylint#4942. (useless-option-value) python/.pylintrc:1:0: R0022: Useless option value for '--disable', 'input-builtin' was removed from pylint, see pylint-dev/pylint#4942. (useless-option-value) python/.pylintrc:1:0: R0022: Useless option value for '--disable', 'round-builtin' was removed from pylint, see pylint-dev/pylint#4942. (useless-option-value) python/.pylintrc:1:0: R0022: Useless option value for '--disable', 'intern-builtin' was removed from pylint, see pylint-dev/pylint#4942. (useless-option-value) python/.pylintrc:1:0: R0022: Useless option value for '--disable', 'unichr-builtin' was removed from pylint, see pylint-dev/pylint#4942. (useless-option-value) python/.pylintrc:1:0: R0022: Useless option value for '--disable', 'map-builtin-not-iterating' was removed from pylint, see pylint-dev/pylint#4942. (useless-option-value) python/.pylintrc:1:0: R0022: Useless option value for '--disable', 'zip-builtin-not-iterating' was removed from pylint, see pylint-dev/pylint#4942. (useless-option-value) python/.pylintrc:1:0: R0022: Useless option value for '--disable', 'range-builtin-not-iterating' was removed from pylint, see pylint-dev/pylint#4942. (useless-option-value) python/.pylintrc:1:0: R0022: Useless option value for '--disable', 'filter-builtin-not-iterating' was removed from pylint, see pylint-dev/pylint#4942. (useless-option-value) python/.pylintrc:1:0: R0022: Useless option value for '--disable', 'using-cmp-argument' was removed from pylint, see pylint-dev/pylint#4942. (useless-option-value) python/.pylintrc:1:0: R0022: Useless option value for '--disable', 'div-method' was removed from pylint, see pylint-dev/pylint#4942. (useless-option-value) python/.pylintrc:1:0: R0022: Useless option value for '--disable', 'idiv-method' was removed from pylint, see pylint-dev/pylint#4942. (useless-option-value) python/.pylintrc:1:0: R0022: Useless option value for '--disable', 'rdiv-method' was removed from pylint, see pylint-dev/pylint#4942. (useless-option-value) python/.pylintrc:1:0: R0022: Useless option value for '--disable', 'exception-message-attribute' was removed from pylint, see pylint-dev/pylint#4942. (useless-option-value) python/.pylintrc:1:0: R0022: Useless option value for '--disable', 'invalid-str-codec' was removed from pylint, see pylint-dev/pylint#4942. (useless-option-value) python/.pylintrc:1:0: R0022: Useless option value for '--disable', 'sys-max-int' was removed from pylint, see pylint-dev/pylint#4942. (useless-option-value) python/.pylintrc:1:0: R0022: Useless option value for '--disable', 'bad-python3-import' was removed from pylint, see pylint-dev/pylint#4942. (useless-option-value) python/.pylintrc:1:0: R0022: Useless option value for '--disable', 'deprecated-string-function' was removed from pylint, see pylint-dev/pylint#4942. (useless-option-value) python/.pylintrc:1:0: R0022: Useless option value for '--disable', 'deprecated-str-translate-call' was removed from pylint, see pylint-dev/pylint#4942. (useless-option-value) python/.pylintrc:1:0: R0022: Useless option value for '--disable', 'deprecated-itertools-function' was removed from pylint, see pylint-dev/pylint#4942. (useless-option-value) python/.pylintrc:1:0: R0022: Useless option value for '--disable', 'deprecated-types-field' was removed from pylint, see pylint-dev/pylint#4942. (useless-option-value) python/.pylintrc:1:0: R0022: Useless option value for '--disable', 'next-method-defined' was removed from pylint, see pylint-dev/pylint#4942. (useless-option-value) python/.pylintrc:1:0: R0022: Useless option value for '--disable', 'dict-items-not-iterating' was removed from pylint, see pylint-dev/pylint#4942. (useless-option-value) python/.pylintrc:1:0: R0022: Useless option value for '--disable', 'dict-keys-not-iterating' was removed from pylint, see pylint-dev/pylint#4942. (useless-option-value) python/.pylintrc:1:0: R0022: Useless option value for '--disable', 'dict-values-not-iterating' was removed from pylint, see pylint-dev/pylint#4942. (useless-option-value) python/.pylintrc:1:0: R0022: Useless option value for '--disable', 'deprecated-operator-function' was removed from pylint, see pylint-dev/pylint#4942. (useless-option-value) python/.pylintrc:1:0: R0022: Useless option value for '--disable', 'deprecated-urllib-function' was removed from pylint, see pylint-dev/pylint#4942. (useless-option-value) python/.pylintrc:1:0: R0022: Useless option value for '--disable', 'xreadlines-attribute' was removed from pylint, see pylint-dev/pylint#4942. (useless-option-value) python/.pylintrc:1:0: R0022: Useless option value for '--disable', 'deprecated-sys-function' was removed from pylint, see pylint-dev/pylint#4942. (useless-option-value) python/.pylintrc:1:0: R0022: Useless option value for '--disable', 'exception-escape' was removed from pylint, see pylint-dev/pylint#4942. (useless-option-value) python/.pylintrc:1:0: R0022: Useless option value for '--disable', 'comprehension-escape' was removed from pylint, see pylint-dev/pylint#4942. (useless-option-value) python/.pylintrc:1:0: W0012: Unknown option value for '--disable', expected a valid pylint message and got 'long-suffix' (unknown-option-value) python/.pylintrc:1:0: W0012: Unknown option value for '--disable', expected a valid pylint message and got 'old-ne-operator' (unknown-option-value) python/.pylintrc:1:0: W0012: Unknown option value for '--disable', expected a valid pylint message and got 'old-octal-literal' (unknown-option-value) python/.pylintrc:1:0: W0012: Unknown option value for '--disable', expected a valid pylint message and got 'non-ascii-bytes-literal' (unknown-option-value) python/.pylintrc:1:0: W0012: Unknown option value for '--disable', expected a valid pylint message and got 'eq-without-hash' (unknown-option-value) ```
Remove deprecated .pylintrc disables see pylint-dev/pylint#4942.
These options all give a warning on the form: R0022: Useless option value for '--enable', 'deprecated-urllib-function' was removed from pylint, see pylint-dev/pylint#4942. (useless-option-value)
These options all give a warning on the form: R0022: Useless option value for '--enable', 'deprecated-urllib-function' was removed from pylint, see pylint-dev/pylint#4942. (useless-option-value)
Type of Changes
Description
It's possible to use the python3 porting checker from
an older pylint version. But it's not evolving anymore
and was costing resource to maintain.