From 4548a5ab6ad5d3e18b1c14a14da6b4190ecc85f6 Mon Sep 17 00:00:00 2001 From: Marc Wrobel Date: Sat, 30 Dec 2023 11:28:16 +0100 Subject: [PATCH] Enable flake8-executable linting rules (#267) See https://docs.astral.sh/ruff/rules/#flake8-executable-exe. --- .ruff.toml | 3 ++- report.py | 0 2 files changed, 2 insertions(+), 1 deletion(-) mode change 100755 => 100644 report.py diff --git a/.ruff.toml b/.ruff.toml index b023639d..ab9e5709 100644 --- a/.ruff.toml +++ b/.ruff.toml @@ -9,7 +9,8 @@ select = [ "COM", # flake8-commas "DTZ", # flake8-commas "E", # pycodestyle errors - "EM", # pycodestyle errors + "EM", # flake8-errmsg + "EXE", # flake8-executable "F", # pyflakes errors "I", # isort "ISC", # flake8-implicit-str-concat diff --git a/report.py b/report.py old mode 100755 new mode 100644