Skip to content

Commit 122dfb2

Browse files
committed
revert models
1 parent d2ff438 commit 122dfb2

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

readthedocs/builds/models.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
"""Models for the builds app."""
2-
32
import datetime
43
import os.path
54
import re
@@ -86,6 +85,7 @@
8685

8786

8887
class Version(TimeStampedModel):
88+
8989
"""Version of a ``Project``."""
9090

9191
project = models.ForeignKey(
@@ -567,6 +567,7 @@ def get_storage_paths(self, version_slug=None):
567567

568568

569569
class APIVersion(Version):
570+
570571
"""
571572
Version proxy model for API data deserialization.
572573
@@ -1013,6 +1014,7 @@ def reset(self):
10131014

10141015

10151016
class BuildCommandResultMixin:
1017+
10161018
"""
10171019
Mixin for common command result methods/properties.
10181020
@@ -1036,6 +1038,7 @@ def failed(self):
10361038

10371039

10381040
class BuildCommandResult(BuildCommandResultMixin, models.Model):
1041+
10391042
"""Build command for a ``Build``."""
10401043

10411044
build = models.ForeignKey(
@@ -1068,6 +1071,7 @@ def run_time(self):
10681071

10691072

10701073
class VersionAutomationRule(PolymorphicModel, TimeStampedModel):
1074+
10711075
"""Versions automation rules for projects."""
10721076

10731077
ACTIVATE_VERSION_ACTION = "activate-version"

0 commit comments

Comments
 (0)