From 4fbbe9c7c83740b33aa306e48435ea0e8c96c769 Mon Sep 17 00:00:00 2001 From: Dimitri Papadopoulos Orfanos <3234522+DimitriPapadopoulos@users.noreply.github.com> Date: Tue, 6 Aug 2024 08:12:08 +0200 Subject: [PATCH] Assorted repo-review suggestions (#1497) Co-authored-by: Tzu-ping Chung --- .pre-commit-config.yaml | 2 +- pyproject.toml | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index b9847a79b0..c0e2b8f251 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -14,7 +14,7 @@ repos: rev: v0.5.6 hooks: - id: ruff - args: [ "--fix", "--unsafe-fixes", "--exit-non-zero-on-fix"] + args: [ "--fix", "--unsafe-fixes", "--show-fixes", "--exit-non-zero-on-fix"] - id: ruff-format - repo: https://github.com/pre-commit/mirrors-mypy rev: v1.11.1 diff --git a/pyproject.toml b/pyproject.toml index 88684130f9..443de11e7b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -101,9 +101,13 @@ check-hidden = true ignore-regex = '\b(UE|path/doesnt/exist)\b' [tool.pytest.ini_options] +minversion = "8" +log_cli_level = "INFO" markers = [ "all_packages: test install with maximum number of packages", ] +testpaths = [ "tests" ] +addopts = [ "-ra", "--strict-config", "--strict-markers" ] [tool.towncrier] directory = "changelog.d"