From ee433a030c306990f14a0dbbf91f1d4bf5e3003c Mon Sep 17 00:00:00 2001 From: askeing Date: Fri, 15 Apr 2016 11:16:03 +0800 Subject: 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' --- python/tidy/servo_tidy/tidy.py | 2 +- python/tidy/setup.py | 12 +++++++++++- 2 files changed, 12 insertions(+), 2 deletions(-) (limited to 'python/tidy') diff --git a/python/tidy/servo_tidy/tidy.py b/python/tidy/servo_tidy/tidy.py index 6110a9ea4eb..43c4eb6dc69 100644 --- a/python/tidy/servo_tidy/tidy.py +++ b/python/tidy/servo_tidy/tidy.py @@ -56,7 +56,7 @@ ignored_dirs = [ 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"), diff --git a/python/tidy/setup.py b/python/tidy/setup.py index 9b87bf9c8bb..81b788e6c14 100644 --- a/python/tidy/setup.py +++ b/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 or the MIT license +# , 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 @@ -27,7 +36,8 @@ if __name__ == '__main__': 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', -- cgit v1.2.3