Skip to content

Commit a93e14c

Browse files
committed
Fix pep257 warnings
1 parent 215325d commit a93e14c

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

galahad/models.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ class Process(models.Model, metaclass=BaseProcess):
6868
Processes are also the vehicle for the other two components tasks and
6969
:attr:`.edges`.
7070
"""
71+
7172
id = models.BigAutoField(primary_key=True, editable=False)
7273
created = models.DateTimeField(auto_now_add=True, db_index=True)
7374
modified = models.DateTimeField(auto_now=True, db_index=True)
@@ -109,9 +110,7 @@ def urls(cls):
109110
"""
110111
Return all URLs to process related task and other special views.
111112
112-
Examples:
113-
114-
.. code-block:: python
113+
Example::
115114
116115
from django.urls import path, include
117116

galahad/tasks/human.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ class StartView(TaskViewMixin, generic.CreateView):
1919
Similar to Django's :class:`CreateView<django.views.generic.edit.CreateView>`
2020
but does not only create the process but also completes a tasks.
2121
"""
22+
2223
pass
2324

2425

@@ -29,4 +30,5 @@ class UpdateView(TaskViewMixin, generic.UpdateView):
2930
Similar to Django's :class:`UpdateView<django.views.generic.edit.UpdateView>`
3031
but does not only update the process but also completes a tasks.
3132
"""
33+
3234
pass

0 commit comments

Comments
 (0)