-
-
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 :) |
* Add deleted msgid and symbol from the Python 3K+ checker and other deleted checks. See #4942 Closes #5729 Co-authored-by: Daniël van Noord <[email protected]>
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 <[email protected]>
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 <[email protected]> * fix: Corrige lista de cursos del instructor Fixes: #7 Signed-off-by: William Moreno <[email protected]> * Agrega codigo para agregar seccion a un curso. Signed-off-by: William Moreno <[email protected]> * Utiliza codigos uuid para secciones y recursos Signed-off-by: William Moreno <[email protected]> * fix: Corrige error al crear la DB en potgres Signed-off-by: William Moreno <[email protected]> * 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 <[email protected]> * refactor: Reduce cantidad de markup repetido Signed-off-by: William Moreno <[email protected]> * build: Actualiza Bootstrap Icons Signed-off-by: William Moreno <[email protected]> * feat: Acordeon para mostrar contenido del curso Signed-off-by: William Moreno <[email protected]> * refactor: Pagina tipo de recurso Signed-off-by: William Moreno <[email protected]> * fix: Not require POST Signed-off-by: William Moreno <[email protected]> * refactor Signed-off-by: William Moreno <[email protected]> * Agrega indice Signed-off-by: William Moreno <[email protected]> * Agrega info a usuarios predterminados Signed-off-by: William Moreno <[email protected]> * Feat: Agrego macro para notificaciones Signed-off-by: William Moreno <[email protected]> * fix: Notify Signed-off-by: William Moreno <[email protected]> * setup tet Signed-off-by: William Moreno <[email protected]> * test unitarios Signed-off-by: William Moreno <[email protected]> * pruebas unitarias Signed-off-by: William Moreno <[email protected]> * test Signed-off-by: William Moreno <[email protected]> * build: Deploy to DO Signed-off-by: William Moreno <[email protected]> * build: Deploy to Heroku Signed-off-by: William Moreno <[email protected]> * build: Deploy to DO Signed-off-by: William Moreno <[email protected]> * build: Deploy to Heroku Signed-off-by: William Moreno <[email protected]> * fix: Heroku postgresql requieres ssl Signed-off-by: William Moreno <[email protected]> * fix: Heroku postgresql requieres ssl Signed-off-by: William Moreno <[email protected]> * fix: Heroku postgresql requieres ssl Signed-off-by: William Moreno <[email protected]> * build: Heroku likes psycopg Signed-off-by: William Moreno <[email protected]> * Update README.md * build: Minimal nginx configuration Signed-off-by: William Moreno <[email protected]> * Update readme Signed-off-by: William Moreno <[email protected]> * fix: Corrige permisos instructor Signed-off-by: William Moreno Reyes <[email protected]> * fix: Corrige lista de cursos del instructor Fixes: #7 Signed-off-by: William Moreno <[email protected]> * test: Agrega pruebas Signed-off-by: William Moreno Reyes <[email protected]> * Agrega metodo para eliminar curso. Signed-off-by: William Moreno <[email protected]> * fixup Signed-off-by: William Moreno <[email protected]> * build: Actualiza configuración de gitpod Signed-off-by: William Moreno <[email protected]> * style: Correcciones de estilo Signed-off-by: William Moreno <[email protected]> * fix: Typo Signed-off-by: William Moreno <[email protected]> * refactor: Ejecuta un query menos Signed-off-by: William Moreno <[email protected]> * WIP Signed-off-by: William Moreno <[email protected]> * style: pass mypy Signed-off-by: William Moreno <[email protected]> * style: Sonarcube Signed-off-by: William Moreno <[email protected]> * feat: Corrige direcciones de base de datos Signed-off-by: William Moreno <[email protected]> * Update README.md * build: Minimal nginx configuration Signed-off-by: William Moreno <[email protected]> * Update readme Signed-off-by: William Moreno <[email protected]> * fix: Corrige permisos instructor Signed-off-by: William Moreno Reyes <[email protected]> * fix: Corrige lista de cursos del instructor Fixes: #7 Signed-off-by: William Moreno <[email protected]> * test: Agrega pruebas Signed-off-by: William Moreno Reyes <[email protected]> * Agrega metodo para eliminar curso. Signed-off-by: William Moreno <[email protected]> * fixup Signed-off-by: William Moreno <[email protected]> * build: Actualiza configuración de gitpod Signed-off-by: William Moreno <[email protected]> * style: Correcciones de estilo Signed-off-by: William Moreno <[email protected]> * fix: Typo Signed-off-by: William Moreno <[email protected]> * refactor: Ejecuta un query menos Signed-off-by: William Moreno <[email protected]> * WIP Signed-off-by: William Moreno <[email protected]> * style: pass mypy Signed-off-by: William Moreno <[email protected]> * build: Heroku likes psycopg Signed-off-by: William Moreno <[email protected]> * build: PG8000 por defecto Signed-off-by: William Moreno <[email protected]> * build: Test python3.11 Signed-off-by: William Moreno <[email protected]> * Revert "build: Test python3.11" This reverts commit b804e0d. * Update README.md * test: agrega test Signed-off-by: William Moreno Reyes <[email protected]> * test: agrega test Signed-off-by: William Moreno Reyes <[email protected]> * test: agrega test Signed-off-by: William Moreno Reyes <[email protected]> * test: Mejora covertura Signed-off-by: William Moreno <[email protected]> * style: Correciones de estilo Signed-off-by: William Moreno <[email protected]> * test: Mejor covertura Signed-off-by: William Moreno <[email protected]> * test: Mejor covertura Signed-off-by: William Moreno <[email protected]> * test: mejor cobertura Signed-off-by: William Moreno <[email protected]> * Update README.md * Update README.md * Update README.md * test: Crear usuario Signed-off-by: William Moreno <[email protected]> * test: Fix test Signed-off-by: William Moreno <[email protected]> * test: Fix test Signed-off-by: William Moreno <[email protected]> * test: Agrega mas test unitarios Signed-off-by: William Moreno <[email protected]> * feat: Crear curso demo Signed-off-by: William Moreno <[email protected]> * test: Update test Signed-off-by: William Moreno <[email protected]> * feat: Arregla relaciones entre tablas Signed-off-by: William Moreno <[email protected]> * test: Agrega test unitarios Signed-off-by: William Moreno <[email protected]> * Update README.md * test: Agrega pruebas unitarias Signed-off-by: William Moreno <[email protected]> * fix: Eliminar seccion Signed-off-by: William Moreno <[email protected]> * test: Agrega pruebas unitarias Signed-off-by: William Moreno <[email protected]> * feat: Seccion publica Signed-off-by: William Moreno <[email protected]> * test: Actualiza test Signed-off-by: William Moreno <[email protected]> * test: Actualiza test Signed-off-by: William Moreno <[email protected]> * style: CSS fixes Signed-off-by: William Moreno <[email protected]> * style: Fixes Signed-off-by: William Moreno <[email protected]> * style: CCS fixes Signed-off-by: William Moreno <[email protected]> * fix: Log message Signed-off-by: William Moreno <[email protected]> * feat: Asigna indice a nueva seccion Signed-off-by: William Moreno <[email protected]> * feat: Agrega metodos para modificar indice seccion Signed-off-by: William Moreno <[email protected]> * style: Fixes Signed-off-by: William Moreno <[email protected]> * WIP Signed-off-by: William Moreno <[email protected]> * WIP Signed-off-by: William Moreno <[email protected]> * WIP Signed-off-by: William Moreno <[email protected]> * test: Update test Signed-off-by: William Moreno <[email protected]> * test: Update test Signed-off-by: William Moreno <[email protected]> * Revert "test: Update test" This reverts commit 8ed7065. * fix: Reorganiza indice de seccion Signed-off-by: William Moreno Reyes <[email protected]> * fix: Reordenar indice Signed-off-by: William Moreno Reyes <[email protected]> * fix: Pagina inicio Signed-off-by: William Moreno Reyes <[email protected]> * fix: Reorganizar indice Signed-off-by: William Moreno Reyes <[email protected]> * Fix typo Signed-off-by: William Moreno Reyes <[email protected]> * feat: Agrega recurso en youtube Signed-off-by: William Moreno <[email protected]> * update Signed-off-by: William Moreno Reyes <[email protected]> * WIP Signed-off-by: William Moreno Reyes <[email protected]> * WIP Signed-off-by: William Moreno Reyes <[email protected]> * WIP Signed-off-by: William Moreno Reyes <[email protected]> * WIP Signed-off-by: William Moreno Reyes <[email protected]> * refactor: Reorganice project Signed-off-by: William Moreno <[email protected]> * build: Development server Signed-off-by: William Moreno Reyes <[email protected]> * WIP Signed-off-by: William Moreno Reyes <[email protected]> * WIP Signed-off-by: William Moreno Reyes <[email protected]> * Fix node_modules Signed-off-by: William Moremo <[email protected]> * Actualiza mensajes del log Signed-off-by: William José Moreno Reyes <[email protected]> * Python 3.11 * Python 3.11 Signed-off-by: William José Moreno Reyes <[email protected]> * Clean pylint conf References: - pylint-dev/pylint#4942 Signed-off-by: William José Moreno Reyes <[email protected]> * 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 <[email protected]> * Fix test Signed-off-by: William José Moreno Reyes <[email protected]> * Disable pylint Signed-off-by: William José Moreno Reyes <[email protected]> * Disable pylint Signed-off-by: William José Moreno Reyes <[email protected]> * lint Signed-off-by: William José Moreno Reyes <[email protected]> * 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 <[email protected]> * UBI 9 Signed-off-by: William José Moreno Reyes <[email protected]> * UBI 9 Signed-off-by: William José Moreno Reyes <[email protected]> * UBI 9 Signed-off-by: William José Moreno Reyes <[email protected]> * UBI 9 Signed-off-by: William José Moreno Reyes <[email protected]> * Docker Signed-off-by: William José Moreno Reyes <[email protected]> * Docker Signed-off-by: William José Moreno Reyes <[email protected]> * Docker Signed-off-by: William José Moreno Reyes <[email protected]> * Docker Signed-off-by: William José Moreno Reyes <[email protected]> * Docker Signed-off-by: William José Moreno Reyes <[email protected]> * Docker Signed-off-by: William José Moreno Reyes <[email protected]> * Update README file Signed-off-by: William José Moreno Reyes <[email protected]> * Update Docker file Signed-off-by: William José Moreno Reyes <[email protected]> * Enable type chequing Signed-off-by: William José Moreno Reyes <[email protected]> * All test passed Signed-off-by: William José Moreno Reyes <[email protected]> * Fix mypy not interactive Signed-off-by: William José Moreno Reyes <[email protected]> * Fix bandit Signed-off-by: William José Moreno Reyes <[email protected]> * Ignore bandit errors Signed-off-by: William José Moreno Reyes <[email protected]> * Check python 3.7 Signed-off-by: William José Moreno Reyes <[email protected]> Signed-off-by: William Moreno <[email protected]> Signed-off-by: William Moreno Reyes <[email protected]> Signed-off-by: William Moreno Reyes <[email protected]> Signed-off-by: William Moremo <[email protected]> Signed-off-by: William José Moreno Reyes <[email protected]> Co-authored-by: William Moremo <[email protected]>
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.