From 69c0b34193d9e86819bd3a5636e299356acc7ab6 Mon Sep 17 00:00:00 2001 From: Christian Clauss Date: Fri, 13 Dec 2024 19:36:54 +0100 Subject: [PATCH] ruff check --preview --select=E303 --- .circleci/config.yml | 2 ++ pyproject.toml | 3 --- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 5c5844c7e8c63..61d7cb912a278 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -425,6 +425,8 @@ jobs: - checkout - pip-install - run: ruff check + # TODO (cclauss): When ruff supports rule E303 without --preview, remove following line + - run: ruff check --preview --select=E303 mypy: executor: bionic steps: diff --git a/pyproject.toml b/pyproject.toml index f4c62aacb8f16..874462532f8e3 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -49,11 +49,8 @@ lint.ignore = [ "PLW1510", "PLW2901", ] - lint.per-file-ignores."emrun.py" = [ "PLE0704" ] - lint.mccabe.max-complexity = 48 # Recommended: 10 - lint.pylint.allow-magic-value-types = [ "bytes", "float",