Skip to content

Commit

Permalink
👷 Update pre-commit config, add poetry
Browse files Browse the repository at this point in the history
  • Loading branch information
rafalkrupinski committed Jul 1, 2024
1 parent 5758d39 commit 7226cbd
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,19 @@ repos:
- id: check-added-large-files
- id: check-toml
- id: debug-statements
exclude: src/lapidary/render/templates
- id: check-yaml
exclude: src/lapidary/render/templates
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.4.10
hooks:
- id: ruff
name: ruff check
name: ruff-check
pass_filenames: false
- id: ruff-format
pass_filenames: false
- repo: https://github.com/python-poetry/poetry
rev: 1.8.3
hooks:
- id: poetry-check
- id: poetry-lock
args:
- --no-update
2 changes: 2 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,9 @@ quote-style = "single"
[tool.mypy]
mypy_path = "src"
namespace_packages = true
ignore_missing_imports = true
python_version = "3.12"
packages = ['lapidary.render']
exclude = [
"src/lapidary/render/templates/",
"tests/e2e",
Expand Down

0 comments on commit 7226cbd

Please sign in to comment.