at-gmbh / at-python-template

The official Python Project Template of Alexander Thamm GmbH
Apache License 2.0
48 stars 19 forks source link

Add isort to pre-commit hooks #71

Open klamann opened 1 year ago

klamann commented 1 year ago

We should use a consistent style for import statements. Proposed config:

repos:
  - repo: https://github.com/pycqa/isort
    rev: 5.10.1
    hooks:
      - id: isort
        args: ['--py', '38', '--line-length', '100', '--multi-line', '3']
johnnylarner commented 1 year ago

Hey, I'd take this for the hackathon!