Skip to content

Latest commit

 

History

History
14 lines (12 loc) · 444 Bytes

source_version_control.md

File metadata and controls

14 lines (12 loc) · 444 Bytes

Version control integration

Use pre-commit. Once you have it installed, add this to the .pre-commit-config.yaml in your repository:

repos:
  - repo: https://github.com/psf/black
    rev: stable # Replace by any tag/version: https://github.com/psf/black/tags
    hooks:
      - id: black
        language_version: python3 # Should be a command that runs python3.6+