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 | b23b374ead52102709c2a6b4667e4c8debcaaa7b (patch) | |
tree | 8b7b4b2c18a100a54be08df24564655542ede691 | |
parent | 45c33fa1e7fc27ae28ed525654e26fabe8052b7b (diff) |
[style] pep8 excludes + fixes
-rwxr-xr-x | mail/pep8 | 2 | ||||
-rw-r--r-- | mail/setup.cfg | 10 | ||||
-rw-r--r-- | mail/setup.py | 8 |
3 files changed, 14 insertions, 6 deletions
diff --git a/mail/pep8 b/mail/pep8 deleted file mode 100755 index d0da40ec..00000000 --- a/mail/pep8 +++ /dev/null @@ -1,2 +0,0 @@ -#!/bin/sh -pep8 src/leap/mail diff --git a/mail/setup.cfg b/mail/setup.cfg new file mode 100644 index 00000000..51070c6c --- /dev/null +++ b/mail/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 diff --git a/mail/setup.py b/mail/setup.py index ead89827..575a6ecd 100644 --- a/mail/setup.py +++ b/mail/setup.py @@ -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. |