Skip to content

Commit

Permalink
chore: disable darglint in pre-commit config
Browse files Browse the repository at this point in the history
Due to performance issues, darglint has been commented out in the pre-commit configuration.
It may be replaced by ruff in the future. See astral-sh/ruff#458 for more details.
  • Loading branch information
ericmjl committed Oct 8, 2023
1 parent 96122f4 commit c8fd19b
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ repos:
hooks:
- id: interrogate
args: [-c, pyproject.toml]
# Taking out darglint because it takes too long to run.
# It may be superseded by ruff: https://github.com/astral-sh/ruff/issues/458
# - repo: https://github.com/terrencepreilly/darglint
# rev: v1.8.1
# hooks:
Expand All @@ -29,7 +31,3 @@ repos:
hooks:
- id: ruff
args: [--fix]
ci:
skip:
# FIXME: darglint is timing out on pre-commit CI (cf. #1236, #1246)
- darglint

0 comments on commit c8fd19b

Please sign in to comment.