Skip to content

Commit

Permalink
Merge pull request #74 from w3c/revert-localpaths
Browse files Browse the repository at this point in the history
Go back to importing localpaths at lint's top level.
  • Loading branch information
jgraham committed Jun 8, 2016
2 parents 5e3525d + 2ee850e commit 2264642
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@ install:
- pip install ./html5lib
- pip install pytest-travis-fold
script:
- py.test lint manifest
- py.test manifest
- flake8
6 changes: 3 additions & 3 deletions lint/lint.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@

from collections import defaultdict

from .. import localpaths

from manifest.sourcefile import SourceFile
from six import iteritems
from six.moves import range

Expand Down Expand Up @@ -153,8 +156,6 @@ def check_regexp_line(repo_root, path, f):
return errors

def check_parsed(repo_root, path, f):
from manifest.sourcefile import SourceFile

source_file = SourceFile(repo_root, path, "/")

errors = []
Expand Down Expand Up @@ -251,7 +252,6 @@ def parse_args():
return parser.parse_args()

def main():
from .. import localpaths
repo_root = localpaths.repo_root
args = parse_args()
paths = args.paths if args.paths else all_git_paths(repo_root)
Expand Down

0 comments on commit 2264642

Please sign in to comment.