Skip to content

Commit

Permalink
upload configuration files
Browse files Browse the repository at this point in the history
  • Loading branch information
alejandromartinezgotor committed May 9, 2024
1 parent 7ddacbf commit 3724313
Show file tree
Hide file tree
Showing 4 changed files with 140 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -135,4 +135,4 @@ smart_contracts/
.ruff_cache/
cairo_model/

.build/
.build/
42 changes: 42 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@

repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v2.3.0
hooks:
- id: check-yaml
- id: end-of-file-fixer
exclude: docs/*
- id: trailing-whitespace
exclude: docs/*
- id: check-added-large-files
- id: check-merge-conflict
- id: no-commit-to-branch
args: [-b main]
- repo: https://github.com/asottile/pyupgrade
rev: v3.4.0
hooks:
- id: pyupgrade
files: "py$"
- repo: local
hooks:
- id: black
name: black
entry: black
language: system
files: "py$"
args: ["--line-length=145"]
- id: isort
name: isort
entry: isort
language: system
files: "py$"
- id: ruff
name: ruff
entry: ruff
language: system
files: "py$"
- id: mypy
name: mypy
entry: mypy
language: system
files: "py$"
96 changes: 95 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 @@ -13,6 +13,7 @@ pydantic = "^2"
rich = "^13"
scikit-learn = "^1.4.2"
scikit-optimize = "^0.10.1"
pandas = "^2.2.2"


[tool.poetry.group.dev.dependencies]
Expand All @@ -25,4 +26,4 @@ ipykernel = "^6.29.0"

[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
build-backend = "poetry.core.masonry.api"

0 comments on commit 3724313

Please sign in to comment.