Configuring Pre-Commit Hooks to Automate Python Testing and Linting in vscode (Visual Studio Code)

Поделиться
HTML-код
  • Опубликовано: 18 ноя 2024

Комментарии • 3

  • @hashnoxt
    @hashnoxt Год назад

    your explaining is so much clear to me. keep it up

  • @johnsolly
    @johnsolly  Год назад +3

    There is an error in the video. Instead of passing in the .flake8 config file with config_file, you should do it this way:
    hooks:
    - id: flake8
    args: ["--config", ".flake8"]
    See the description for the correct config code.

  • @MadeInJack
    @MadeInJack Год назад

    Thanks a lot, very clear! :)