Verified Commit 4f7ced1c authored by Dom Sekotill's avatar Dom Sekotill
Browse files

Make some quality checking improvements

parent 9eba38f5
Loading
Loading
Loading
Loading
+5 −2
Original line number Diff line number Diff line
@@ -4,6 +4,7 @@ repos:
- repo: meta
  hooks:
  - id: check-hooks-apply
  - id: check-useless-excludes

- repo: https://github.com/pre-commit/pre-commit-hooks
  rev: v4.6.0
@@ -17,15 +18,16 @@ repos:
  - id: debug-statements
  - id: destroyed-symlinks
  - id: end-of-file-fixer
    stages: [commit]
    stages: [commit, manual]
  - id: fix-byte-order-marker
  - id: fix-encoding-pragma
    args: [--remove]
  - id: mixed-line-ending
    args: [--fix=lf]
    stages: [commit, manual]
  - id: trailing-whitespace
    exclude_types: [markdown, plain-text]
    stages: [commit]
    stages: [commit, manual]

- repo: https://github.com/jorisroovers/gitlint
  rev: v0.19.1
@@ -39,6 +41,7 @@ repos:
  - id: check-for-squash
  - id: copyright-notice
    args: [--min-size=1]
    stages: [commit, manual]
  - id: protect-first-parent

- repo: https://github.com/pre-commit/pygrep-hooks
+2 −0
Original line number Diff line number Diff line
@@ -39,6 +39,8 @@ name = "wpa_supplicant"

[tool.isort]
force_single_line = true
line_length = 92


[tool.unimport]
ignore-init = true