Skip to content

Commit

Permalink
Add initial pre-commit config file
Browse files Browse the repository at this point in the history
  • Loading branch information
dalthviz committed Sep 7, 2024
1 parent 68abecc commit ba4e38f
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
- repo: https://github.com/astral-sh/ruff-pre-commit
# Ruff version.
rev: v0.6.4
hooks:
# Run the linter.
- id: ruff
args: [ --fix ]
# Run the formatter.
- id: ruff-format
1 change: 1 addition & 0 deletions requirements/environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@ dependencies:
- pytest-cov
- pytest-qt
- qtpy
- pre-commit

0 comments on commit ba4e38f

Please sign in to comment.