-
Notifications
You must be signed in to change notification settings - Fork 299
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
pep257 differences between the ros-tooling and ros-industrial CI #356
Comments
I think we should simply remove the non-tests from https://github.com/ros-controls/ros2_control/tree/master/ros2controlcli/test and let the linter workflows do their job. Those individual scripts are prune to be flaky depending on ones installed python package versions which is I believe what we are seeing with the industrial CI. |
why not to move this into pre-commits. See here: https://www.youtube.com/watch?v=tOlnfrctpSY |
what does this mean to remove the non-tests? There aren't any inbuilt
linters for python. THese files are unfortunately copied in every package
which has python code, e.g:
https://github.com/ros2/demos/tree/master/demo_nodes_py/test
…On Fri, Apr 2, 2021 at 12:43 AM Denis Štogl ***@***.***> wrote:
why not to move this into pre-commits. See here:
https://www.youtube.com/watch?v=tOlnfrctpSY
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#356 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABJLGYI5XIFDYY3FEKHPJWDTGVYTJANCNFSM42BO4W3A>
.
|
Yes and that is a problem. We are carrying dead weight. Don't want to follow a bad example. Precommit for instance is able to reliably reproduce linting work both locally editing (some) and CI validating without the flakiness of dependig and on which pytest or other tools are installed in the environment. |
sure, I am happy to have a better solution for this - as long as it's kind of transparently incorporated so that I can be able to test locally and have CI do the exact same thing as well. |
By @Karsten1987
#349
0df21e1
The text was updated successfully, but these errors were encountered: