From 26dc839fdf8ac7cae1268728706bb33306e796f6 Mon Sep 17 00:00:00 2001 From: Roman Mogylatov Date: Sat, 3 Oct 2020 21:48:22 -0400 Subject: [PATCH] Fix flake8 and pydocstyle errors --- examples/miniapps/django/.pydocstylerc | 2 ++ examples/miniapps/django/githubnavigator/asgi.py | 3 +-- examples/miniapps/django/githubnavigator/web/__init__.py | 1 + examples/miniapps/django/githubnavigator/web/tests.py | 2 +- 4 files changed, 5 insertions(+), 3 deletions(-) create mode 100644 examples/miniapps/django/.pydocstylerc diff --git a/examples/miniapps/django/.pydocstylerc b/examples/miniapps/django/.pydocstylerc new file mode 100644 index 00000000..287c7066 --- /dev/null +++ b/examples/miniapps/django/.pydocstylerc @@ -0,0 +1,2 @@ +[pydocstyle] +ignore = D100,D101,D102,D103,D105,D107,D203,D212,D213,D400,D406,D407,D411,D413,D415 diff --git a/examples/miniapps/django/githubnavigator/asgi.py b/examples/miniapps/django/githubnavigator/asgi.py index 4fe529e0..b1f6edc7 100644 --- a/examples/miniapps/django/githubnavigator/asgi.py +++ b/examples/miniapps/django/githubnavigator/asgi.py @@ -1,5 +1,4 @@ -""" -ASGI config for githubnavigator project. +"""ASGI config for githubnavigator project. It exposes the ASGI callable as a module-level variable named ``application``. diff --git a/examples/miniapps/django/githubnavigator/web/__init__.py b/examples/miniapps/django/githubnavigator/web/__init__.py index e69de29b..8a1fbcfa 100644 --- a/examples/miniapps/django/githubnavigator/web/__init__.py +++ b/examples/miniapps/django/githubnavigator/web/__init__.py @@ -0,0 +1 @@ +"""Web application package.""" diff --git a/examples/miniapps/django/githubnavigator/web/tests.py b/examples/miniapps/django/githubnavigator/web/tests.py index 7ce503c2..a79ca8be 100644 --- a/examples/miniapps/django/githubnavigator/web/tests.py +++ b/examples/miniapps/django/githubnavigator/web/tests.py @@ -1,3 +1,3 @@ -from django.test import TestCase +# from django.test import TestCase # Create your tests here.