From afc3c1197688ac922d98e1908c262c1cfe1bb5d1 Mon Sep 17 00:00:00 2001 From: Tremain Knight <2108488+tkknight@users.noreply.github.com> Date: Sat, 30 Dec 2023 15:50:57 +0000 Subject: [PATCH 1/4] fix pycodestyle W --- .ruff.toml | 1 - benchmarks/bm_runner.py | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.ruff.toml b/.ruff.toml index 9451023469..0ce831a29b 100644 --- a/.ruff.toml +++ b/.ruff.toml @@ -11,7 +11,6 @@ lint.ignore = [ # pycodestyle (E, W) # https://docs.astral.sh/ruff/rules/#pycodestyle-e-w "E", - "W", # mccabe (C90) # https://docs.astral.sh/ruff/rules/#mccabe-c90 diff --git a/benchmarks/bm_runner.py b/benchmarks/bm_runner.py index 8b45031fca..0195d259fe 100644 --- a/benchmarks/bm_runner.py +++ b/benchmarks/bm_runner.py @@ -257,8 +257,8 @@ def _gh_create_reports(commit_sha: str, results_full: str, results_shifts: str) * commit {commit_sha} ({pr_tag}).

- Please review the report below and - take corrective/congratulatory action as appropriate + Please review the report below and + take corrective/congratulatory action as appropriate :slightly_smiling_face:

""" From c160c55802e521efb352edc4650f04f8de0b648f Mon Sep 17 00:00:00 2001 From: Tremain Knight <2108488+tkknight@users.noreply.github.com> Date: Sat, 30 Dec 2023 15:54:49 +0000 Subject: [PATCH 2/4] fix for ruff: flake8-copyright (CPY) --- .ruff.toml | 4 ---- 1 file changed, 4 deletions(-) diff --git a/.ruff.toml b/.ruff.toml index 0ce831a29b..3874d59755 100644 --- a/.ruff.toml +++ b/.ruff.toml @@ -70,10 +70,6 @@ lint.ignore = [ # https://docs.astral.sh/ruff/rules/#flake8-builtins-a "A", - # flake8-copyright (CPY) - # https://docs.astral.sh/ruff/rules/#flake8-copyright-cpy - "CPY", - # flake8-comprehensions (C4) # https://docs.astral.sh/ruff/rules/#flake8-comprehensions-c4 "C4", From c9a23a517a81e314b5c08645e651fb330f9b83b7 Mon Sep 17 00:00:00 2001 From: Tremain Knight <2108488+tkknight@users.noreply.github.com> Date: Sat, 30 Dec 2023 15:56:31 +0000 Subject: [PATCH 3/4] ruff, no fix needed: flake8-implicit-str-concat (ISC) --- .ruff.toml | 4 ---- 1 file changed, 4 deletions(-) diff --git a/.ruff.toml b/.ruff.toml index 3874d59755..96421ccd1e 100644 --- a/.ruff.toml +++ b/.ruff.toml @@ -86,10 +86,6 @@ lint.ignore = [ # https://docs.astral.sh/ruff/rules/#flake8-future-annotations-fa "FA", - # flake8-implicit-str-concat (ISC) - # https://docs.astral.sh/ruff/rules/#flake8-implicit-str-concat-isc - "ISC", - # flake8-logging-format (G) # https://docs.astral.sh/ruff/rules/#flake8-logging-format-g "G", From 4eff6fa4febacdd852025451fa808ffedf58d927 Mon Sep 17 00:00:00 2001 From: Tremain Knight <2108488+tkknight@users.noreply.github.com> Date: Sat, 30 Dec 2023 15:57:36 +0000 Subject: [PATCH 4/4] ruff, no fix needed: Airflow (AIR) --- .ruff.toml | 4 ---- 1 file changed, 4 deletions(-) diff --git a/.ruff.toml b/.ruff.toml index 96421ccd1e..e396c2d025 100644 --- a/.ruff.toml +++ b/.ruff.toml @@ -178,10 +178,6 @@ lint.ignore = [ # https://docs.astral.sh/ruff/rules/#flynt-fly "FLY", - # Airflow (AIR) - # https://docs.astral.sh/ruff/rules/#airflow-air - "AIR", - # Perflint (PERF) # https://docs.astral.sh/ruff/rules/#perflint-perf "PERF",