Skip to content

Commit

Permalink
Enable ruff pep8-naming rule
Browse files Browse the repository at this point in the history
  • Loading branch information
Paul Schilling committed Feb 19, 2025
1 parent eaf6816 commit 3a1d5bf
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions ruff.toml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,8 @@ select = [
"F",
# https://docs.astral.sh/ruff/rules/#flake8-simplify-sim
"SIM",
# https://docs.astral.sh/ruff/rules/#pep8-naming-n
"N",
]
ignore = [
# Whitespace before ':' (conflicts with Black)
Expand All @@ -65,6 +67,14 @@ ignore = [
# Checks for nested if statements that can be collapsed into a single if statement.
"SIM102"
]
extend-ignore = [
{
"N801": ["eHerkenning[a-zA-Z]*", "eSuite[A-Z][a-zA-Z]*" "BRP_[0-9]_[0-9]"],
},
{
"N802": ["assert[a-zA-Z]*"],
},
]


# Allow fix for all enabled rules (when `--fix`) is provided.
Expand Down

0 comments on commit 3a1d5bf

Please sign in to comment.