Skip to content

Commit

Permalink
Add servo_tidy_tests into ignore dirs, and modify setup.py to fit the…
Browse files Browse the repository at this point in the history
… tidy check

- fix the issue of '$ ./mach test-tidy --no-progress'
  • Loading branch information
askeing committed Apr 15, 2016
1 parent e20def0 commit ee433a0
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
2 changes: 1 addition & 1 deletion python/tidy/servo_tidy/tidy.py
Expand Up @@ -56,7 +56,7 @@
os.path.join(".", "tests", "wpt", "sync"),
os.path.join(".", "tests", "wpt", "sync_css"),
os.path.join(".", "python", "mach"),
os.path.join(".", "python", "tidy_self_test"),
os.path.join(".", "python", "tidy", "servo_tidy_tests"),
os.path.join(".", "components", "script", "dom", "bindings", "codegen", "parser"),
os.path.join(".", "components", "script", "dom", "bindings", "codegen", "ply"),
os.path.join(".", "python", "_virtualenv"),
Expand Down
12 changes: 11 additions & 1 deletion python/tidy/setup.py
@@ -1,3 +1,12 @@
# Copyright 2013 The Servo Project Developers. See the COPYRIGHT
# file at the top-level directory of this distribution.
#
# Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
# http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
# <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
# option. This file may not be copied, modified, or distributed
# except according to those terms.

import os
from setuptools import setup, find_packages

Expand Down Expand Up @@ -27,7 +36,8 @@
setup(
name='servo_tidy',
version=VERSION,
description='The servo-tidy is used to check licenses, line lengths, whitespace, flake8 on Python files, lock file versions, and more.',
description='The servo-tidy is used to check licenses, '
'line lengths, whitespace, flake8 on Python files, lock file versions, and more.',
long_description=long_description,
keywords='mozilla servo tidy ',
author='The Servo Project Developers',
Expand Down

0 comments on commit ee433a0

Please sign in to comment.