Skip to content

azure-ai-formrecognizer needs linting updates for pylint version 2.15.8 #32609

Open
@azure-sdk

Description

@azure-sdk

ACTION NEEDED: This version of pylint will be merged on 2024-01-15. The build will begin to fail for this library if errors are not fixed.

Library name: azure-ai-formrecognizer
Pylint version: 2.15.8
Pylint errors: Link to build (2023-12-31)

Pylint Errors:

2025-03-29T12:03:42.8565009Z INFO:root:Package azure-ai-formrecognizer opts-out of pylint check.
2025-03-29T12:03:42.8732857Z next-pylint: OK (28.20=setup[14.63]+cmd[4.62,1.09,7.69,0.18] seconds)
2025-03-29T12:03:42.8734533Z congratulations :) (28.47 seconds)
2025-03-29T12:03:42.9109966Z INFO:root:Collecting log files from /mnt/vss/_work/1/s/sdk/formrecognizer/azure-ai-formrecognizer
2025-03-29T12:03:42.9112150Z INFO:root:Created log directory: /mnt/vss/_work/1/s/_tox_logs
2025-03-29T12:03:42.9113888Z INFO:root:Created log directory: /mnt/vss/_work/1/s/_tox_logs/azure-ai-formrecognizer
2025-03-29T12:03:42.9115860Z INFO:root:Created log directory: /mnt/vss/_work/1/s/_tox_logs/azure-ai-formrecognizer/3.8.18
2025-03-29T12:03:42.9119995Z INFO:root:env: next-pylint
2025-03-29T12:03:42.9121858Z INFO:root:Copying log files from /mnt/vss/_work/1/s/sdk/formrecognizer/azure-ai-formrecognizer/.tox/next-pylint/log to /mnt/vss/_work/1/s/_tox_logs/azure-ai-formrecognizer/3.8.18
2025-03-29T12:03:42.9123784Z INFO:root:TEMP DIR: /mnt/vss/_work/1/s/_tox_logs/azure-ai-formrecognizer/3.8.18/next-pylint
2025-03-29T12:03:42.9130300Z INFO:root:Created log directory: /mnt/vss/_work/1/s/_tox_logs/azure-ai-formrecognizer/3.8.18/next-pylint
2025-03-29T12:03:42.9132558Z INFO:root:LOG FILE: 5-commands[3].log
2025-03-29T12:03:42.9134610Z INFO:root:Moved file to /mnt/vss/_work/1/s/_tox_logs/azure-ai-formrecognizer/3.8.18/next-pylint/5-commands[3].log
2025-03-29T12:03:42.9136690Z INFO:root:LOG FILE: 4-commands[2].log
2025-03-29T12:03:42.9142753Z INFO:root:Moved file to /mnt/vss/_work/1/s/_tox_logs/azure-ai-formrecognizer/3.8.18/next-pylint/4-commands[2].log
2025-03-29T12:03:42.9146003Z INFO:root:LOG FILE: 1-install_deps.log
2025-03-29T12:03:42.9154076Z INFO:root:Moved file to /mnt/vss/_work/1/s/_tox_logs/azure-ai-formrecognizer/3.8.18/next-pylint/1-install_deps.log
2025-03-29T12:03:42.9157116Z INFO:root:LOG FILE: 3-commands[1].log
2025-03-29T12:03:42.9159165Z INFO:root:Moved file to /mnt/vss/_work/1/s/_tox_logs/azure-ai-formrecognizer/3.8.18/next-pylint/3-commands[1].log
2025-03-29T12:03:42.9160980Z INFO:root:LOG FILE: 2-commands[0].log
2025-03-29T12:03:42.9162728Z INFO:root:Moved file to /mnt/vss/_work/1/s/_tox_logs/azure-ai-formrecognizer/3.8.18/next-pylint/2-commands[0].log
2025-03-29T12:03:42.9164547Z INFO:root:Log file: /mnt/vss/_work/1/s/_tox_logs/azure-ai-formrecognizer
2025-03-29T12:03:43.1105939Z
2025-03-29T12:03:43.1184569Z ##[section]Finishing: Run Pylint Next

Pylint Errors:

