Skip to content

Improved pre-commit config: Jupyter Notebook linting, black incompatibility #434

@atong01

Description

@atong01

Thanks for the excellent template. I've been working with notebooks for exploratory analysis. A couple things that could be improved with the current .pre-commit-config.yaml:

  - repo: https://github.com/nbQA-dev/nbQA
    rev: 1.4.0
    hooks:
      - id: nbqa-black
        args: ["--line-length=99"]
      - id: nbqa-isort
        args: ["--profile=black"]
      - id: nbqa-flake8
        args: ["--extend-ignore=E402,E501,F401,F841", "--exclude=logs/*,data/*"]

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions