Skip to content

Commit

Permalink
ignore naming in some files
Browse files Browse the repository at this point in the history
  • Loading branch information
chraibi committed Jan 19, 2025
1 parent f512424 commit 3500799
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,10 @@ extend-include = ["*.ipynb"]
# McCabe complexity (`C901`) by default.
# select = ["E4", "E7", "E9", "F"]
select = [
# pycodestyle
"E",
# Pyflakes
"F",
# isort
"I",
# Naming conventions for variables, functions, and attributes
"N",
"E", # pycodestyle
"F", # Pyflakes
"I", # isort
"N", # Naming conventions for variables, functions, and attributes
]
ignore = ["E501"]

Expand Down Expand Up @@ -59,3 +55,9 @@ 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"]

[tool.ruff.lint.per-file-ignores]
"test_perftests.py" = ["N"]
"**{jupedsim_visualizer}/*" = ["N"]
"serialization.py" = ["N"]
"journey.ipynb" = ["N"]

0 comments on commit 3500799

Please sign in to comment.