diff --git a/poetry.lock b/poetry.lock index ee183d892..6025d9ada 100644 --- a/poetry.lock +++ b/poetry.lock @@ -1303,4 +1303,4 @@ yaml = ["pyyaml"] [metadata] lock-version = "2.0" python-versions = ">=3.8,<4" -content-hash = "e9d26ed55e4a95f1d45c4fc31d6168cd37137d565fc9e058f35ed09b14f22f26" +content-hash = "593f6c3cc1d8ad1eed80e0fd3b3ae3b622947faf1a39789eabf2a1685f551736" diff --git a/pyproject.toml b/pyproject.toml index 061329c55..abde1a545 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -39,7 +39,7 @@ yaml = ["PyYAML"] cli = ["cappa", "PyYAML"] [tool.poetry.group.dev.dependencies] -pytest = "*" +pytest = "<8.0.0" pytest-cov = "*" mypy = "*" build = "*" @@ -128,13 +128,15 @@ source = [ [tool.ruff] line-length = 119 show-fixes = true +target-version = "py38" +src = ["src"] + +[tool.ruff.lint] select = ["E", "F", "D"] ignore = ["E501"] -target-version = "py38" extend-select = ["I"] -src = ["src"] -[tool.ruff.per-file-ignores] +[tool.ruff.lint.per-file-ignores] "**/__init__.py" = ["F401", "D107"] "examples/**" = ["D"] "src/hera/events/models/**" = ["D"] @@ -143,10 +145,10 @@ src = ["src"] "tests/**" = ["D"] "scripts/graphlib.py" = ["D"] -[tool.ruff.isort] +[tool.ruff.lint.isort] force-wrap-aliases = true combine-as-imports = true known-first-party = ["hera"] -[tool.ruff.pydocstyle] +[tool.ruff.lint.pydocstyle] convention = "google"