Skip to content

Commit

Permalink
Fix pre-commit config
Browse files Browse the repository at this point in the history
  • Loading branch information
blakeNaccarato committed Aug 14, 2023
1 parent 6a163ab commit 922d374
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -81,9 +81,12 @@ repos:
# )$
- id: "fawltydeps"
name: "fawltydeps"
verbose: true
pass_filenames: false
language: "system"
entry: "pwsh -Command fawltydeps"
files: |
.*
# * ------------------------------------------------------------------------------ * #
# * Changes below should persist in significant template updates.
Expand All @@ -104,6 +107,7 @@ repos:
rev: "23.7.0"
hooks:
- id: "black"
- id: "black-jupyter"
- repo: "https://github.com/charliermarsh/ruff-pre-commit"
rev: "v0.0.282"
hooks:
Expand Down Expand Up @@ -144,7 +148,5 @@ repos:
- repo: "https://github.com/nbQA-dev/nbQA"
rev: "1.7.0"
hooks:
- id: "nbqa-black"
additional_dependencies: ["black==23.7.0"]
- id: "nbqa-ruff"
additional_dependencies: ["ruff==0.0.282"]
1 change: 0 additions & 1 deletion .tools/requirements/requirements_both.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ flit==3.9.0
pyright==1.1.321

# Pre-commit common requirements
black==23.7.0
ruff==0.0.282

# Testing
Expand Down
1 change: 1 addition & 0 deletions .tools/requirements/requirements_dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ rich==13.5.2
ipython==8.14.0

# Format
black[jupyter]==23.7.0
sourcery-cli==1.6.0

# Profiling
Expand Down

0 comments on commit 922d374

Please sign in to comment.