Skip to content

Commit

Permalink
Fixed linter issues (#27454)
Browse files Browse the repository at this point in the history
  • Loading branch information
he11owthere authored Dec 9, 2023
1 parent 9898297 commit 329d16c
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,12 @@ repos:
language_version: python3
args:
- "--preview"
exclude: >
(?x)
(
ivy/functional/frontends/(?!.*(?:config\.py|__init__\.py)$).* |
ivy_tests/test_ivy/(?!.*(?:__init__\.py|conftest\.py|helpers/.*|test_frontends/config/.*$)).*
)
- repo: https://github.com/PyCQA/autoflake
rev: v2.2.1
hooks:
Expand All @@ -32,7 +38,7 @@ repos:
- id: pydocstyle
# Exclude everything in frontends except __init__.py, and func_wrapper.py
exclude: 'ivy/functional/(frontends|backends)/(?!.*/func_wrapper\.py$).*(?!__init__\.py$)'
# - repo: https://github.com/unifyai/lint-hook
# rev: 2ea80bc854c7f74b09620151028579083ff92ec2
# hooks:
# - id: ivy-lint
- repo: https://github.com/unifyai/lint-hook
rev: a72ffb17562d919311653d7f593cb537d1245c19
hooks:
- id: ivy-lint

0 comments on commit 329d16c

Please sign in to comment.