Skip to content

Commit

Permalink
lintscore improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
thebjorn committed Sep 19, 2017
1 parent 2c2d9fc commit ff7f561
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
5 changes: 5 additions & 0 deletions dkpkg/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1,6 @@
# -*- coding: utf-8 -*-
"""
The dkpkg module provides a common naming scheme for the parts of a Python
package.
"""
from .directory import Package
5 changes: 3 additions & 2 deletions dkpkg/directory.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
"""
Programatic interface to package structure.
"""
# pylint: disable=too-many-instance-attributes,too-many-locals,R0903

import ConfigParser
from cStringIO import StringIO

Expand Down Expand Up @@ -51,7 +53,6 @@ class DefaultPackage(object):
'build_pytest',
}

# pylint: disable=too-many-instance-attributes
def __init__(self, root, **kw):
#: The abspath to the "working copy".
self.root = Path(root).abspath()
Expand Down Expand Up @@ -162,7 +163,7 @@ def write_ini(self, fname, section):
class Package(DefaultPackage):
"""Package layout with possible overrides.
"""
# pylint: disable=too-many-instance-attributes,too-many-locals,R0903

def __init__(self, root,
name=None,
docs=None,
Expand Down

0 comments on commit ff7f561

Please sign in to comment.