diff options
author | Kali Kaneko <kali@leap.se> | 2015-08-18 11:29:57 -0400 |
---|---|---|
committer | Kali Kaneko <kali@leap.se> | 2015-08-18 11:29:57 -0400 |
commit | c279e6587f9240d7eb9806996bc84d09cc5d8c97 (patch) | |
tree | 76b1107b2d01df8141074b347cd40c7932c8510b | |
parent | ccc885df223c3e66dc8d560c8054752a30e3f08c (diff) |
[style] pep8 excludes + fixes
-rwxr-xr-x | pep8 | 2 | ||||
-rw-r--r-- | setup.cfg | 10 | ||||
-rw-r--r-- | setup.py | 8 |
3 files changed, 14 insertions, 6 deletions
@@ -1,2 +0,0 @@ -#!/bin/sh -pep8 src/leap/mail diff --git a/setup.cfg b/setup.cfg new file mode 100644 index 0000000..51070c6 --- /dev/null +++ b/setup.cfg @@ -0,0 +1,10 @@ +[aliases] +test = trial + +[pep8] +exclude = versioneer.py,_version.py,*.egg,build,docs +ignore = E731 + +[flake8] +exclude = versioneer.py,_version.py,*.egg,build,docs +ignore = E731 @@ -20,6 +20,10 @@ Setup file for leap.mail import re from setuptools import setup from setuptools import find_packages +from setuptools import Command + +from pkg import utils + import versioneer versioneer.versionfile_source = 'src/leap/mail/_version.py' @@ -27,7 +31,6 @@ versioneer.versionfile_build = 'leap/mail/_version.py' versioneer.tag_prefix = '' # tags are like 1.2.0 versioneer.parentdir_prefix = 'leap.mail-' -from pkg import utils trove_classifiers = [ 'Development Status :: 4 - Beta', @@ -63,9 +66,6 @@ if len(_version_short) > 0: cmdclass = versioneer.get_cmdclass() -from setuptools import Command - - class freeze_debianver(Command): """ Freezes the version in a debian branch. |