Skip to content

Commit

Permalink
Fix pyproject.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
jochenklar committed Aug 26, 2023
1 parent 46e69f0 commit 74aeefa
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -169,11 +169,14 @@ rest_framework = ["rest_framework"]
"rdmo/**/views/__init__.py" = [
"F401", # unused-import
]
# Ignore certain rules for tests, e.g. usage of assert is allowed
"rdmo/**/tests/test_*.py" = [
"S101", # assert
"S106", # hardcoded-password-func-arg
]
"testing/config/settings/__init__.py" = [
"F401", # unused-import
"F403", # undefined-names
]

[tool.pytest.ini_options]
DJANGO_SETTINGS_MODULE = "config.settings"
Expand Down

0 comments on commit 74aeefa

Please sign in to comment.