From 404cf5d6b4b9a4fd88c9f9f5a606a5a2e4fd7f86 Mon Sep 17 00:00:00 2001 From: anikaweinmann Date: Tue, 17 Dec 2024 13:33:08 +0100 Subject: [PATCH] add ruff.toml --- ruff.toml | 44 +------------------------------------------- 1 file changed, 1 insertion(+), 43 deletions(-) diff --git a/ruff.toml b/ruff.toml index 7940626..e7eeca5 100644 --- a/ruff.toml +++ b/ruff.toml @@ -1,43 +1 @@ -# Ruff configuration file: ruff.toml - -# Define the required version for Ruff -required-version = ">=0.7.0" - -line-length = 79 - -# Specify directories or files to be excluded from Ruff linting, in addition to default exclusions -extend-exclude = [ - ".git", - "__pycache__", - ".env", - ".venv", - "env", - "venv", - "ENV", - "env.bak", - "venv.bak", - "ctypes", - "pydispatch", -] - -# Uncomment the following sections as needed - -# [format] -# Format settings for Ruff (quote-style and indent-style) -# quote-style = "double" -# indent-style= "tab" - -# [lint] -# Define linting rules selection and ignore list -# select = [ -# "A", # flake8-builtins (A) -# "COM", # flake8-commas -# "PL", # Pylint -# ] -ignore = [ - "F821", # Undefined name `_` -] - -# [lint.per-file-ignores] -# Define file-specific linting rule ignores -# "lib_dop/r_dop_import_lib.py" = ["ERA001", "PLR2004"] \ No newline at end of file +lint.ignore = [ "F821",] \ No newline at end of file