diff --git a/docs/conf.py b/docs/conf.py index f5d317e..aedc33a 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- # yamllint documentation build configuration file, created by # sphinx-quickstart on Thu Jan 21 21:18:52 2016. diff --git a/setup.py b/setup.py index 4318035..25e0422 100644 --- a/setup.py +++ b/setup.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- # Copyright (C) 2016 Adrien Vergé # # This program is free software: you can redistribute it and/or modify diff --git a/tests/__init__.py b/tests/__init__.py index c7c1bd4..da1cd75 100644 --- a/tests/__init__.py +++ b/tests/__init__.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- # Copyright (C) 2016 Adrien Vergé # # This program is free software: you can redistribute it and/or modify diff --git a/tests/common.py b/tests/common.py index 50fd3df..8cbb341 100644 --- a/tests/common.py +++ b/tests/common.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- # Copyright (C) 2016 Adrien Vergé # # This program is free software: you can redistribute it and/or modify diff --git a/tests/rules/test_braces.py b/tests/rules/test_braces.py index cae7014..03636a9 100644 --- a/tests/rules/test_braces.py +++ b/tests/rules/test_braces.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- # Copyright (C) 2016 Adrien Vergé # # This program is free software: you can redistribute it and/or modify diff --git a/tests/rules/test_brackets.py b/tests/rules/test_brackets.py index 41f20a7..e17566b 100644 --- a/tests/rules/test_brackets.py +++ b/tests/rules/test_brackets.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- # Copyright (C) 2016 Adrien Vergé # # This program is free software: you can redistribute it and/or modify diff --git a/tests/rules/test_colons.py b/tests/rules/test_colons.py index 59dc8c4..98f92c5 100644 --- a/tests/rules/test_colons.py +++ b/tests/rules/test_colons.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- # Copyright (C) 2016 Adrien Vergé # # This program is free software: you can redistribute it and/or modify diff --git a/tests/rules/test_commas.py b/tests/rules/test_commas.py index 710bcd0..0d0abd8 100644 --- a/tests/rules/test_commas.py +++ b/tests/rules/test_commas.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- # Copyright (C) 2016 Adrien Vergé # # This program is free software: you can redistribute it and/or modify diff --git a/tests/rules/test_comments.py b/tests/rules/test_comments.py index 7a7bc8a..1f5a20c 100644 --- a/tests/rules/test_comments.py +++ b/tests/rules/test_comments.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- # Copyright (C) 2016 Adrien Vergé # # This program is free software: you can redistribute it and/or modify diff --git a/tests/rules/test_comments_indentation.py b/tests/rules/test_comments_indentation.py index 8e0fe40..0aa5aac 100644 --- a/tests/rules/test_comments_indentation.py +++ b/tests/rules/test_comments_indentation.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- # Copyright (C) 2016 Adrien Vergé # # This program is free software: you can redistribute it and/or modify diff --git a/tests/rules/test_common.py b/tests/rules/test_common.py index 87db047..196b419 100644 --- a/tests/rules/test_common.py +++ b/tests/rules/test_common.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- # Copyright (C) 2016 Adrien Vergé # # This program is free software: you can redistribute it and/or modify diff --git a/tests/rules/test_document_end.py b/tests/rules/test_document_end.py index d62a7e6..927d0a7 100644 --- a/tests/rules/test_document_end.py +++ b/tests/rules/test_document_end.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- # Copyright (C) 2016 Adrien Vergé # # This program is free software: you can redistribute it and/or modify diff --git a/tests/rules/test_document_start.py b/tests/rules/test_document_start.py index 20de9ad..ee2e9d3 100644 --- a/tests/rules/test_document_start.py +++ b/tests/rules/test_document_start.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- # Copyright (C) 2016 Adrien Vergé # # This program is free software: you can redistribute it and/or modify diff --git a/tests/rules/test_empty_lines.py b/tests/rules/test_empty_lines.py index ab17d71..fbecbcd 100644 --- a/tests/rules/test_empty_lines.py +++ b/tests/rules/test_empty_lines.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- # Copyright (C) 2016 Adrien Vergé # # This program is free software: you can redistribute it and/or modify diff --git a/tests/rules/test_empty_values.py b/tests/rules/test_empty_values.py index 137ec3b..dee8a5c 100644 --- a/tests/rules/test_empty_values.py +++ b/tests/rules/test_empty_values.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- # Copyright (C) 2017 Greg Dubicki # # This program is free software: you can redistribute it and/or modify diff --git a/tests/rules/test_hyphens.py b/tests/rules/test_hyphens.py index 648039d..a0ec577 100644 --- a/tests/rules/test_hyphens.py +++ b/tests/rules/test_hyphens.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- # Copyright (C) 2016 Adrien Vergé # # This program is free software: you can redistribute it and/or modify diff --git a/tests/rules/test_indentation.py b/tests/rules/test_indentation.py index 6fc68aa..b819278 100644 --- a/tests/rules/test_indentation.py +++ b/tests/rules/test_indentation.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- # Copyright (C) 2016 Adrien Vergé # # This program is free software: you can redistribute it and/or modify diff --git a/tests/rules/test_key_duplicates.py b/tests/rules/test_key_duplicates.py index 57a80b8..3be7741 100644 --- a/tests/rules/test_key_duplicates.py +++ b/tests/rules/test_key_duplicates.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- # Copyright (C) 2016 Adrien Vergé # # This program is free software: you can redistribute it and/or modify diff --git a/tests/rules/test_key_ordering.py b/tests/rules/test_key_ordering.py index 7e94b81..f71af02 100644 --- a/tests/rules/test_key_ordering.py +++ b/tests/rules/test_key_ordering.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- # Copyright (C) 2017 Johannes F. Knauf # # This program is free software: you can redistribute it and/or modify diff --git a/tests/rules/test_line_length.py b/tests/rules/test_line_length.py index 22a439e..ef68178 100644 --- a/tests/rules/test_line_length.py +++ b/tests/rules/test_line_length.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- # Copyright (C) 2016 Adrien Vergé # # This program is free software: you can redistribute it and/or modify diff --git a/tests/rules/test_new_line_at_end_of_file.py b/tests/rules/test_new_line_at_end_of_file.py index effb2e1..10a0bf0 100644 --- a/tests/rules/test_new_line_at_end_of_file.py +++ b/tests/rules/test_new_line_at_end_of_file.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- # Copyright (C) 2016 Adrien Vergé # # This program is free software: you can redistribute it and/or modify diff --git a/tests/rules/test_new_lines.py b/tests/rules/test_new_lines.py index 23f2957..be370fd 100644 --- a/tests/rules/test_new_lines.py +++ b/tests/rules/test_new_lines.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- # Copyright (C) 2016 Adrien Vergé # # This program is free software: you can redistribute it and/or modify diff --git a/tests/rules/test_octal_values.py b/tests/rules/test_octal_values.py index 87bdbe3..8e8f5e4 100644 --- a/tests/rules/test_octal_values.py +++ b/tests/rules/test_octal_values.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- # Copyright (C) 2016 Adrien Vergé # # This program is free software: you can redistribute it and/or modify diff --git a/tests/rules/test_quoted_strings.py b/tests/rules/test_quoted_strings.py index 79f36bc..9c81d82 100644 --- a/tests/rules/test_quoted_strings.py +++ b/tests/rules/test_quoted_strings.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- # Copyright (C) 2018 ClearScore # # This program is free software: you can redistribute it and/or modify diff --git a/tests/rules/test_trailing_spaces.py b/tests/rules/test_trailing_spaces.py index 0ea4718..016f56e 100644 --- a/tests/rules/test_trailing_spaces.py +++ b/tests/rules/test_trailing_spaces.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- # Copyright (C) 2016 Adrien Vergé # # This program is free software: you can redistribute it and/or modify diff --git a/tests/rules/test_truthy.py b/tests/rules/test_truthy.py index 9229253..c8c8b7a 100644 --- a/tests/rules/test_truthy.py +++ b/tests/rules/test_truthy.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- # Copyright (C) 2016 Peter Ericson # # This program is free software: you can redistribute it and/or modify diff --git a/tests/test_cli.py b/tests/test_cli.py index 95e3fc7..8bce87a 100644 --- a/tests/test_cli.py +++ b/tests/test_cli.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- # Copyright (C) 2016 Adrien Vergé # # This program is free software: you can redistribute it and/or modify diff --git a/tests/test_config.py b/tests/test_config.py index 70a73e0..105ae18 100644 --- a/tests/test_config.py +++ b/tests/test_config.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- # Copyright (C) 2016 Adrien Vergé # # This program is free software: you can redistribute it and/or modify diff --git a/tests/test_linter.py b/tests/test_linter.py index 859a1e5..51714fe 100644 --- a/tests/test_linter.py +++ b/tests/test_linter.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- # Copyright (C) 2016 Adrien Vergé # # This program is free software: you can redistribute it and/or modify diff --git a/tests/test_module.py b/tests/test_module.py index 570992d..299e153 100644 --- a/tests/test_module.py +++ b/tests/test_module.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- # Copyright (C) 2017 Adrien Vergé # # This program is free software: you can redistribute it and/or modify diff --git a/tests/test_parser.py b/tests/test_parser.py index 22145a8..dbeb36b 100644 --- a/tests/test_parser.py +++ b/tests/test_parser.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- # Copyright (C) 2016 Adrien Vergé # # This program is free software: you can redistribute it and/or modify diff --git a/tests/test_spec_examples.py b/tests/test_spec_examples.py index 5d41c26..3e8a5de 100644 --- a/tests/test_spec_examples.py +++ b/tests/test_spec_examples.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- # Copyright (C) 2016 Adrien Vergé # # This program is free software: you can redistribute it and/or modify diff --git a/tests/test_syntax_errors.py b/tests/test_syntax_errors.py index bd4ddd2..507ab5a 100644 --- a/tests/test_syntax_errors.py +++ b/tests/test_syntax_errors.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- # Copyright (C) 2016 Adrien Vergé # # This program is free software: you can redistribute it and/or modify diff --git a/tests/test_yamllint_directives.py b/tests/test_yamllint_directives.py index e0fc0ed..c138144 100644 --- a/tests/test_yamllint_directives.py +++ b/tests/test_yamllint_directives.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- # Copyright (C) 2016 Adrien Vergé # # This program is free software: you can redistribute it and/or modify diff --git a/yamllint/__init__.py b/yamllint/__init__.py index da49d9a..011a84d 100644 --- a/yamllint/__init__.py +++ b/yamllint/__init__.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- # Copyright (C) 2016 Adrien Vergé # # This program is free software: you can redistribute it and/or modify diff --git a/yamllint/cli.py b/yamllint/cli.py index 4d94342..f2be843 100644 --- a/yamllint/cli.py +++ b/yamllint/cli.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- # Copyright (C) 2016 Adrien Vergé # # This program is free software: you can redistribute it and/or modify diff --git a/yamllint/config.py b/yamllint/config.py index a42e744..4fc9ef6 100644 --- a/yamllint/config.py +++ b/yamllint/config.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- # Copyright (C) 2016 Adrien Vergé # # This program is free software: you can redistribute it and/or modify diff --git a/yamllint/linter.py b/yamllint/linter.py index 7e0fb55..2eb0be8 100644 --- a/yamllint/linter.py +++ b/yamllint/linter.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- # Copyright (C) 2016 Adrien Vergé # # This program is free software: you can redistribute it and/or modify diff --git a/yamllint/parser.py b/yamllint/parser.py index de331f4..086613f 100644 --- a/yamllint/parser.py +++ b/yamllint/parser.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- # Copyright (C) 2016 Adrien Vergé # # This program is free software: you can redistribute it and/or modify diff --git a/yamllint/rules/__init__.py b/yamllint/rules/__init__.py index a084d6e..f83f1f3 100644 --- a/yamllint/rules/__init__.py +++ b/yamllint/rules/__init__.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- # Copyright (C) 2016 Adrien Vergé # # This program is free software: you can redistribute it and/or modify diff --git a/yamllint/rules/braces.py b/yamllint/rules/braces.py index d3c03fb..e77cda4 100644 --- a/yamllint/rules/braces.py +++ b/yamllint/rules/braces.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- # Copyright (C) 2016 Adrien Vergé # # This program is free software: you can redistribute it and/or modify diff --git a/yamllint/rules/brackets.py b/yamllint/rules/brackets.py index 01fee87..47d2ad4 100644 --- a/yamllint/rules/brackets.py +++ b/yamllint/rules/brackets.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- # Copyright (C) 2016 Adrien Vergé # # This program is free software: you can redistribute it and/or modify diff --git a/yamllint/rules/colons.py b/yamllint/rules/colons.py index 5d0b41f..486746f 100644 --- a/yamllint/rules/colons.py +++ b/yamllint/rules/colons.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- # Copyright (C) 2016 Adrien Vergé # # This program is free software: you can redistribute it and/or modify diff --git a/yamllint/rules/commas.py b/yamllint/rules/commas.py index fe4888f..e87c8f9 100644 --- a/yamllint/rules/commas.py +++ b/yamllint/rules/commas.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- # Copyright (C) 2016 Adrien Vergé # # This program is free software: you can redistribute it and/or modify diff --git a/yamllint/rules/comments.py b/yamllint/rules/comments.py index 02eddad..1259dea 100644 --- a/yamllint/rules/comments.py +++ b/yamllint/rules/comments.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- # Copyright (C) 2016 Adrien Vergé # # This program is free software: you can redistribute it and/or modify diff --git a/yamllint/rules/comments_indentation.py b/yamllint/rules/comments_indentation.py index 22ab55d..c5e6f88 100644 --- a/yamllint/rules/comments_indentation.py +++ b/yamllint/rules/comments_indentation.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- # Copyright (C) 2016 Adrien Vergé # # This program is free software: you can redistribute it and/or modify diff --git a/yamllint/rules/common.py b/yamllint/rules/common.py index 9893459..06f560c 100644 --- a/yamllint/rules/common.py +++ b/yamllint/rules/common.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- # Copyright (C) 2016 Adrien Vergé # # This program is free software: you can redistribute it and/or modify diff --git a/yamllint/rules/document_end.py b/yamllint/rules/document_end.py index 4e3302f..3fc14ad 100644 --- a/yamllint/rules/document_end.py +++ b/yamllint/rules/document_end.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- # Copyright (C) 2016 Adrien Vergé # # This program is free software: you can redistribute it and/or modify diff --git a/yamllint/rules/document_start.py b/yamllint/rules/document_start.py index 9bab4b4..f1d6667 100644 --- a/yamllint/rules/document_start.py +++ b/yamllint/rules/document_start.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- # Copyright (C) 2016 Adrien Vergé # # This program is free software: you can redistribute it and/or modify diff --git a/yamllint/rules/empty_lines.py b/yamllint/rules/empty_lines.py index e2aeb8e..73a9fd1 100644 --- a/yamllint/rules/empty_lines.py +++ b/yamllint/rules/empty_lines.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- # Copyright (C) 2016 Adrien Vergé # # This program is free software: you can redistribute it and/or modify diff --git a/yamllint/rules/empty_values.py b/yamllint/rules/empty_values.py index e3e461f..bdc773d 100644 --- a/yamllint/rules/empty_values.py +++ b/yamllint/rules/empty_values.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- # Copyright (C) 2017 Greg Dubicki # # This program is free software: you can redistribute it and/or modify diff --git a/yamllint/rules/hyphens.py b/yamllint/rules/hyphens.py index 1c0fef8..50e4d6d 100644 --- a/yamllint/rules/hyphens.py +++ b/yamllint/rules/hyphens.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- # Copyright (C) 2016 Adrien Vergé # # This program is free software: you can redistribute it and/or modify diff --git a/yamllint/rules/indentation.py b/yamllint/rules/indentation.py index e353e06..dfee0f2 100644 --- a/yamllint/rules/indentation.py +++ b/yamllint/rules/indentation.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- # Copyright (C) 2016 Adrien Vergé # # This program is free software: you can redistribute it and/or modify diff --git a/yamllint/rules/key_duplicates.py b/yamllint/rules/key_duplicates.py index af294c9..371d2ed 100644 --- a/yamllint/rules/key_duplicates.py +++ b/yamllint/rules/key_duplicates.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- # Copyright (C) 2016 Adrien Vergé # # This program is free software: you can redistribute it and/or modify diff --git a/yamllint/rules/key_ordering.py b/yamllint/rules/key_ordering.py index c5cb45a..ddbc24f 100644 --- a/yamllint/rules/key_ordering.py +++ b/yamllint/rules/key_ordering.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- # Copyright (C) 2017 Johannes F. Knauf # # This program is free software: you can redistribute it and/or modify diff --git a/yamllint/rules/line_length.py b/yamllint/rules/line_length.py index cfc328c..e7cc8bc 100644 --- a/yamllint/rules/line_length.py +++ b/yamllint/rules/line_length.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- # Copyright (C) 2016 Adrien Vergé # # This program is free software: you can redistribute it and/or modify diff --git a/yamllint/rules/new_line_at_end_of_file.py b/yamllint/rules/new_line_at_end_of_file.py index 90b1cc2..9a334c8 100644 --- a/yamllint/rules/new_line_at_end_of_file.py +++ b/yamllint/rules/new_line_at_end_of_file.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- # Copyright (C) 2016 Adrien Vergé # # This program is free software: you can redistribute it and/or modify diff --git a/yamllint/rules/new_lines.py b/yamllint/rules/new_lines.py index fb3ea83..6dbd180 100644 --- a/yamllint/rules/new_lines.py +++ b/yamllint/rules/new_lines.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- # Copyright (C) 2016 Adrien Vergé # # This program is free software: you can redistribute it and/or modify diff --git a/yamllint/rules/octal_values.py b/yamllint/rules/octal_values.py index c9a5574..5bf0b66 100644 --- a/yamllint/rules/octal_values.py +++ b/yamllint/rules/octal_values.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- # Copyright (C) 2017 ScienJus # # This program is free software: you can redistribute it and/or modify diff --git a/yamllint/rules/quoted_strings.py b/yamllint/rules/quoted_strings.py index 1ef18db..7dfb613 100644 --- a/yamllint/rules/quoted_strings.py +++ b/yamllint/rules/quoted_strings.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- # Copyright (C) 2018 ClearScore # # This program is free software: you can redistribute it and/or modify diff --git a/yamllint/rules/trailing_spaces.py b/yamllint/rules/trailing_spaces.py index 2fc4bbb..2295714 100644 --- a/yamllint/rules/trailing_spaces.py +++ b/yamllint/rules/trailing_spaces.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- # Copyright (C) 2016 Adrien Vergé # # This program is free software: you can redistribute it and/or modify diff --git a/yamllint/rules/truthy.py b/yamllint/rules/truthy.py index 7f91565..6387e45 100644 --- a/yamllint/rules/truthy.py +++ b/yamllint/rules/truthy.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- # Copyright (C) 2016 Peter Ericson # # This program is free software: you can redistribute it and/or modify