-
Notifications
You must be signed in to change notification settings - Fork 280
Permalink
Choose a base ref
{{ refName }}
default
Choose a head ref
{{ refName }}
default
Comparing changes
Choose two branches to see what’s changed or to start a new pull request.
If you need to, you can also or
learn more about diff comparisons.
Open a pull request
Create a new pull request by comparing changes across two branches. If you need to, you can also .
Learn more about diff comparisons here.
base repository: adrienverge/yamllint
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v1.29.0
Could not load branches
Nothing to show
Loading
Could not load tags
Nothing to show
{{ refName }}
default
Loading
...
head repository: adrienverge/yamllint
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v1.30.0
Could not load branches
Nothing to show
Loading
Could not load tags
Nothing to show
{{ refName }}
default
Loading
- 6 commits
- 11 files changed
- 3 contributors
Commits on Jan 30, 2023
-
docs: Fix misleading Python API example
`yamllint.linter.run("example.yaml", yaml_config)` example seems `yamllint.linter.run` opens a given file. It's misleading.
Configuration menu - View commit details
-
Copy full SHA for 06db2af - Browse repository at this point
Copy the full SHA 06db2afView commit details
Commits on Mar 2, 2023
-
docs: Explicitly specify language even when it's plain text
rstcheck succeeds with a failure (heh) when there's a code block without a language specified. This can lead to false negatives as the file is no longer being checked by rstcheck. Error: An `AttributeError` error occured. This is most propably due to a code block directive (code/code-block/sourcecode) without a specified language. This may result in a false negative for source: 'docs/disable_with_comments.rst'. See https://rstcheck-core.readthedocs.io/en/latest/faq/#code-blocks-without-language-sphinx for more information. Success! No issues detected.
Configuration menu - View commit details
-
Copy full SHA for 4046563 - Browse repository at this point
Copy the full SHA 4046563View commit details
Commits on Mar 19, 2023
-
linter: Prevent testing is_file_ignored() with filepath == None
As reported in #548, there might be a problem with pathspec 0.11.1 which does't allow calling `match_file()` with argument `None` anymore. The `linter.run()` function shouldn't call `YamlLintConfig.is_file_ignored(None)` anyway.
Configuration menu - View commit details
-
Copy full SHA for 15f8204 - Browse repository at this point
Copy the full SHA 15f8204View commit details
Commits on Mar 22, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 8aaa226 - Browse repository at this point
Copy the full SHA 8aaa226View commit details -
anchors: Add new rule to detect undeclared or duplicated anchors
According to the YAML specification [^1]: - > It is an error for an alias node to use an anchor that does not > previously occur in the document. The `forbid-undeclared-aliases` option checks that aliases do have a matching anchor declared previously in the document. Since this is required by the YAML spec, this option is enabled by default. - > The alias refers to the most recent preceding node having the same > anchor. This means that having a same anchor repeated in a document is allowed. However users could want to avoid this, so the new option `forbid-duplicated-anchors` allows that. It's disabled by default. - > It is not an error to specify an anchor that is not used by any > alias node. This means that it's OK to declare anchors but don't have any alias referencing them. However users could want to avoid this, so a new option (e.g. `forbid-unused-anchors`) could be implemented in the future. See #537. Fixes #395 Closes #420 [^1]: https://yaml.org/spec/1.2.2/#71-alias-nodes
Configuration menu - View commit details
-
Copy full SHA for ebd6b90 - Browse repository at this point
Copy the full SHA ebd6b90View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9d0f598 - Browse repository at this point
Copy the full SHA 9d0f598View commit details
Loading
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff v1.29.0...v1.30.0