-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
[linter] reduce pylint to just one command #15115
Conversation
This comment has been minimized.
This comment has been minimized.
Is the intention here to remove
It seems odd right now the PR in duplicating some of the other code 😳 but this is very very interesting |
I didn't notice difference between test_package and regular recipe pylintrc except If you like this change then pylintrc rules and ci scripts can be adjusted. |
I think it's really good, there's discussion internally about the linter being a pain point for contributing so I think this will be well received Make sure to comment in #4 :) |
Conan v1 pipelineSorry, the build is only launched for Access Request users. You can request access writing in this issue. Conan v2 pipeline (informative, not required for merge)Sorry, the build is only launched for Access Request users. You can request access writing in this issue. |
This looks great, thanks for your work, we really appreciate it :) (Sorry about the delay in getting this reviewed, we're hard at work for the 2.0 launch) Just leaving myself a reminder that as #15177 aims to implement pre-commit hooks, it would need to be updated to support this new syntax. Also could you please update the docs regarding these commands so that they reflect the unified call? |
rebased |
Thanks, we'll look into this as soon as we can! |
This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
NOT stale, just in the backlog (Sorry @technic to keep you waiting! We really appreciate your patience) |
@technic, we finally agreed to move forward with this change but we need to update the GitHub Actions and delete the dedicated test_package linter since those will be obsolete. I will push some commit to help ensure this gets moving again :) |
That matches better to https://github.com/conan-io/conan-center-index/actions/runs/4165393769 with was the last PR |
Is this PR responsible of this error https://github.com/conan-io/conan-center-index/actions/runs/4736184559/jobs/8407382514?pr=17062? Seems to be a regression. |
Yes... Someone added checks but only in 1 of the two spots 😵💫 alrighty then! |
#17103 :) |
* determine test_package folder in the lint rule * delete old test specific linter config + update github workflow * fixup: put bad specific config --------- Co-authored-by: Chris Mc <christopherm@jfrog.com> Co-authored-by: Chris Mc <prince.chrismc@gmail.com>
We can make linter rules for conanfiles simpler by checking folder where conanfile.py is located from the pylint checker.
Then same rule can be applied both to test_package and regular recipe.