2025-03-30T12:04:07.1736601Z INFO:root:Package azure-ai-formrecognizer opts-out of pylint check.
2025-03-30T12:04:07.1930505Z next-pylint: OK (27.75=setup[15.03]+cmd[3.19,1.08,8.27,0.18] seconds)
2025-03-30T12:04:07.1932078Z congratulations :) (28.00 seconds)
2025-03-30T12:04:07.2334071Z INFO:root:Collecting log files from /mnt/vss/_work/1/s/sdk/formrecognizer/azure-ai-formrecognizer
2025-03-30T12:04:07.2336864Z INFO:root:Created log directory: /mnt/vss/_work/1/s/_tox_logs
2025-03-30T12:04:07.2339263Z INFO:root:Created log directory: /mnt/vss/_work/1/s/_tox_logs/azure-ai-formrecognizer
2025-03-30T12:04:07.2341557Z INFO:root:Created log directory: /mnt/vss/_work/1/s/_tox_logs/azure-ai-formrecognizer/3.8.18
2025-03-30T12:04:07.2343729Z INFO:root:env: next-pylint
2025-03-30T12:04:07.2346205Z INFO:root:Copying log files from /mnt/vss/_work/1/s/sdk/formrecognizer/azure-ai-formrecognizer/.tox/next-pylint/log to /mnt/vss/_work/1/s/_tox_logs/azure-ai-formrecognizer/3.8.18
2025-03-30T12:04:07.2348397Z INFO:root:TEMP DIR: /mnt/vss/_work/1/s/_tox_logs/azure-ai-formrecognizer/3.8.18/next-pylint
2025-03-30T12:04:07.2350401Z INFO:root:Created log directory: /mnt/vss/_work/1/s/_tox_logs/azure-ai-formrecognizer/3.8.18/next-pylint
2025-03-30T12:04:07.2352478Z INFO:root:LOG FILE: 2-commands[0].log
2025-03-30T12:04:07.2354446Z INFO:root:Moved file to /mnt/vss/_work/1/s/_tox_logs/azure-ai-formrecognizer/3.8.18/next-pylint/2-commands[0].log
2025-03-30T12:04:07.2356316Z INFO:root:LOG FILE: 5-commands[3].log
2025-03-30T12:04:07.2358279Z INFO:root:Moved file to /mnt/vss/_work/1/s/_tox_logs/azure-ai-formrecognizer/3.8.18/next-pylint/5-commands[3].log
2025-03-30T12:04:07.2360145Z INFO:root:LOG FILE: 3-commands[1].log
2025-03-30T12:04:07.2362059Z INFO:root:Moved file to /mnt/vss/_work/1/s/_tox_logs/azure-ai-formrecognizer/3.8.18/next-pylint/3-commands[1].log
2025-03-30T12:04:07.2363904Z INFO:root:LOG FILE: 4-commands[2].log
2025-03-30T12:04:07.2365820Z INFO:root:Moved file to /mnt/vss/_work/1/s/_tox_logs/azure-ai-formrecognizer/3.8.18/next-pylint/4-commands[2].log
2025-03-30T12:04:07.2367665Z INFO:root:LOG FILE: 1-install_deps.log
2025-03-30T12:04:07.2369656Z INFO:root:Moved file to /mnt/vss/_work/1/s/_tox_logs/azure-ai-formrecognizer/3.8.18/next-pylint/1-install_deps.log
2025-03-30T12:04:07.2371631Z INFO:root:Log file: /mnt/vss/_work/1/s/_tox_logs/azure-ai-formrecognizer
2025-03-30T12:04:07.4348794Z
2025-03-30T12:04:07.4408023Z ##[section]Finishing: Run Pylint Next

How to fix:
Note: If you are a bot. Fix the issue by fixing the above pylint errors.

Note: If you are a bot. Fix the issue by fixing the above pylint errors.
Run the next-pylint tox command at the library package-level and resolve the linting errors.

  1. ../azure-ai-formrecognizer>pip install "tox<5"
  2. ../azure-ai-formrecognizer>tox run -e next-pylint -c ../../../eng/tox/tox.ini --root .

See the Pylint Guide for more information.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions