Skip to content

Commit

Permalink
Merge remote-tracking branch 'refs/remotes/origin/chore/refactor-wes-…
Browse files Browse the repository at this point in the history
…models' into chore/refactor-wes-models
  • Loading branch information
salihuDickson committed Sep 12, 2024
2 parents 30e519b + c6aae7c commit 8199d82
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
4 changes: 4 additions & 0 deletions lefthook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,7 @@ pre-push:
files: git diff --name-only --diff-filter=d $(git merge-base origin/main HEAD)..HEAD
run: poetry run ruff check {files}
glob: '*.py'
mypy:
files: git diff --name-only --diff-filter=d $(git merge-base origin/main HEAD)..HEAD
run: poetry run mypy {files}
glob: '*.py'
7 changes: 4 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,10 @@ mypy = "^1.10.1"

[tool.mypy]
strict_optional = false
exclude = [
"crategen/validators.py"
]

[[tool.mypy.overrides]]
module = ['crategen.validators']
ignore_errors = true

[tool.poetry.group.dev.dependencies]
ruff = "^0.6.3"
Expand Down

0 comments on commit 8199d82

Please sign in to comment.