Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(17)

Side by Side Diff: tools/checklicenses/checklicenses.py

Issue 1920403002: [content/test/gpu] Run pylint check of gpu tests in unittest instead of PRESUBMIT (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update path to LICENSE.txt of logilab/README.chromium Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « third_party/pylint/pylint/utils.py ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/usr/bin/env python 1 #!/usr/bin/env python
2 # Copyright (c) 2012 The Chromium Authors. All rights reserved. 2 # Copyright (c) 2012 The Chromium Authors. All rights reserved.
3 # Use of this source code is governed by a BSD-style license that can be 3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file. 4 # found in the LICENSE file.
5 5
6 """Makes sure that all files contain proper licensing information.""" 6 """Makes sure that all files contain proper licensing information."""
7 7
8 8
9 import json 9 import json
10 import optparse 10 import optparse
(...skipping 630 matching lines...) Expand 10 before | Expand all | Expand 10 after
641 'UNKNOWN', 641 'UNKNOWN',
642 ], 642 ],
643 # Not shipped, MIT license but the header files contain no licensing info. 643 # Not shipped, MIT license but the header files contain no licensing info.
644 'third_party/catapult/telemetry/third_party/modulegraph': [ 644 'third_party/catapult/telemetry/third_party/modulegraph': [
645 'UNKNOWN', 645 'UNKNOWN',
646 ], 646 ],
647 'third_party/catapult/telemetry/third_party/pyserial': [ 647 'third_party/catapult/telemetry/third_party/pyserial': [
648 # https://sourceforge.net/p/pyserial/feature-requests/35/ 648 # https://sourceforge.net/p/pyserial/feature-requests/35/
649 'UNKNOWN', 649 'UNKNOWN',
650 ], 650 ],
651 # Not shipped, GPL license but some header files contain no licensing info.
652 'third_party/logilab/logilab/astroid': [
653 'GPL (v2 or later)',
654 # https://github.com/PyCQA/astroid/issues/336
655 'UNKNOWN',
656 ],
657 # Not shipped, GPL license but some header files contain no licensing info.
658 'third_party/logilab/logilab/common': [
659 'GPL (v2 or later)',
660 # Look for email by nednguyen@google.com in May 5th in
661 # https://lists.logilab.org/pipermail/python-projects/
662 'UNKNOWN',
663 ],
664 # Not shipped, GPL license but some header files contain no licensing info.
665 'third_party/pylint': [
666 'GPL (v2 or later)',
667 # https://github.com/PyCQA/pylint/issues/894
668 'UNKNOWN',
669 ],
651 } 670 }
652 671
653 EXCLUDED_PATHS = [ 672 EXCLUDED_PATHS = [
654 # Don't check generated files 673 # Don't check generated files
655 'out/', 674 'out/',
656 675
657 # Don't check downloaded goma client binaries 676 # Don't check downloaded goma client binaries
658 'build/goma/client', 677 'build/goma/client',
659 678
660 # Don't check sysroot directories 679 # Don't check sysroot directories
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after
787 action='store_true', 806 action='store_true',
788 default=False, 807 default=False,
789 help='Ignore path-specific license whitelist.') 808 help='Ignore path-specific license whitelist.')
790 option_parser.add_option('--json', help='Path to JSON output file') 809 option_parser.add_option('--json', help='Path to JSON output file')
791 options, args = option_parser.parse_args() 810 options, args = option_parser.parse_args()
792 return check_licenses(options, args) 811 return check_licenses(options, args)
793 812
794 813
795 if '__main__' == __name__: 814 if '__main__' == __name__:
796 sys.exit(main()) 815 sys.exit(main())
OLDNEW
« no previous file with comments | « third_party/pylint/pylint/utils.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698