From 8f8df0c950743a68a68cbee1d036819a3b5717b6 Mon Sep 17 00:00:00 2001 From: Tony Breeds Date: Thu, 6 Oct 2016 11:21:04 +1100 Subject: [PATCH] Fix flake8 issues linters runtests: commands[0] | yamllint configuration.yaml configuration.yaml 1:1 warning missing document start "---" (document-start) linters runtests: commands[1] | flake8 ./doc/source/_exts/candidates.py:17:1: F401 'urllib' imported but unused Change-Id: I3cd150940f8dbf6d8f828f69361689cbf417fd98 --- configuration.yaml | 1 + doc/source/_exts/candidates.py | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/configuration.yaml b/configuration.yaml index ab7d5961..210a20ca 100644 --- a/configuration.yaml +++ b/configuration.yaml @@ -1,3 +1,4 @@ +--- timelines: - {'date': '2016-09-12T00:00', 'name': 'PTL nomination starts'} - {'date': '2016-09-18T23:45', 'name': 'PTL nomination ends'} diff --git a/doc/source/_exts/candidates.py b/doc/source/_exts/candidates.py index 773a4ae8..8882249a 100644 --- a/doc/source/_exts/candidates.py +++ b/doc/source/_exts/candidates.py @@ -14,7 +14,6 @@ """ import os -import urllib import yaml from jinja2 import FileSystemLoader