Use with pre commit

Once you have pre-commit installed, adding pre-commit plugins to your project is done with the .pre-commit-config.yaml configuration file.

Add a file called .pre-commit-config.yaml to the root of your project. The pre-commit config file describes what repositories and hooks are installed.

  - repo:
    rev: stable
      - id: unimport
        args: [--remove, --include-star-import, --ignore-init, --gitignore]

Last update: September 23, 2022
Created: September 23, 2022