diff --git a/poetry.lock b/poetry.lock index 6f77a7f40..6025d9ada 100644 --- a/poetry.lock +++ b/poetry.lock @@ -969,13 +969,13 @@ tomli = {version = ">=1.1.0", markers = "python_version < \"3.11\""} [[package]] name = "pytest" -version = "8.0.0" +version = "7.4.4" description = "pytest: simple powerful testing with Python" optional = false -python-versions = ">=3.8" +python-versions = ">=3.7" files = [ - {file = "pytest-8.0.0-py3-none-any.whl", hash = "sha256:50fb9cbe836c3f20f0dfa99c565201fb75dc54c8d76373cd1bde06b06657bdb6"}, - {file = "pytest-8.0.0.tar.gz", hash = "sha256:249b1b0864530ba251b7438274c4d251c58d868edaaec8762893ad4a0d71c36c"}, + {file = "pytest-7.4.4-py3-none-any.whl", hash = "sha256:b090cdf5ed60bf4c45261be03239c2c1c22df034fbffe691abe93cd80cea01d8"}, + {file = "pytest-7.4.4.tar.gz", hash = "sha256:2cf0005922c6ace4a3e2ec8b4080eb0d9753fdc93107415332f50ce9e7994280"}, ] [package.dependencies] @@ -983,7 +983,7 @@ colorama = {version = "*", markers = "sys_platform == \"win32\""} exceptiongroup = {version = ">=1.0.0rc8", markers = "python_version < \"3.11\""} iniconfig = "*" packaging = "*" -pluggy = ">=1.3.0,<2.0" +pluggy = ">=0.12,<2.0" tomli = {version = ">=1.0.0", markers = "python_version < \"3.11\""} [package.extras] @@ -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"