1
0
mirror of https://github.com/django/django.git synced 2025-01-05 16:06:07 +00:00
django/tests/middleware
Nick Pope 2bc47d7fe9 Avoided assignment followed by immediate return.
Identified using the following command:

$ pcre2grep --line-number --multiline --recursive \
    "(?s)(\n +)(\w+) = [^\n]+\1return \2;?$" \
    django docs extras js_tests scripts tests
2022-10-31 12:31:13 +01:00
..
__init__.py
cond_get_urls.py Refs #33476 -- Reformatted code with Black. 2022-02-07 20:37:05 +01:00
extra_urls.py Refs #33476 -- Reformatted code with Black. 2022-02-07 20:37:05 +01:00
test_security.py Refs #33476 -- Reformatted code with Black. 2022-02-07 20:37:05 +01:00
tests.py Avoided assignment followed by immediate return. 2022-10-31 12:31:13 +01:00
urls.py Refs #33476 -- Reformatted code with Black. 2022-02-07 20:37:05 +01:00
views.py Refs #33476 -- Reformatted code with Black. 2022-02-07 20:37:05 +01:00