Skip to content

Commit

Permalink
add ruff.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
anikaweinmann committed Dec 17, 2024
1 parent 2f685ce commit 404cf5d
Showing 1 changed file with 1 addition and 43 deletions.
44 changes: 1 addition & 43 deletions ruff.toml
Original file line number Diff line number Diff line change
@@ -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"]
lint.ignore = [ "F821",]

0 comments on commit 404cf5d

Please sign in to comment.