Adrien Vergé
|
c8ba8f7e99
|
linter: Fix UnicodeError when parsing comments
And add tests when reading non-ASCII strings and comments (both from
Python strings and from files).
Fixes: #10
|
2016-06-28 09:58:23 +02:00 |
|
Adrien Vergé
|
eabd349902
|
Config: Allow a user-global configuration file
Instead of just looking for `.yamllint` in the current working
directory, also look for `~/.config/yamllint/config` (using
`$XDG_CONFIG_HOME` or `$HOME`, see [1] and [2] for information).
[1]: https://specifications.freedesktop.org/basedir-spec/basedir-spec-0.6.html
[2]: https://wiki.archlinux.org/index.php/XDG_Base_Directory_support
Closes: #6
|
2016-04-21 22:24:24 +02:00 |
|
Adrien Vergé
|
59d5bffbec
|
Tests: cli: Detect and handle the -d '' case
|
2016-03-25 13:46:19 +01:00 |
|
Adrien Vergé
|
53da21934d
|
Tests: Add many cli.run test cases
|
2016-03-25 13:46:19 +01:00 |
|
Adrien Vergé
|
88ebcbbb93
|
Tests: Test cli.find_files_recursively
|
2016-03-25 13:46:19 +01:00 |
|