diff --git a/.flake8 b/.flake8 index 13344971415783ce6371fd88734a0b3dd5e33b4c..49c100a68150ad48d52facbefe79b9a0a26fa529 100644 --- a/.flake8 +++ b/.flake8 @@ -1,6 +1,5 @@ [flake8] -exclude = - src/Admin/ +max-line-length = 150 ignore = # E111 indentation is not a multiple of four E111, @@ -8,10 +7,6 @@ ignore = E114, # E122 continuation line missing indentation or outdented E122, - # E123 closing bracket does not match indentation of opening bracket's line - E123, - # E126 continuation line over-indented for hanging indent - E126, # E127 continuation line over-indented for visual indent E127, # E131 continuation line unaligned for hanging indent @@ -30,14 +25,8 @@ ignore = E221, # E225 missing whitespace around operator E225, - # E226 missing whitespace around arithmetic operator - E226, # E231 missing whitespace after ',' E231, - # E241 multiple spaces after ' - E241, - # E241 multiple spaces after ',' - E241, # E251 unexpected spaces around keyword / parameter equals E251, # E261 at least two spaces before inline comment diff --git a/src/Admin/sitemap_gen.py b/src/Admin/sitemap_gen.py index ff7ee01855b19aa0ce94ef60f1bc954d99e91f81..811a12f2e4770b41c1f298f456149700f4369138 100755 --- a/src/Admin/sitemap_gen.py +++ b/src/Admin/sitemap_gen.py @@ -17,9 +17,7 @@ """ -import os.path import sys -import string import getopt import urllib2 import urlparse @@ -27,8 +25,6 @@ from HTMLParser import HTMLParser from HTMLParser import HTMLParseError import xml.sax.saxutils import robotparser -import re -import httplib helpText = """sitemap_gen.py version 1.1.0 (2009-09-05)