0016390e78 
								
							
								 
							
						 
						
							
							
								
								yamllint version 1.24.0  
							
							
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								9e90c777cb 
								
									
								
							
								 
							
						 
						
							
							
								
								Add global "locale" config option and make key-ordering rule locale-aware  
							
							... 
							
							
							
							Support sorting by locale with strcoll(). Properly handle case and accents. 
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								a2218988ee 
								
									
								
							
								 
							
						 
						
							
							
								
								config: Do no match directories that look like YAML files  
							
							... 
							
							
							
							Fixes  #279  
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								954fdd5e8f 
								
							
								 
							
						 
						
							
							
								
								style: Fix 'noqa' for flake8 3.8.0  
							
							... 
							
							
							
							There was a change in behavior of E402, see:
https://gitlab.com/pycqa/flake8/-/issues/638#note_345108633  
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								bbcad943b6 
								
									
								
							
								 
							
						 
						
							
							
								
								style: Ignore flake8 warnings W503 and W504  
							
							... 
							
							
							
							Avoid W503/W504 with current code as the current code not compliant
and they are contradictory. 
							
						 
						
							6 years ago  
				
					
						
							
							
								 
						
							
							
								30c90dbf70 
								
							
								 
							
						 
						
							
							
								
								Add contribution instructions in CONTRIBUTING.rst  
							
							... 
							
							
							
							Closes https://github.com/adrienverge/yamllint/issues/263 . 
							
						 
						
							6 years ago  
				
					
						
							
							
								 
						
							
							
								512fe17047 
								
									
								
							
								 
							
						 
						
							
							
								
								Fix bug with CRLF in new-lines and require-starting-space  
							
							... 
							
							
							
							Pound-signs followed by a lone CRLF should not
raise if require-starting-space is specified.
If require-starting-space is true, *and* either:
- new-lines: disbale, or
- newlines: type: dos
is specified, a line with `#\r` or `#\r\n` should
not raise a false positive.
This commit also uses a Set for O(1) membership testing
and uses the correct escape sequence for the nul byte.
If we find a CRLF when looking for Unix newlines, yamllint
should always raise, regardless of logic with
require-starting-space.
Closes: Issue #171 . 
							
						 
						
							6 years ago  
				
					
						
							
							
								 
						
							
							
								278a79f093 
								
							
								 
							
						 
						
							
							
								
								Mention YAMLLINT_CONFIG_FILE in the documentation  
							
							
							
						 
						
							6 years ago  
				
					
						
							
							
								 
						
							
							
								e98aacf62c 
								
							
								 
							
						 
						
							
							
								
								Add Python 3.8 to PyPI/trove classifier data  
							
							... 
							
							
							
							3.8 is now formally supported in .travis.yml
as of this commit. 
							
						 
						
							6 years ago  
				
					
						
							
							
								 
						
							
							
								94c0416f6b 
								
									
								
							
								 
							
						 
						
							
							
								
								Specify config with environment variable YAMLLINT_CONFIG_FILE  
							
							... 
							
							
							
							Add option to specify config file with environment variable.
Add test case. 
							
						 
						
							6 years ago  
				
					
						
							
							
								 
						
							
							
								a54cbce1b6 
								
							
								 
							
						 
						
							
							
								
								yamllint version 1.23.0  
							
							
							
						 
						
							6 years ago  
				
					
						
							
							
								 
						
							
							
								b711fd993e 
								
							
								 
							
						 
						
							
							
								
								quoted-strings: Add options extra-required and extra-allowed  
							
							... 
							
							
							
							Add ability to:
- require strings to be quoted if they match a pattern (PCRE regex)
- allow quoted strings if they match a pattern, while `require:
  only-when-needed` is enforced.
