Cache site with Redis
This commit is contained in:
parent
1323ba27a6
commit
32e9ccb413
3 changed files with 62 additions and 9 deletions
|
|
@ -40,9 +40,9 @@ unsafe-fixes = true
|
|||
preview = true
|
||||
select = ["ALL"]
|
||||
ignore = [
|
||||
"CPY001", # Missing copyright notice at top of file
|
||||
"ERA001", # Found commented-out code
|
||||
"FIX002", # Line contains TODO
|
||||
"CPY001", # Missing copyright notice at top of file
|
||||
"ERA001", # Found commented-out code
|
||||
"FIX002", # Line contains TODO
|
||||
]
|
||||
line-length = 120
|
||||
|
||||
|
|
@ -51,10 +51,10 @@ convention = "google"
|
|||
|
||||
[tool.ruff.per-file-ignores]
|
||||
"**/tests.py" = [
|
||||
"S101", # Allow asserts
|
||||
"ARG", # Allow unused arguments
|
||||
"FBT", # Don't care about booleans as positional arguments in tests, e.g. via @pytest.mark.parametrize()
|
||||
"PLR2004", # Allow "assert response.status_code == 200" when testing views
|
||||
"D102", # Allow missing docstrings in tests
|
||||
"PLR6301", # Checks for the presence of unused self parameter in methods definitions.
|
||||
"S101", # Allow asserts
|
||||
"ARG", # Allow unused arguments
|
||||
"FBT", # Don't care about booleans as positional arguments in tests, e.g. via @pytest.mark.parametrize()
|
||||
"PLR2004", # Allow "assert response.status_code == 200" when testing views
|
||||
"D102", # Allow missing docstrings in tests
|
||||
"PLR6301", # Checks for the presence of unused self parameter in methods definitions.
|
||||
]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue