From 1a8bca7ed8ba3cc0330f76a64d7e0be0f8aaa78b Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Tue, 20 Jun 2023 07:04:41 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- pyproject.toml | 64 +++++++++++++++++++++++++------------------------- 1 file changed, 32 insertions(+), 32 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index f27fb6f..9a242af 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,38 +1,6 @@ ############################################################################### # pytest ############################################################################### -[tool.pytest.ini_options] -addopts = """ ---html=test_reports/pytest_result/pytest.html --color=yes --durations 20 ---no-cov-on-fail --strict-markers --reuse-db ---driver=Firefox --W error --W "ignore:capabilities and desired_capabilities have been deprecated:DeprecationWarning:pytest_selenium.pytest_selenium" --W "ignore:service_log_path has been deprecated:DeprecationWarning:pytest_selenium.pytest_selenium" -""" -markers = [] -minversion = "6.0" -DJANGO_SETTINGS_MODULE = "charasheet.settings" -junit_family = "xunit1" -norecursedirs = [ - ".*", - "docker", - "documentation", - "static", - "public", -] -testpaths = [ - "src", -] -python_files = [ - "test_*.py", - "tests.py", -] - -############################################################################### -# ruff -############################################################################### - [tool.ruff] src = ["src"] target-version = "py311" @@ -72,3 +40,35 @@ convention = "pep257" [tool.ruff.mccabe] max-complexity = 10 + +[tool.pytest.ini_options] +addopts = """ +--html=test_reports/pytest_result/pytest.html --color=yes --durations 20 +--no-cov-on-fail --strict-markers --reuse-db +--driver=Firefox +-W error +-W "ignore:capabilities and desired_capabilities have been deprecated:DeprecationWarning:pytest_selenium.pytest_selenium" +-W "ignore:service_log_path has been deprecated:DeprecationWarning:pytest_selenium.pytest_selenium" +""" +markers = [] +minversion = "6.0" +DJANGO_SETTINGS_MODULE = "charasheet.settings" +junit_family = "xunit1" +norecursedirs = [ + ".*", + "docker", + "documentation", + "static", + "public", +] +testpaths = [ + "src", +] +python_files = [ + "test_*.py", + "tests.py", +] + +############################################################################### +# ruff +###############################################################################