nbdev formating and linting

This page summarizes the projects mentioned and recommended in the original post on dev.to

Our great sponsors
  • Sonar - Write Clean Python Code. Always.
  • InfluxDB - Access the most powerful time series database as a service
  • SaaSHub - Software Alternatives and Reviews
  • black

    The uncompromising Python code formatter

    black , The uncompromising code formatter

  • nbdev

    Create delightful software with Jupyter Notebooks

    repos: - repo: https://github.com/fastai/nbdev rev: 2.2.10 hooks: - id: nbdev_clean - id: nbdev_export

  • Sonar

    Write Clean Python Code. Always.. Sonar helps you commit clean code every time. With over 225 unique rules to find Python bugs, code smells & vulnerabilities, Sonar finds the issues while you focus on the work.

  • nbQA

    Run isort, pyupgrade, mypy, pylint, flake8, and more on Jupyter Notebooks

    - repo: https://github.com/nbQA-dev/nbQA rev: 1.5.3 hooks: - id: nbqa-mypy args: ["--ignore-missing-imports", "--check-untyped-defs"] # pass args to mypy exclude: "directory_to_exclude/.*" # eclude any directory/files from formatting additional_dependencies: ["mypy", "types-toml", "types-requests"] # install additional dependencies - id: nbqa-black exclude: "directory_to_exclude/.*" # eclude any directory/files from formatting - id: nbqa-isort exclude: "directory_to_exclude/.*" # eclude any directory/files from formatting

  • mypy

    Optional static typing for Python

    mypy , Optional static typing for Python

  • Poetry

    Python packaging and dependency management made easy

    Poetry

  • isort

    A Python utility / library to sort imports.

    isort , A Python utility / library to sort imports.

  • pre-commit

    A framework for managing and maintaining multi-language pre-commit hooks.

    pre-commit , A framework for managing and maintaining multi-language pre-commit hooks.

  • InfluxDB

    Access the most powerful time series database as a service. Ingest, store, & analyze all types of time series data in a fully-managed, purpose-built database. Keep data forever with low-cost storage and superior data compression.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts