Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

554
Views
Error de pelusa en BitBucket: TypeError: el objeto 'LinterStats' no es subscriptible

Estoy usando canalizaciones de BitBucket para realizar comprobaciones de pelusa con pylint. Estaba funcionando bien hace unas horas. He estado enfrentando el siguiente error a pesar de que el puntaje final supera con creces los criterios mínimos (8.0):

Su código ha sido calificado con 9.43/10

 Traceback (most recent call last): File "/usr/local/bin/pylint-fail-under", line 8, in <module> sys.exit(main()) File "/usr/local/lib/python3.6/dist-packages/pylint_fail_under/__main__.py", line 42, in main score = results.linter.stats["global_note"] TypeError: 'LinterStats' object is not subscriptable
over 4 years ago · Santiago Trujillo
2 answers
Answer question

0

No use pylint-fail-under , pylint tiene una opción de falla desde pylint 2.5.0 , y su mantenimiento no actualizará este paquete para pylint más nuevo.

Cambie pylint-fail-under --fail_under 8.0 a pylint --fail-under=8.0 y elimine la dependencia a pylint-fail-under .

Consulte también https://github.com/PyCQA/pylint/issues/5405 y: https://github.com/TNThieding/pylint-fail-under/issues/8#issuecomment-626369567

over 4 years ago · Santiago Trujillo Report

0

Otra opción es bajar de categoría, si eso es aceptable:

 pip install pylint==2.11.1
over 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!