Skip to content

Commit

Permalink
Merge pull request #1881 from glensc/pre-commit
Browse files Browse the repository at this point in the history
Linter: Update pre-commit hooks versions, add prettier
  • Loading branch information
glensc authored Mar 30, 2024
2 parents dcb54fc + 222137f commit 5b0997d
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,18 +21,23 @@ repos:
- id: mixed-line-ending

- repo: https://github.com/pycqa/isort
rev: 5.13.1
rev: 5.13.2
hooks:
- id: isort
name: isort (Python)

- repo: https://github.com/pre-commit/mirrors-prettier
rev: v4.0.0-alpha.8
hooks:
- id: prettier

- repo: https://github.com/dannysepler/rm_unneeded_f_str
rev: v0.2.0
hooks:
- id: rm-unneeded-f-str

- repo: https://github.com/pycqa/flake8
rev: 6.1.0
rev: 7.0.0
hooks:
- id: flake8

Expand All @@ -42,7 +47,7 @@ repos:
- id: flynt

- repo: https://github.com/asottile/pyupgrade
rev: v3.15.0
rev: v3.15.2
hooks:
- id: pyupgrade
args:
Expand Down
2 changes: 2 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
/Pipfile.lock
/tests/mock_data/

0 comments on commit 5b0997d

Please sign in to comment.