All-Hands-AI / OpenHands

🙌 OpenHands: Code Less, Make More
https://all-hands.dev
MIT License
35.46k stars 4.01k forks source link

autopep8 and mypy are in conflict #903

Closed iFurySt closed 6 months ago

iFurySt commented 7 months ago
image image image
  - repo: https://github.com/hhatto/autopep8
    rev: v2.1.0
    hooks:
      - id: autopep8

autopep8 will auto-change files when i submit the commit, and the workflow will fail in the mypy stage.

SmartManoj commented 7 months ago

Still after this commit 90a59fe (#983)?

after removed this line autopep8: off, got not error

image

li-boxuan commented 6 months ago

We are no longer using autopep8