15
0

- Update to 1.18.0:

* Lint .yamllint config file by default
  * Also read config from .yamllint.yml and .yamllint.yaml
  * Improve documentation for yaml-files
  * Update documentation for pre-commit
  * Explicitly disable empty-values and octal-values rules

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-yamllint?expand=0&rev=16
This commit is contained in:
Tomáš Chvátal
2019-10-30 12:25:48 +00:00
committed by Git OBS Bridge
parent 16e1bea0de
commit 1ed84562b1
4 changed files with 15 additions and 8 deletions
+2 -5
View File
@@ -18,7 +18,7 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-yamllint
Version: 1.17.0
Version: 1.18.0
Release: 0
Summary: A linter for YAML files
License: GPL-3.0-only
@@ -34,9 +34,6 @@ BuildArch: noarch
# SECTION test requirements
BuildRequires: %{python_module PyYAML}
BuildRequires: %{python_module pathspec >= 0.5.3}
# nose is optional, used only to exclude a failing test caused by PyYAML
# deprecation warnings.
BuildRequires: %{python_module nose}
# /SECTION
%python_subpackages
@@ -58,7 +55,7 @@ indentation, etc.
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
%python_exec -m nose -e test_run_auto_output_without_tty_output
%python_exec -m unittest discover
%files %{python_files}
%doc README.rst