Commit 83947cdd authored by Dom Sekotill's avatar Dom Sekotill
Browse files

Update and fix unimport pre-commit hook

parent 3e9ffe1e
Loading
Loading
Loading
Loading
+2 −6
Original line number Diff line number Diff line
@@ -54,14 +54,10 @@ repos:
  - id: python-use-type-annotations

- repo: https://github.com/hakancelikdev/unimport
  rev: 0.9.6
  rev: 0.10.0
  hooks:
  - id: unimport
    args:
    - --remove
    - --include="\\.pyi?$"
    - --ignore-init
    - --include-star-import
    args: [--remove]
    types: []
    types_or: [python, pyi]
    additional_dependencies: [libcst >=0.4.0]
+1 −0
Original line number Diff line number Diff line
@@ -41,6 +41,7 @@ force_single_line = true


[tool.unimport]
include_star = true
ignore_init = true