Skip to content

Commit

Permalink
feat: add ruff to pre-commit-config
Browse files Browse the repository at this point in the history
  • Loading branch information
mike325 committed Dec 5, 2023
1 parent 9007d56 commit 1aa254a
Showing 1 changed file with 13 additions and 7 deletions.
20 changes: 13 additions & 7 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -66,14 +66,20 @@ repos:
# - id: check-jsonschema
# - id: check-azure-pipelines
# - id: check-travis
- repo: https://github.com/PyCQA/flake8
rev: '4.0.1' # Use the sha / tag you want to point at
- repo: https://github.com/astral-sh/ruff-pre-commit
# Ruff version.
rev: v0.1.7
hooks:
- id: flake8
# args: [
# '--max-line-length=120',
# '--ignore=E203,E226,E231,E261,E262,E265,E302,W391'
# ]
- id: ruff
# - id: ruff-format
# - repo: https://github.com/PyCQA/flake8
# rev: '4.0.1' # Use the sha / tag you want to point at
# hooks:
# - id: flake8
# # args: [
# # '--max-line-length=120',
# # '--ignore=E203,E226,E231,E261,E262,E265,E302,W391'
# # ]
- repo: https://github.com/pre-commit/mirrors-mypy
rev: 'v0.950' # Use the sha / tag you want to point at
hooks:
Expand Down

0 comments on commit 1aa254a

Please sign in to comment.