From 6ef034e0179e7e5489cb51efdf1a8933b6e9286c Mon Sep 17 00:00:00 2001 From: c-bata Date: Fri, 9 Jun 2023 11:29:46 +0900 Subject: [PATCH] Update pyproject.toml --- pyproject.toml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 406e0f49..be4a18e0 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -64,13 +64,14 @@ exclude = ''' | build | dist | venv + | node_modules )/ ''' [tool.isort] profile = 'black' -src_paths = ['optuna', 'tests', 'docs', 'benchmarks'] -skip_glob = ['docs/source/conf.py', '**/alembic/versions/*.py', 'tutorial/**/*.py'] +src_paths = ['optuna', 'python_tests', 'docs'] +skip_glob = ['docs/conf.py'] line_length = 99 lines_after_imports = 2 force_single_line = 'True' @@ -80,3 +81,9 @@ order_by_type = 'False' [tool.mypy] ignore_missing_imports = true disallow_untyped_defs = true + +[tool.pytest.ini_options] +addopts = "--color=yes" +markers = [ + "slow: marks tests as slow", +]