/
opt
/
cloudlinux
/
venv
/
lib
/
python3.11
/
site-packages
/
pylint_django
/
tests
/
input
/
/opt/cloudlinux/venv/lib/python3.11/site-packages/pylint_django/tests/input
mkdir
upload
Name
Size
Mode
Actions
migrations/
-
0755
rm
models/
-
0755
rm
test_app/
-
0755
rm
__pycache__/
-
0755
rm
external_django_tables2_noerror_meta_class.py
426
0644
edit
dl
rm
external_drf_noerror_serializer.py
228
0644
edit
dl
rm
external_drf_noerror_serializer.rc
40
0644
edit
dl
rm
external_factory_boy_noerror.py
1524
0644
edit
dl
rm
external_factory_boy_noerror.rc
33
0644
edit
dl
rm
external_model_utils_noerror_override_manager.py
915
0644
edit
dl
rm
external_model_utils_noerror_override_manager.rc
37
0644
edit
dl
rm
external_psycopg2_noerror_postgres_fields.py
1626
0644
edit
dl
rm
external_psycopg2_noerror_postgres_fields.rc
34
0644
edit
dl
rm
external_tastypie_noerror_foreign_key.py
713
0644
edit
dl
rm
func_hard_coded_auth_user.py
387
0644
edit
dl
rm
func_hard_coded_auth_user.txt
260
0644
edit
dl
rm
func_json_response.py
794
0644
edit
dl
rm
func_json_response.txt
542
0644
edit
dl
rm
func_modelform_exclude.py
239
0644
edit
dl
rm
func_modelform_exclude.txt
112
0644
edit
dl
rm
func_model_does_not_use_unicode_py33.py
405
0644
edit
dl
rm
func_model_does_not_use_unicode_py33.txt
116
0644
edit
dl
rm
func_model_no_explicit_unicode_str_compat.py
484
0644
edit
dl
rm
func_model_no_explicit_unicode_str_compat.txt
114
0644
edit
dl
rm
func_noerror_classviews.py
2730
0644
edit
dl
rm
func_noerror_duplicate_except_doesnotexist.py
524
0644
edit
dl
rm
func_noerror_factory_post_generation.py
425
0644
edit
dl
rm
func_noerror_foreignkeys.py
2220
0644
edit
dl
rm
func_noerror_foreign_key_attributes.py
632
0644
edit
dl
rm
func_noerror_foreign_key_ids.py
443
0644
edit
dl
rm
func_noerror_foreign_key_key_cls_unbound.py
447
0644
edit
dl
rm
func_noerror_foreign_key_package.py
359
0644
edit
dl
rm
func_noerror_foreign_key_sets.py
842
0644
edit
dl
rm
func_noerror_forms_py33.py
805
0644
edit
dl
rm
func_noerror_formview_ancestors.py
210
0644
edit
dl
rm
func_noerror_form_fields.py
2421
0644
edit
dl
rm
func_noerror_generic_foreign_key.py
613
0644
edit
dl
rm
func_noerror_gettext_lazy_format.py
197
0644
edit
dl
rm
func_noerror_ignore_meta_subclass.py
295
0644
edit
dl
rm
func_noerror_import_q.py
160
0644
edit
dl
rm
func_noerror_issue_46.py
211
0644
edit
dl
rm
func_noerror_managers_return_querysets.py
1110
0644
edit
dl
rm
func_noerror_manytomanyfield.py
1761
0644
edit
dl
rm
func_noerror_models_py33.py
680
0644
edit
dl
rm
func_noerror_model_fields.py
3220
0644
edit
dl
rm
func_noerror_model_methods.py
610
0644
edit
dl
rm
func_noerror_model_objects.py
472
0644
edit
dl
rm
func_noerror_model_unicode_callable.py
350
0644
edit
dl
rm
func_noerror_model_unicode_lambda.py
306
0644
edit
dl
rm
func_noerror_protected_meta_access.py
691
0644
edit
dl
rm
func_noerror_string_foreignkey.py
354
0644
edit
dl
rm
func_noerror_style_members.py
314
0644
edit
dl
rm
func_noerror_test_wsgi_request.py
567
0644
edit
dl
rm
func_noerror_ugettext_lazy_format.py
200
0644
edit
dl
rm
func_noerror_unicode_py2_compatible.py
441
0644
edit
dl
rm
func_noerror_urls.py
478
0644
edit
dl
rm
func_noerror_uuid_field.py
616
0644
edit
dl
rm
func_noerror_views.py
151
0644
edit
dl
rm
func_noerror_wsgi.py
380
0644
edit
dl
rm
func_unused_arguments.py
1262
0644
edit
dl
rm
func_unused_arguments.txt
148
0644
edit
dl
rm
__init__.py
0
0644
edit
dl
rm
Edit:
/opt/cloudlinux/venv/lib/python3.11/site-packages/pylint_django/tests/input/func_json_response.txt
(542B)
http-response-with-json-dumps:10:11:10:64:say_yes:Instead of HttpResponse(json.dumps(data)) use JsonResponse(data):UNDEFINED http-response-with-json-dumps:15:11:15:46:say_yes2:Instead of HttpResponse(json.dumps(data)) use JsonResponse(data):UNDEFINED redundant-content-type-for-json-response:24:11:24:67:redundant_content_type:Redundant content_type parameter for JsonResponse():UNDEFINED http-response-with-content-type-json:29:11:29:67:content_type_json:Instead of HttpResponse(content_type='application/json') use JsonResponse():UNDEFINED
Save
cmd:
run