Add servo_tidy_tests into ignore dirs, and modify setup.py to fit the tidy check

- fix the issue of '$ ./mach test-tidy --no-progress'
This commit is contained in:
askeing 2016-04-15 11:16:03 +08:00
parent e20def068e
commit ee433a030c
2 changed files with 12 additions and 2 deletions

View file

@ -56,7 +56,7 @@ ignored_dirs = [
os.path.join(".", "tests", "wpt", "sync"), os.path.join(".", "tests", "wpt", "sync"),
os.path.join(".", "tests", "wpt", "sync_css"), os.path.join(".", "tests", "wpt", "sync_css"),
os.path.join(".", "python", "mach"), 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", "parser"),
os.path.join(".", "components", "script", "dom", "bindings", "codegen", "ply"), os.path.join(".", "components", "script", "dom", "bindings", "codegen", "ply"),
os.path.join(".", "python", "_virtualenv"), os.path.join(".", "python", "_virtualenv"),

View file

@ -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 import os
from setuptools import setup, find_packages from setuptools import setup, find_packages
@ -27,7 +36,8 @@ if __name__ == '__main__':
setup( setup(
name='servo_tidy', name='servo_tidy',
version=VERSION, 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, long_description=long_description,
keywords='mozilla servo tidy ', keywords='mozilla servo tidy ',
author='The Servo Project Developers', author='The Servo Project Developers',