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 be12800
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
repos:
- 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 be12800

Please sign in to comment.