Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: Import 'yamllint.config' rather than 'yamllint' #699

Merged
merged 1 commit into from
Nov 20, 2024

Conversation

adrienverge
Copy link
Owner

Since yamllint version 0.5.2 (in 2016, just after yamllint was created) this example in documentation doesn't work. Indeed, commit dbbecb5 (which aimed to solve another problem) removed the ability to import yamllint submodules directly.

This commit makes it clearer inside documentation.

Fixes #698

Since yamllint version 0.5.2 (in 2016, just after yamllint was created)
this example in documentation doesn't work. Indeed, commit dbbecb5
(which aimed to solve another problem) removed the ability to import
yamllint submodules directly.

This commit makes it clearer inside documentation.

Fixes #698
@coveralls
Copy link

Coverage Status

coverage: 99.825%. remained the same
when pulling a079b63 on docs/fix-import-config
into 95e17b3 on master.

@adrienverge adrienverge merged commit 8513d9b into master Nov 20, 2024
14 checks passed
@adrienverge adrienverge deleted the docs/fix-import-config branch November 20, 2024 17:27
@verhovsky verhovsky mentioned this pull request Dec 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

AttributeError: module 'yamllint' has no attribute 'config'/'linter'
2 participants