36b4776778 
								
							
								 
							
						 
						
							
							
								
								Clarify documentation on the 'truthy' rule  
							
							... 
							
							
							
							I like the 'truthy' rule but its documentation and message have confused several of my colleagues. I've tried rewriting it to be clearer. 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								3bdc1b6e1b 
								
							
								 
							
						 
						
							
							
								
								CI: Don't install Sphinx if Python 2  
							
							... 
							
							
							
							Recently builds started to fail with:
    Collecting sphinx
      Downloading Sphinx-1.7.2-py2.py3-none-any.whl (1.9MB)
        100% |████████████████████████████████| 1.9MB 731kB/s
    Sphinx requires Python '>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*'
    but the running Python is 2.6.9 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								c16934117b 
								
							
								 
							
						 
						
							
							
								
								CI: Remove Travis hack for enum34 crashing on Python 3.6  
							
							... 
							
							
							
							Revert commit 8b9eab3 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								8ab680635b 
								
							
								 
							
						 
						
							
							
								
								docs: Make `ignore` examples clearer  
							
							... 
							
							
							
							[Solved](https://github.com/metacloud/molecule/issues/1228 ), when
yamllint is used by molecule. 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								503bde9e70 
								
							
								 
							
						 
						
							
							
								
								pre-commit is now served over https!  
							
							
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								1b379628d7 
								
							
								 
							
						 
						
							
							
								
								key-duplicates: Handle merge keys (<<)  
							
							... 
							
							
							
							Merge keys are described here: http://yaml.org/type/merge.html 
They shouldn't be considered as duplicated keys.
Fixes https://github.com/adrienverge/yamllint/issues/88  
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								6a842229fd 
								
							
								 
							
						 
						
							
							
								
								yamllint version 1.11.0  
							
							
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								8b9eab33bf 
								
							
								 
							
						 
						
							
							
								
								CI: Fix failing tests for Python 3.6 because of flake8-import-order  
							
							... 
							
							
							
							See issue https://github.com/PyCQA/flake8-import-order/issues/149  
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								22e792a433 
								
							
								 
							
						 
						
							
							
								
								Feature: checking octal numbers  
							
							
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								f713dc8be2 
								
							
								 
							
						 
						
							
							
								
								style: Fix E100 and E202 errors reported by pycodestyle  
							
							
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								a92743c8ca 
								
							
								 
							
						 
						
							
							
								
								yamllint version 1.10.0  
							
							
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								501def327d 
								
							
								 
							
						 
						
							
							
								
								tests: Use `sys.executable` instead of hard-coded 'python'  
							
							... 
							
							
							
							To test yamllint as a module, tests run commands like
`python -m yamllint`. But some environments (like continuous integration
of Debian or CentOS) don't always include the `python` executable (they
use `python3` instead).
Let's dynamically detect the Python executable path. 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								ed5d319df8 
								
							
								 
							
						 
						
							
							
								
								tests: Use en_US.UTF-8 locale when C.UTF-8 not available  
							
							... 
							
							
							
							Some operating systems don't have the `C.UTF-8` locale installed yet
(for instance, CentOS 7). In such a case, fallback to `en_US.UTF-8` so
that tests can be run.
This follows commit 92ff315 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								6ec1e7b54a 
								
							
								 
							
						 
						
							
							
								
								Distribution: Include tests in dist file  
							
							... 
							
							
							
							Since commit e948509 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								c4475ece34 
								
							
								 
							
						 
						
							
							
								
								empty-values: Add `forbid-in-flow-mappings` conf  
							
							... 
							
							
							
							This allows preventing implicit `null` from empty values in flow
mappings.
For example:
    {a:}
    {a:, b: 2}
    {
      a: {
        b: ,
        c: {
          d: 4,
          e:
        }
      },
      f:
    } 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								8537b0a164 
								
							
								 
							
						 
						
							
							
								
								Add rule: empty-values, to forbid implicit nulls  
							
							... 
							
							
							
							only in block mappings for now 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								83ea74e2f8 
								
							
								 
							
						 
						
							
							
								
								CI: Compile documentation on Travis  
							
							
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								e43768f203 
								
							
								 
							
						 
						
							
							
								
								Better color support check.  
							
							... 
							
							
							
							Not all systems have `isatty` attribute on `sys.stdout` so check for
existance of attribute before checking value. Also don't use color in
Windows unless environ indicates support. Apparently, Windows can indicate
support by either the presence of `ANSICON` environ variable or if the
`TERM` environ variable is set to `ANSI`. Fixes  #79 .
No additional tests added, as the relevant tests use fcntl, which is a
Unix only lib. In fact, the tests won't even run in Windows. 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								d422274563 
								
							
								 
							
						 
						
							
							
								
								style: Fix E722 errors reported by pycodestyle  
							
							... 
							
							
							
							Since a few days ago pycodestyle (formerly called pep8) has a new check:
E722 warning for bare except clauses.
Let's fix our code. 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								2d931b5a81 
								
							
								 
							
						 
						
							
							
								
								yamllint version 1.9.0  
							
							
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								773bfc0f3c 
								
							
								 
							
						 
						
							
							
								
								key-ordering: Add more test cases and documentation  
							
							
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								1543d0e435 
								
							
								 
							
						 
						
							
							
								
								New rule key-ordering  
							
							... 
							
							
							
							closes  #67  
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								f82346dac7 
								
							
								 
							
						 
						
							
							
								
								indentation: Add more test cases for key following empty list  
							
							
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								ca540c113b 
								
							
								 
							
						 
						
							
							
								
								Fix indentation rule for key following empty list  
							
							... 
							
							
							
							If a key-value pair follows an empty list, i.e.:
```yaml
a:
-
b: c
```
yamllint will complain:
```
warning  wrong indentation: expected 2 but found 0  (indentation)
```
This is because it is expecting the second key to be a continuation of
the block entry above:
```yaml
a:
-
  b: c
```
However, both are perfectly valid, though structurally different. 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								c8fc170ff0 
								
							
								 
							
						 
						
							
							
								
								yamllint version 1.8.2  
							
							
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								c4a3e15ff0 
								
							
								 
							
						 
						
							
							
								
								docs(readthedocs): Fix builds on yamllint.readthedocs.io  
							
							... 
							
							
							
							Documentation builds on readthedocs.io partly fail because some modules
imported by yammlint cannot be imported in Sphinx automodule.
This commit fixes that using the tip at [1].
Closes  #66 
[1]: http://docs.readthedocs.io/en/latest/faq.html#i-get-import-errors-on-libraries-that-depend-on-c-modules  
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								db57127971 
								
							
								 
							
						 
						
							
							
								
								docs(integration): Fix pre-commit config file  
							
							
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								c8e516be2f 
								
							
								 
							
						 
						
							
							
								
								Add documentation for pre-commit  
							
							
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								1c0dd48ccd 
								
							
								 
							
						 
						
							
							
								
								Update pre-commit hook file  
							
							
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								f4edb85a04 
								
							
								 
							
						 
						
							
							
								
								fix(config): Be clearer about the `ignore` conf type  
							
							
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								d99bb9fec3 
								
							
								 
							
						 
						
							
							
								
								yamllint version 1.8.1  
							
							
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								3c4013fda1 
								
							
								 
							
						 
						
							
							
								
								docs(CHANGELOG): Add a changelog  
							
							... 
							
							
							
							Closes  #57  
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								1a961bd4b0 
								
							
								 
							
						 
						
							
							
								
								chore(tests): Also run tests on Python 2.6  
							
							
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								7a8cfeed6d 
								
							
								 
							
						 
						
							
							
								
								chore(deps): Require pathspec >= 0.5.3  
							
							... 
							
							
							
							This new version adds support for Python 2.6. 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								f9709bc6e6 
								
							
								 
							
						 
						
							
							
								
								yamllint version 1.8.0  
							
							
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								5060917e40 
								
							
								 
							
						 
						
							
							
								
								style(cli): Space import sections  
							
							
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								a052cf7dba 
								
							
								 
							
						 
						
							
							
								
								chore(tests): Add flake8-import-order linter plugin  
							
							
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								ae33716529 
								
							
								 
							
						 
						
							
							
								
								chore(tests): Also run tests on Python 3.6  
							
							
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								df26cc0438 
								
							
								 
							
						 
						
							
							
								
								feat(config): Add support to ignore paths on per-rule basis  
							
							... 
							
							
							
							Example of configuration to use this feature:
    # For all rules
    ignore: |
      *.dont-lint-me.yaml
      /bin/
      !/bin/*.lint-me-anyway.yaml
    rules:
      key-duplicates:
        ignore: |
          generated
          *.template.yaml
      trailing-spaces:
        ignore: |
          *.ignore-trailing-spaces.yaml
          /ascii-art/*
Closes  #43 . 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								342d7b49dd 
								
							
								 
							
						 
						
							
							
								
								tests(cli): Create a temp test workspace only once  
							
							... 
							
							
							
							Do not re-create it for every test in the class. 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								7d638d47b9 
								
							
								 
							
						 
						
							
							
								
								tests(cli): Refactor temp test workspace recreation  
							
							... 
							
							
							
							Make it simpler and re-usable. 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								db116eaaaf 
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #51  from sedrubal/feature_use-argparse-mutually_exclusive_group  
							
							... 
							
							
							
							Use argparse mutually_exclusive_group for --config-file and --config-data 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								30dfa78923 
								
									
								
							
								 
							
						 
						
							
							
								
								Use argparse mutually_exclusive_group for --config-file and --config-data  
							
							... 
							
							
							
							This does the same as your solution 😉  
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								4ae829c062 
								
							
								 
							
						 
						
							
							
								
								yamllint version 1.7.0  
							
							
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								400aa084da 
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #46  from krzysztof-magosa/master  
							
							... 
							
							
							
							Add information about Emacs integration 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								a825645cbe 
								
							
								 
							
						 
						
							
							
								
								Add information about Emacs integration  
							
							
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								1764e32def 
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #45  from jayvdb/add-__main__  
							
							... 
							
							
							
							Add __main__ 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								d6a81f1b23 
								
							
								 
							
						 
						
							
							
								
								Add tests for `python -m yamllint`  
							
							
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								38d14c7314 
								
							
								 
							
						 
						
							
							
								
								Add __main__  
							
							... 
							
							
							
							Allows execution using python -m yamllint 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								ff1c9ad221 
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #38  from jhriggs/feature/empty_braces_brackets  
							
							... 
							
							
							
							Add min-spaces-inside-empty, max-spaces-inside-empty to braces and brackets 
							
						 
						
							9 years ago