summaryrefslogtreecommitdiff
path: root/.pre-commit-config.yaml
diff options
context:
space:
mode:
authorPierre Sassoulas <pierre.sassoulas@gmail.com>2023-03-10 21:38:06 +0100
committerPierre Sassoulas <pierre.sassoulas@gmail.com>2023-03-10 23:12:37 +0100
commit5c51bc5259553606f78230a5c0ca4ea3ccbb75c6 (patch)
treeb2fac62450e2a17781369560dc828de7728a2696 /.pre-commit-config.yaml
parent0d26e3cda507bb1a5bca21a0a6e3b86a8ffe92b6 (diff)
downloadpylint-git-5c51bc5259553606f78230a5c0ca4ea3ccbb75c6.tar.gz
[pre-commit] Configure ruff to sort import
I'm not sure if ruff handle first party / third parties, but it's good enough for the doc
Diffstat (limited to '.pre-commit-config.yaml')
-rw-r--r--.pre-commit-config.yaml4
1 files changed, 2 insertions, 2 deletions
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index b4f4dc767..a881060b1 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -25,7 +25,7 @@ repos:
rev: "v0.0.254"
hooks:
- id: ruff
- name: line-length-doc
+ name: ruff-doc
files: doc/data/messages
args: ["--config", "doc/data/ruff.toml"]
- repo: https://github.com/Pierre-Sassoulas/copyright_notice_precommit
@@ -45,7 +45,7 @@ repos:
rev: 5.12.0
hooks:
- id: isort
- exclude: doc/data/messages/(r/reimported|w/wrong-import-order|u/ungrouped-imports|m/misplaced-future|m/multiple-imports)/bad.py
+ exclude: doc/data/messages/
- repo: https://github.com/psf/black
rev: 23.1.0
hooks: