Skip to content
This repository has been archived by the owner on Nov 6, 2023. It is now read-only.

Commit

Permalink
Add .pre-commit-config.yaml (#23)
Browse files Browse the repository at this point in the history
Co-authored-by: Mateusz Kulas <[email protected]>
  • Loading branch information
m-qlas and Mateusz Kulas authored Jul 19, 2023
1 parent 91504ba commit 536aab4
Show file tree
Hide file tree
Showing 3 changed files with 125 additions and 2 deletions.
12 changes: 12 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
default_language_version:
python: python3.9
repos:
- repo: https://github.com/PyCQA/isort
rev: 5.12.0
hooks:
- id: isort
args: ["--profile", "black"]
- repo: https://github.com/ambv/black
rev: 23.1.0
hooks:
- id: black
112 changes: 111 additions & 1 deletion poetry.lock

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

3 changes: 2 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,11 @@ pyarrow = "^10.0.1"
lark-parser = "^0.12.0"
deltalake = "^0.9.0"

[tool.poetry.dev-dependencies]
[tool.poetry.group.dev.dependencies]
black = "^23.1.0"
mypy = "^0.910"
pytest = "^6.2.5"
pre-commit = "^3.2.2"

[tool.mypy]
ignore_missing_imports = true
Expand Down

0 comments on commit 536aab4

Please sign in to comment.