diff --git a/releases/__init__.py b/releases/__init__.py index 4488eb8..5d940af 100644 --- a/releases/__init__.py +++ b/releases/__init__.py @@ -192,7 +192,7 @@ def append_unreleased_entries(app, manager, releases): bucket = 'unreleased_{0}'.format(type_) if bucket not in lines: # Implies unstable prehistory + 0.x fam continue - issues = lines[bucket] + issues = lines[bucket] fam_prefix = "{0}.x ".format(family) if len(manager) > 1 else "" header = "Next {0}{1} release".format(fam_prefix, type_) line = "unreleased_{0}.x_{1}".format(family, type_) @@ -471,7 +471,9 @@ def construct_releases(entries, app): # pre-emptively update the line-manager so upcoming features are # correctly sorted into that major release by default (re: logic in # Release.add_to_manager) - handle_upcoming_major_release(stripped_entries[index + 1:], manager) + handle_upcoming_major_release( + stripped_entries[index + 1:], manager + ) # Entries get copied into release line buckets as follows: # * Features and support go into 'unreleased_feature' for use in new diff --git a/tasks.py b/tasks.py index f34a645..8540734 100644 --- a/tasks.py +++ b/tasks.py @@ -3,8 +3,6 @@ from invocations.testing import test, integration, watch_tests from invocations.packaging import release from invoke import Collection -from invoke import run -from invoke import task ns = Collection(test, integration, watch_tests, release, docs) diff --git a/tests/presentation.py b/tests/presentation.py index 792e7d2..6f7c6ac 100644 --- a/tests/presentation.py +++ b/tests/presentation.py @@ -1,4 +1,4 @@ -from spec import Spec, eq_, skip +from spec import Spec, eq_ from docutils.nodes import ( reference, bullet_list, list_item, literal, raw, paragraph, Text )