Co-Authored-By: Leo Feyer (https://github.com/adrienverge/yamllint/pull/246 ) 
							
						 
						
							6 years ago  
				
					
						
							
							
								 
						
							
							
								d68022b846 
								
							
								 
							
						 
						
							
							
								
								config: Allow generic types inside lists  
							
							... 
							
							
							
							For example it's possible to define a conf like:
    rule:
      foo: [str],
      bar: [int, bool, 'magic'], 
							
						 
						
							6 years ago  
				
					
						
							
							
								 
						
							
							
								851d34b9fd 
								
							
								 
							
						 
						
							
							
								
								config: Allow rules to validate their configuration  
							
							
							
						 
						
							6 years ago  
				
					
						
							
							
								 
						
							
							
								483a8d89a5 
								
							
								 
							
						 
						
							
							
								
								yamllint version 1.22.1  
							
							
							
						 
						
							6 years ago  
				
					
						
							
							
								 
						
							
							
								fa87913566 
								
							
								 
							
						 
						
							
							
								
								quoted-strings: Fix only-when-needed on corner cases  
							
							... 
							
							
							
							Change implementation of `required: only-when-needed`, because
maintaining a list of `START_TOKENS` and just looking at the first
character of string values has proven to be partially broken.
Cf. discussion at
https://github.com/adrienverge/yamllint/pull/246#issuecomment-612354097 .
Fixes https://github.com/adrienverge/yamllint/issues/242  and
https://github.com/adrienverge/yamllint/pull/244 . 
							
						 
						
							6 years ago  
				
					
						
							
							
								 
						
							
							
								961c496b4f 
								
							
								 
							
						 
						
							
							
								
								yamllint version 1.22.0  
							
							
							
						 
						
							6 years ago  
				
					
						
							
							
								 
						
							
							
								ce7d3fcc7b 
								
							
								 
							
						 
						
							
							
								
								quoted-strings: Remove test_quotes_required()  
							
							... 
							
							
							
							It is exactly the same tests as `test_quote_type_any()`. 
							
						 
						
							6 years ago  
				
					
						
							
							
								 
						
							
							
								0bffba1e13 
								
							
								 
							
						 
						
							
							
								
								quoted-strings: Remove test_single_quotes_required()  
							
							... 
							
							
							
							It is exactly the same tests as `test_quote_type_single()`. 
							
						 
						
							6 years ago  
				
					
						
							
							
								 
						
							
							
								2d8639c3a1 
								
							
								 
							
						 
						
							
							
								
								quoted-strings: Fix broken rule for list items  
							
							... 
							
							
							
							The rule worked for values like:
    flow-map: {a: foo, b: "bar"}
    block-map:
      a: foo
      b: "bar"
But not for:
    flow-seq: [foo, "bar"]
    block-seq:
      - foo
      - "bar"
Also add tests to make sure there will be no regression.
Fixes : #208 . 
							
						 
						
							6 years ago  
				
					
						
							
							
								 
						
							
							
								e284d74be1 
								
							
								 
							
						 
						
							
							
								
								quoted-strings: Rename tests names for clarity  
							
							... 
							
							
							
							And move only-when-needed tests at the end for readability. 
							
						 
						
							6 years ago  
				
					
						
							
							
								 
						
							
							
								1a13837e84 
								
							
								 
							
						 
						
							
							
								
								docs: Sunset Python 2  
							
							... 
							
							
							
							Keep supporting Python 2.7 for one extra year after upstream dropped it:
https://www.python.org/doc/sunset-python-2/  
							
						 
						
							6 years ago  
				
					
						
							
							
								 
						
							
							
								46ed0c02be 
								
							
								 
							
						 
						
							
							
								
								truthy: Add missing test removed from PR  
							
							... 
							
							
							
							See https://github.com/adrienverge/yamllint/pull/247#discussion_r405421376 . 
							
						 
						
							6 years ago  
				
					
						
							
							
								 
						
							
							
								6ce11dedb4 
								
							
								 
							
						 
						
							
							
								
								truthy: add `check-keys` option  
							
							
							
						 
						
							6 years ago  
				
					
						
							
							
								 
						
							
							
								542ae758f5 
								
							
								 
							
						 
						
							
							
								
								yamllint version 1.21.0  
							
							
							
						 
						
							6 years ago  
				
					
						
							
							
								 
						
							
							
								3a6a09b7b6 
								
							
								 
							
						 
						
							
							
								
								Add support for redundant quotes in quoted-strings rule  
							
							... 
							
							
							
							Co-Authored-By: Adrien Vergé 
							
						 
						
							6 years ago  
				
					
						
							
							
								 
						
							
							
								15aea73fbe 
								
									
								
							
								 
							
						 
						
							
							
								
								Fix quoted-strings rules not working for string values matching scalars  
							
							
							
						 
						
							6 years ago  
				
					
						
							
							
								 
						
							
							
								91763f5476 
								
							
								 
							
						 
						
							
							
								
								Fix new-lines rule on Python 3  
							
							... 
							
							
							
							Use io.open() when reading files in cli which has the same behaviour
in Python 2 and Python 3, and supply the newline='' parameter which
handles but does not translate line endings.
Add dos.yml test file with windows newlines.
Also add to file finding test expected output.
Add test for new-lines rule through the cli.
Validates files are read with the correct universal newlines setting.
Fixes  adrienverge/yamllint#228  
							
						 
						
							6 years ago  
				
					
						
							
							
								 
						
							
							
								5b049e4229 
								
							
								 
							
						 
						
							
							
								
								Add RunContext helper for cli tests  
							
							... 
							
							
							
							Single context manager that includes exit code and output streams.
Use new RunContext throughout test_cli.
Largely non-functional change, saving some repetition of setup.
Also improve some failures by bundling multiple assertions into one. 
							
						 
						
							6 years ago  
				
					
						
							
							
								 
						
							
							
								044c7f0248 
								
							
								 
							
						 
						
							
							
								
								cli: Test unicode chars in paths too  
							
							
							
						 
						
							6 years ago  
				
					
						
							
							
								 
						
							
							
								734d5d5f73 
								
							
								 
							
						 
						
							
							
								
								CI: Run tests on Python 3.8  
							
							... 
							
							
							
							Python 3.8 was released in October 2019. 
							
						 
						
							6 years ago  
				
					
						
							
							
								 
						
							
							
								fd86455076 
								
							
								 
							
						 
						
							
							
								
								CI: Disable building on Python 3.4  
							
							... 
							
							
							
							As can be seen in https://travis-ci.org/adrienverge/yamllint/builds/631325436?utm_source=github_status&utm_medium=notification 
The dependency, pathspec, requires Python '>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*' but the running Python is 3.4.8
This commit stops Travis building yamllint against 3.4 so that CI can pass again. 
							
						 
						
							6 years ago  
				
					
						
							
							
								 
						
							
							
								13a0f11e7c 
								
							
								 
							
						 
						
							
							
								
								yamllint version 1.20.0  
							
							
							
						 
						
							6 years ago  
				
					
						
							
							
								 
						
							
							
								43b95e99d1 
								
							
								 
							
						 
						
							
							
								
								Use 'syntax' as rule name upon syntax errors  
							
							
							
						 
						
							6 years ago  
				
					
						
							
							
								 
						
							
							
								8fa9eb3ced 
								
							
								 
							
						 
						
							
							
								
								Add --no-warnings option to suppress warning messages  
							
							... 
							
							
							
							Use `--no-warnings` option to hide warning messages. It only shows
problems marked as errors. 
							
						 
						
							6 years ago  
				
					
						
							
							
								 
						
							
							
								da3788e95a 
								
							
								 
							
						 
						
							
							
								
								yamllint version 1.19.0  
							
							
							
						 
						
							6 years ago  
				
					
						
							
							
								 
						
							
							
								fb400dc64b 
								
							
								 
							
						 
						
							
							
								
								Allow disabling all checks for a file  
							
							... 
							
							
							
							Allow disabling of a file, even if it is invalid YAML (syntax error) by
including `# yamllint disable-file` in the first line. 
							
						 
						
							6 years ago  
				
					
						
							
							
								 
						
							
							
								92324ae730 
								
							
								 
							
						 
						
							
							
								
								yamllint version 1.18.0  
							
							
							
						 
						
							6 years ago  
				
					
						
							
							
								 
						
							
							
								7359785ea0 
								
							
								 
							
						 
						
							
							
								
								fix(default.yaml): disable `empty-values` & `octal-values` by default  
							
							... 
							
							
							
							* Close  #204  
							
						 
						
							6 years ago  
				
					
						
							
							
								 
						
							
							
								579a975b70 
								
							
								 
							
						 
						
							
							
								
								docs: Fix pre-commit config file  
							
							... 
							
							
							
							* pre-commit show warning for unsupported key (sha)
* Demonstrate how to use custom yamllint 
							
						 
						
							6 years ago  
				
					
						
							
							
								 
						
							
							
								f3d9196aa0 
								
							
								 
							
						 
						
							
							
								
								docs(configuration): improve `yaml-files` code example  
							
							... 
							
							
							
							* A straight copy/paste of the existing example into the `.yamllint` file results in a `yamllint` error! 
							
						 
						
							6 years ago  
				
					
						
							
							
								 
						
							
							
								881d301883 
								
							
								 
							
						 
						
							
							
								
								feat: Support reading config from .yamllint.yml and .yamllint.yaml  
							
							... 
							
							
							
							Signed-off-by: Ibrahim AshShohail <me@ibrasho.com> 
							
						 
						
							6 years ago  
				
					
						
							
							
								 
						
							
							
								b62b424dd4 
								
							
								 
							
						 
						
							
							
								
								feat: Lint .yamllint by default  
							
							
							
						 
						
							6 years ago  
				
					
						
							
							
								 
						
							
							
								ce0336e430 
								
							
								 
							
						 
						
							
							
								
								yamllint version 1.17.0  
							
							
							
						 
						
							6 years ago  
				
					
						
							
							
								 
						
							
							
								063c854658 
								
							
								 
							
						 
						
							
							
								
								feat: Make YAML file extensions configurable  
							
							
							
						 
						
							6 years ago  
				
					
						
							
							
								 
						
							
							
								673bdbd324 
								
							
								 
							
						 
						
							
							
								
								fix(truthy): Fix extra whitespace  
							
							
							
						 
						
							6 years ago  
				
					
						
							
							
								 
						
							
							
								cb5fe2c050 
								
							
								 
							
						 
						
							
							
								
								add OpenBSD installation instructions.  
							
							
							
						 
						
							6 years ago  
				
					
						
							
							
								 
						
							
							
								930c8eea94 
								
							
								 
							
						 
						
							
							
								
								docs: Simplify installation instruction in the README  
							
							
							
						 
						
							6 years ago  
				
					
						
							
							
								 
						
							
							
								f6a24552d9 
								
							
								 
							
						 
						
							
							
								
								yamllint version 1.16.0  
							
							
							
						 
						
							6 years ago  
				
					
						
							
							
								 
						
							
							
								0ba193331b 
								
							
								 
							
						 
						
							
							
								
								truthy: Validate options passed to 'allowed-values'  
							
							... 
							
							
							
							Make sure values passed in allowed values are correct ones. This is
possible thanks to previous commit, and should prevent users from
writing incorrect configurations. 
							
						 
						
							6 years ago