Skip to content

Commit

Permalink
Add ruff check for naming conventions and ignore deprecated
Browse files Browse the repository at this point in the history
  • Loading branch information
chraibi committed Jan 19, 2025
1 parent 8f8f23b commit f512424
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ select = [
"F",
# isort
"I",
# Naming conventions for variables, functions, and attributes
"N",
]
ignore = ["E501"]

Expand Down Expand Up @@ -54,3 +56,6 @@ docstring-code-format = false
# enabled.
docstring-code-line-length = "dynamic"

# Ignore naming issues for camelCase deprecated properties
[tool.ruff.lint.pep8-naming]
extend-ignore-names = ["desiredSpeed", "reactionTime", "agentScale", "obstacleScale", "forceDistance", "bodyForce"]

0 comments on commit f512424

Please sign in to comment.