Skip to content

Commit

Permalink
add pre-commit
Browse files Browse the repository at this point in the history
  • Loading branch information
ribeirojose committed Feb 20, 2024
1 parent 0469072 commit d063816
Show file tree
Hide file tree
Showing 3 changed files with 176 additions and 1 deletion.
9 changes: 9 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
repos:
- repo: https://github.com/astral-sh/ruff-pre-commit
# Ruff version.
rev: v0.1.4
hooks:
# Run the linter.
- id: ruff
# Run the formatter.
- id: ruff-format
167 changes: 166 additions & 1 deletion poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ ruff = "^0.2.2"
pyright ="^1.1.296"
pytest ="^7.2.1"
ipython = "^8.21.0"
pre-commit = "^3.6.2"

[build-system]
requires = ["poetry-core"]
Expand Down

0 comments on commit d063816

Please sign in to comment.