Skip to content

Commit

Permalink
Merge pull request #12 from climatepolicyradar/pre-commit-tweaks
Browse files Browse the repository at this point in the history
Pre commit tweaks
  • Loading branch information
harrisonpim authored Nov 21, 2023
2 parents dd5a085 + d1db6a6 commit 9b2e07f
Show file tree
Hide file tree
Showing 6 changed files with 973 additions and 906 deletions.
13 changes: 6 additions & 7 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,14 @@ repos:
- id: check-json
- id: detect-aws-credentials
args: [ --allow-missing-credentials ]
- repo: https://github.com/ambv/black
rev: 23.1.0
hooks:
- id: black-jupyter
language_version: python3
- repo: https://github.com/charliermarsh/ruff-pre-commit
rev: 'v0.0.246'
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.1.6
hooks:
- id: ruff
types_or: [ python, jupyter ]
args: [ --fix ]
- id: ruff-format
types_or: [ python, jupyter ]
- repo: local
hooks:
- id: pyright
Expand Down
Loading

0 comments on commit 9b2e07f

Please sign in to comment.