Index | index by Group | index by Distribution | index by Vendor | index by creation date | index by Name | Mirrors | Help | Search |
Name: python311-yamllint | Distribution: openSUSE Tumbleweed |
Version: 1.35.1 | Vendor: openSUSE |
Release: 1.4 | Build date: Sat Mar 16 15:41:54 2024 |
Group: Development/Languages/Python | Build host: reproducible |
Size: 402868 | Source RPM: python-yamllint-1.35.1-1.4.src.rpm |
Packager: https://bugs.opensuse.org | |
Url: https://github.com/adrienverge/yamllint | |
Summary: A linter for YAML files |
A linter for YAML files. YAMLlint does not only check for syntax validity, but for weirdnesses like key repetition and cosmetic problems such as lines length, trailing spaces, indentation, etc.
GPL-3.0-only
* Sat Mar 16 2024 Dirk Müller <dmueller@suse.com> - update to 1.35.1: * Restore ignoration of files passed as command-line arguments * Revert API change from version 1.35.0 * Fix failure on broken symlinks that should be ignored * API change: linter.run(stream, config) doesn't filter files anymore * Docs: Restore official Read the Docs theme * Config: validate ignore-from-file inside rules * Rule quoted-strings: fix only-when-needed in flow maps and sequences * Rule key-duplicates: add forbid-duplicated-merge-keys option * Rule quoted-strings: add check-keys option * Docs: add GitLab CI example * Rule truthy: adapt forbidden values based on YAML version * Fri Dec 15 2023 Dirk Müller <dmueller@suse.com> - update to 1.33.0: * Add support for Python 3.12, drop support for Python 3.7 * Rule ``document-end``: fix spurious "missing document end" * Rule ``empty-values``: add ``forbid-in-block-sequences`` option * Thu Jun 01 2023 Johannes Kastl <kastl@b1-systems.de> - update to 1.32.0: * Look for configuration file in parent directories * Rule anchors: add new option forbid-unused-anchors * Wed May 17 2023 Johannes Kastl <kastl@b1-systems.de> - update to 1.31.0: * Build: migrate from setup.py to pyproject.toml * Docs: update some outdated URLs * Rule colons: prevent error when space before is mandatory - update to 1.30.0: * Rule anchors: add new rule to detect undeclared or duplicated anchors * Python API: prevent using is_file_ignored() with null filepath * Docs: fix misleading Python API example * Docs: fix plain text code snippet example * Docs: update pre-commit hook example - update to 1.29.0: * Add support for Python 3.11, drop support for Python 3.6 * Rule float-values: fix bug on strings containing fordidden values * Stop releasing universal wheels * Use proper Python 3 I/O type for file reading * Rule indentation: fix indent-sequences in nested collections * Docs: clarify disable-line and parser errors, give a workaround * Refactors to apply some pyupgrade suggestions * Allow using a list of strings in ignore configuration * Add --list-files command line option * Mon May 08 2023 Johannes Kastl <kastl@b1-systems.de> - add sle15_python_module_pythons * Wed Oct 12 2022 Yogalakshmi Arunachalam <yarunachalam@suse.com> - Update to version 1.28.0 * Better compress PNG image in documentation * Remove __future__ imports specific to Python 2 * Remove inheritance from object specific to Python 2 * Simplify GitHub Actions example in documentation * Update ALE vim plugin link in documentation * Update license to latest version of GPLv3 * Pre-compile disable/enable rules regexes * Rule quoted-strings: add allow-quoted-quotes option * Add option ignore-from-file in config * Mon Jul 18 2022 Ben Greiner <code@bnavigator.de> - Update to 1.27.1 * Fix failing test on key-duplicates for old PyYAML versions - Release * Add support for Python 3.10, drop Python 3.5 * Refactor --format=auto logic * Rule comments: allow whitespace after the shebang marker * Attempt to clarify configuration file location in documentation * Rule key-duplicates: don't crash on redundant closing brackets or braces * Remove UTF-8 headers in Python files, since Python 2 isn't supported * Rule octal-values: pre-compile regex for performance * Rule new-lines: add the type: platform config option * Add the new rule float-values - Fix boo#1151703 on older stuff and ignore on Python >= 3.8 * Sun Apr 10 2022 Sebastian Wagner <sebix+novell.com@sebix.at> - Update to version 1.26.3: - Restore setuptools requirement for Python < 3.8 This reverts commit 8f68248 "Remove runtime dep 'setuptools' for Python < 3.8". It looks like removing setuptools induces problems on some systems, see for example the linked discussion. Fixes https://github.com/adrienverge/yamllint/issues/380. - Update to version 1.26.2: - setup: update python_requires to comply with PEP 345/440 According to PEP 345 Requires-Python (https://www.python.org/dev/peps/pep-0345/#requires-python), the value of this field must be a valid Version Specifier (https://www.python.org/dev/peps/pep-0345/#version-specifiers). Which in turn expects this to comply with PEP 440 (https://www.python.org/dev/peps/pep-0440/). While not an issue for those that directly use `pip`, this will cause issues for `poetry` users in the next release (if their current stance is maintained). Discussion of the issue and there stance can be found here: https://github.com/python-poetry/poetry/issues/4095. - Update to version 1.26.1: - line_length: skip all hash signs starting comment - Remove runtime dep 'setuptools' for Python < 3.8 > In recent versions of setuptools and Python, console-script entry points are using stdlib importlib by default, thus setuptools is no longer needed as a runtime dependency. https://github.com/pypa/setuptools/pull/2197 https://github.com/pypa/setuptools/blob/main/CHANGES.rst#v4730 https://docs.python.org/3/library/importlib.metadata.html - Update to version 1.26.0: - quoted-strings: Fix explicit octal recognition PyYAML implements YAML spec version 1.1, not 1.2. Hence, values starting with `0o` are not considered as numbers: they are just strings, so they need quotes when `quoted-strings: {required: true}`. >>> import yaml >>> yaml.resolver.Resolver().resolve(yaml.nodes.ScalarNode, '100', (True, False)) 'tag:yaml.org,2002:int' >>> yaml.resolver.Resolver().resolve(yaml.nodes.ScalarNode, '0100', (True, False)) 'tag:yaml.org,2002:int' >>> yaml.resolver.Resolver().resolve(yaml.nodes.ScalarNode, '0o100', (True, False)) 'tag:yaml.org,2002:str' Let's try to prevent that. Fixes https://github.com/adrienverge/yamllint/issues/351. - End support for Python 2 As planned and advertized, yamllint drops support for Python 2 on 2021. - Allow only non-empty brackets/braces We'd like to disallow brackets and braces in our YAML, but there's a catch: the only way to describe an empty array or hash in YAML is to supply an empty one (`[]` or `{}`). Otherwise, the value will be null. This commit adds a `non-empty` option to `forbid` for brackets and braces. When it is set, all flow and sequence mappings will cause errors _except_ for empty ones. - Add support for Python 3.9, drop Python 3.4 Add support for Python 3.9 since it was officially released in October and drop support for Python 3.4 since it is end-of-life (EOL). - docs: Add configuration for integration with Arcanist - Update to version 1.25.0: - gitignore: Add /.eggs Quick PR to ignore the `/.eggs` folder, which appears to be generated every time the `python setup.py test` command is run. The content of the `./.eggs/README.txt` file: > This directory contains eggs that were downloaded by setuptools to build, > test, and run plug-ins. > > This directory caches those eggs to prevent repeated downloads. > > However, it is safe to delete this directory. - directives: Fix DOS lines messing with rule IDs Fixes #325 The linter allows a directive to contain trailing whitespace characters like , but does not trim them before iterating on the rules. As a result, the last rule in the list contains the trailing whitespace characters and never matches any existing rule. I added the necessary trimming, as well as a test with 2 checks to go along with it. - Auto-change output format if GitHub Actions detected - Add support for GitHub Annotations output format Support the format used by GitHub Actions to annotate pull requests with linter failures - fix: add runtime dependency to setuptools yamllint depends on pkg_resources.load_entry_point from setuptools to make its command working, so this runtime dependency to setuptools is necessary to be listed. - Add 'forbid' configurations to the braces and brackets rules Add 'forbid' configuration parameters to the braces and brackets rules to allow users to forbid the use of flow style collections, flow mappings and flow sequences. - quoted-strings: Fix detecting strings with hashtag as requiring quotes - octal-values: Prevent detection of 8 and 9 as octal values - docs: Make 'yaml-file' config documentation clearer Related to https://github.com/adrienverge/yamllint/issues/311. - enhancement: add some metadata to provide extra info in its PyPI page Add some metadata (project_urls) to provide extra info in its PyPI page. Signed-off-by: Satoru SATOH <satoru.satoh@gmail.com> - Move setuptools' packaging configuration from setup.py to setup.cfg Move setuptools' packaging configuration from setup.py to setup.cfg to simplify setup.py and make its packaging more dedeclarative. Signed-off-by: Satoru SATOH <satoru.satoh@gmail.com> - docs: Add Python API usage example Fixes: #297 - commas: Fix example in documentation Error in the example snippet, it would NOT pass otherwise actually: ``` $ cat test.yml strange var: [10, 20,30, {x: 1, y: 2}] $ yamllint -d "{extends: default, rules: {commas: {min-spaces-after: 1, max-spaces-after: 1}}}" test.yml test.yml 1:1 warning missing document start "---" (document-start) 2:11 error too few spaces after comma (commas) ``` - docs: Add default values to rules with options - CI: Add build environment without UTF-8 locales to travis-ci Preventing regressions like #285 * Tue Jul 21 2020 Marketa Calabkova <mcalabkova@suse.com> - Update to 1.24.2 * Add ``locale`` config option and make ``key-ordering`` locale-aware * Revert ``locale`` config option from version 1.24.0 because of a bug * Specify config with environment variable ``YAMLLINT_CONFIG_FILE`` * Fix bug with CRLF in ``new-lines`` and ``require-starting-space`` * Do not run linter on directories whose names look like YAML files * Add ``locale`` config option and make ``key-ordering`` locale-aware * Tue Jul 07 2020 Steve Kowalik <steven.kowalik@suse.com> - Update to 1.23.0: * Allow rules to validate their configuration * Add options extra-required and extra-allowed to quoted-strings
/etc/alternatives/yamllint /usr/bin/yamllint /usr/bin/yamllint-3.11 /usr/lib/python3.11/site-packages/yamllint /usr/lib/python3.11/site-packages/yamllint-1.35.1-py3.11.egg-info /usr/lib/python3.11/site-packages/yamllint-1.35.1-py3.11.egg-info/PKG-INFO /usr/lib/python3.11/site-packages/yamllint-1.35.1-py3.11.egg-info/SOURCES.txt /usr/lib/python3.11/site-packages/yamllint-1.35.1-py3.11.egg-info/dependency_links.txt /usr/lib/python3.11/site-packages/yamllint-1.35.1-py3.11.egg-info/entry_points.txt /usr/lib/python3.11/site-packages/yamllint-1.35.1-py3.11.egg-info/requires.txt /usr/lib/python3.11/site-packages/yamllint-1.35.1-py3.11.egg-info/top_level.txt /usr/lib/python3.11/site-packages/yamllint/__init__.py /usr/lib/python3.11/site-packages/yamllint/__main__.py /usr/lib/python3.11/site-packages/yamllint/__pycache__ /usr/lib/python3.11/site-packages/yamllint/__pycache__/__init__.cpython-311.opt-1.pyc /usr/lib/python3.11/site-packages/yamllint/__pycache__/__init__.cpython-311.pyc /usr/lib/python3.11/site-packages/yamllint/__pycache__/__main__.cpython-311.opt-1.pyc /usr/lib/python3.11/site-packages/yamllint/__pycache__/__main__.cpython-311.pyc /usr/lib/python3.11/site-packages/yamllint/__pycache__/cli.cpython-311.opt-1.pyc /usr/lib/python3.11/site-packages/yamllint/__pycache__/cli.cpython-311.pyc /usr/lib/python3.11/site-packages/yamllint/__pycache__/config.cpython-311.opt-1.pyc /usr/lib/python3.11/site-packages/yamllint/__pycache__/config.cpython-311.pyc /usr/lib/python3.11/site-packages/yamllint/__pycache__/linter.cpython-311.opt-1.pyc /usr/lib/python3.11/site-packages/yamllint/__pycache__/linter.cpython-311.pyc /usr/lib/python3.11/site-packages/yamllint/__pycache__/parser.cpython-311.opt-1.pyc /usr/lib/python3.11/site-packages/yamllint/__pycache__/parser.cpython-311.pyc /usr/lib/python3.11/site-packages/yamllint/cli.py /usr/lib/python3.11/site-packages/yamllint/conf /usr/lib/python3.11/site-packages/yamllint/conf/default.yaml /usr/lib/python3.11/site-packages/yamllint/conf/relaxed.yaml /usr/lib/python3.11/site-packages/yamllint/config.py /usr/lib/python3.11/site-packages/yamllint/linter.py /usr/lib/python3.11/site-packages/yamllint/parser.py /usr/lib/python3.11/site-packages/yamllint/rules /usr/lib/python3.11/site-packages/yamllint/rules/__init__.py /usr/lib/python3.11/site-packages/yamllint/rules/__pycache__ /usr/lib/python3.11/site-packages/yamllint/rules/__pycache__/__init__.cpython-311.opt-1.pyc /usr/lib/python3.11/site-packages/yamllint/rules/__pycache__/__init__.cpython-311.pyc /usr/lib/python3.11/site-packages/yamllint/rules/__pycache__/anchors.cpython-311.opt-1.pyc /usr/lib/python3.11/site-packages/yamllint/rules/__pycache__/anchors.cpython-311.pyc /usr/lib/python3.11/site-packages/yamllint/rules/__pycache__/braces.cpython-311.opt-1.pyc /usr/lib/python3.11/site-packages/yamllint/rules/__pycache__/braces.cpython-311.pyc /usr/lib/python3.11/site-packages/yamllint/rules/__pycache__/brackets.cpython-311.opt-1.pyc /usr/lib/python3.11/site-packages/yamllint/rules/__pycache__/brackets.cpython-311.pyc /usr/lib/python3.11/site-packages/yamllint/rules/__pycache__/colons.cpython-311.opt-1.pyc /usr/lib/python3.11/site-packages/yamllint/rules/__pycache__/colons.cpython-311.pyc /usr/lib/python3.11/site-packages/yamllint/rules/__pycache__/commas.cpython-311.opt-1.pyc /usr/lib/python3.11/site-packages/yamllint/rules/__pycache__/commas.cpython-311.pyc /usr/lib/python3.11/site-packages/yamllint/rules/__pycache__/comments.cpython-311.opt-1.pyc /usr/lib/python3.11/site-packages/yamllint/rules/__pycache__/comments.cpython-311.pyc /usr/lib/python3.11/site-packages/yamllint/rules/__pycache__/comments_indentation.cpython-311.opt-1.pyc /usr/lib/python3.11/site-packages/yamllint/rules/__pycache__/comments_indentation.cpython-311.pyc /usr/lib/python3.11/site-packages/yamllint/rules/__pycache__/common.cpython-311.opt-1.pyc /usr/lib/python3.11/site-packages/yamllint/rules/__pycache__/common.cpython-311.pyc /usr/lib/python3.11/site-packages/yamllint/rules/__pycache__/document_end.cpython-311.opt-1.pyc /usr/lib/python3.11/site-packages/yamllint/rules/__pycache__/document_end.cpython-311.pyc /usr/lib/python3.11/site-packages/yamllint/rules/__pycache__/document_start.cpython-311.opt-1.pyc /usr/lib/python3.11/site-packages/yamllint/rules/__pycache__/document_start.cpython-311.pyc /usr/lib/python3.11/site-packages/yamllint/rules/__pycache__/empty_lines.cpython-311.opt-1.pyc /usr/lib/python3.11/site-packages/yamllint/rules/__pycache__/empty_lines.cpython-311.pyc /usr/lib/python3.11/site-packages/yamllint/rules/__pycache__/empty_values.cpython-311.opt-1.pyc /usr/lib/python3.11/site-packages/yamllint/rules/__pycache__/empty_values.cpython-311.pyc /usr/lib/python3.11/site-packages/yamllint/rules/__pycache__/float_values.cpython-311.opt-1.pyc /usr/lib/python3.11/site-packages/yamllint/rules/__pycache__/float_values.cpython-311.pyc /usr/lib/python3.11/site-packages/yamllint/rules/__pycache__/hyphens.cpython-311.opt-1.pyc /usr/lib/python3.11/site-packages/yamllint/rules/__pycache__/hyphens.cpython-311.pyc /usr/lib/python3.11/site-packages/yamllint/rules/__pycache__/indentation.cpython-311.opt-1.pyc /usr/lib/python3.11/site-packages/yamllint/rules/__pycache__/indentation.cpython-311.pyc /usr/lib/python3.11/site-packages/yamllint/rules/__pycache__/key_duplicates.cpython-311.opt-1.pyc /usr/lib/python3.11/site-packages/yamllint/rules/__pycache__/key_duplicates.cpython-311.pyc /usr/lib/python3.11/site-packages/yamllint/rules/__pycache__/key_ordering.cpython-311.opt-1.pyc /usr/lib/python3.11/site-packages/yamllint/rules/__pycache__/key_ordering.cpython-311.pyc /usr/lib/python3.11/site-packages/yamllint/rules/__pycache__/line_length.cpython-311.opt-1.pyc /usr/lib/python3.11/site-packages/yamllint/rules/__pycache__/line_length.cpython-311.pyc /usr/lib/python3.11/site-packages/yamllint/rules/__pycache__/new_line_at_end_of_file.cpython-311.opt-1.pyc /usr/lib/python3.11/site-packages/yamllint/rules/__pycache__/new_line_at_end_of_file.cpython-311.pyc /usr/lib/python3.11/site-packages/yamllint/rules/__pycache__/new_lines.cpython-311.opt-1.pyc /usr/lib/python3.11/site-packages/yamllint/rules/__pycache__/new_lines.cpython-311.pyc /usr/lib/python3.11/site-packages/yamllint/rules/__pycache__/octal_values.cpython-311.opt-1.pyc /usr/lib/python3.11/site-packages/yamllint/rules/__pycache__/octal_values.cpython-311.pyc /usr/lib/python3.11/site-packages/yamllint/rules/__pycache__/quoted_strings.cpython-311.opt-1.pyc /usr/lib/python3.11/site-packages/yamllint/rules/__pycache__/quoted_strings.cpython-311.pyc /usr/lib/python3.11/site-packages/yamllint/rules/__pycache__/trailing_spaces.cpython-311.opt-1.pyc /usr/lib/python3.11/site-packages/yamllint/rules/__pycache__/trailing_spaces.cpython-311.pyc /usr/lib/python3.11/site-packages/yamllint/rules/__pycache__/truthy.cpython-311.opt-1.pyc /usr/lib/python3.11/site-packages/yamllint/rules/__pycache__/truthy.cpython-311.pyc /usr/lib/python3.11/site-packages/yamllint/rules/anchors.py /usr/lib/python3.11/site-packages/yamllint/rules/braces.py /usr/lib/python3.11/site-packages/yamllint/rules/brackets.py /usr/lib/python3.11/site-packages/yamllint/rules/colons.py /usr/lib/python3.11/site-packages/yamllint/rules/commas.py /usr/lib/python3.11/site-packages/yamllint/rules/comments.py /usr/lib/python3.11/site-packages/yamllint/rules/comments_indentation.py /usr/lib/python3.11/site-packages/yamllint/rules/common.py /usr/lib/python3.11/site-packages/yamllint/rules/document_end.py /usr/lib/python3.11/site-packages/yamllint/rules/document_start.py /usr/lib/python3.11/site-packages/yamllint/rules/empty_lines.py /usr/lib/python3.11/site-packages/yamllint/rules/empty_values.py /usr/lib/python3.11/site-packages/yamllint/rules/float_values.py /usr/lib/python3.11/site-packages/yamllint/rules/hyphens.py /usr/lib/python3.11/site-packages/yamllint/rules/indentation.py /usr/lib/python3.11/site-packages/yamllint/rules/key_duplicates.py /usr/lib/python3.11/site-packages/yamllint/rules/key_ordering.py /usr/lib/python3.11/site-packages/yamllint/rules/line_length.py /usr/lib/python3.11/site-packages/yamllint/rules/new_line_at_end_of_file.py /usr/lib/python3.11/site-packages/yamllint/rules/new_lines.py /usr/lib/python3.11/site-packages/yamllint/rules/octal_values.py /usr/lib/python3.11/site-packages/yamllint/rules/quoted_strings.py /usr/lib/python3.11/site-packages/yamllint/rules/trailing_spaces.py /usr/lib/python3.11/site-packages/yamllint/rules/truthy.py /usr/share/doc/packages/python311-yamllint /usr/share/doc/packages/python311-yamllint/README.rst /usr/share/licenses/python311-yamllint /usr/share/licenses/python311-yamllint/LICENSE
Generated by rpm2html 1.8.1
Fabrice Bellet, Sun Jan 12 00:30:25 2025