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

Add lint check based on pylint #4

Merged
merged 1 commit into from
Feb 21, 2024
Merged

Conversation

clebergnu
Copy link
Contributor

@clebergnu clebergnu commented Feb 20, 2024

This adds a lint check based on pylint. It is the first check with relies on a configuration file rather than command line options.

This configuration file is heavily based on Avocado's configuration, but it's different in a few aspects:

  1. It's more strict, as in less pylint checks are disabled (55 checks
    are disabled in Avocado, while only 10 are disabled here)

  2. The name of the checks are used, instead of the less descriptive
    "category + number" identification.

This adds a lint check based on pylint.  It is the first check with
relies on a configuration file rather than command line options.

This configuration file is heavily based on Avocado's configuration,
but it's different in a few aspects:

 1) It's more strict, as in less pylint checks are disabled (55 checks
    are disabled in Avocado, while only 10 are disabled here)

 2) The name of the checks are used, instead of the less descriptive
 "category + number" identification.

Signed-off-by: Cleber Rosa <[email protected]>
Copy link
Contributor

@richtja richtja left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @clebergnu the code LGTM and we can merge it. But I just have one topic for discussion here. Please tell me what do you think about it.

@clebergnu clebergnu merged commit 8538a12 into avocado-framework:main Feb 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants