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

Fix test_publisher linter for pydocstyle 6.2.2 #1063

Merged
merged 1 commit into from Jan 4, 2023

Conversation

Crola1702
Copy link
Contributor

Signed-off-by: Crola1702 cristobal.arroyo@ekumenlabs.com

do_test_topic_name docstring is different from others in rclpy (e.g., utilities), this causes a test regression in pep257 with the new pydocstyle 6.2.0 version.

This PR changes this docstring format, so it can pass pep257 tests.

Reference builds:

Signed-off-by: Crola1702 <cristobal.arroyo@ekumenlabs.com>
Copy link
Contributor

@clalancette clalancette left a comment

Choose a reason for hiding this comment

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

Seems reasonable to me with green CI (on RHEL as well).

@Crola1702
Copy link
Contributor Author

CI:

  • Linux Build Status
  • Linux-aarch64 Build Status
  • Windows Build Status
  • Rhel Build Status

@clalancette clalancette merged commit fb10589 into rolling Jan 4, 2023
@delete-merged-branch delete-merged-branch bot deleted the Crola1702/fix-test-subscriber-linter branch January 4, 2023 16:25
@Blast545
Copy link

Blast545 commented Jan 9, 2023

@Mergifyio backport humble

@Blast545
Copy link

Blast545 commented Jan 9, 2023

https://github.com/Mergifyio backport galactic

@mergify
Copy link

mergify bot commented Jan 9, 2023

backport humble

✅ Backports have been created

mergify bot pushed a commit that referenced this pull request Jan 9, 2023
Signed-off-by: Crola1702 <cristobal.arroyo@ekumenlabs.com>
(cherry picked from commit fb10589)
mergify bot pushed a commit that referenced this pull request Jan 9, 2023
Signed-off-by: Crola1702 <cristobal.arroyo@ekumenlabs.com>
(cherry picked from commit fb10589)
@mergify
Copy link

mergify bot commented Jan 9, 2023

backport galactic

✅ Backports have been created

@Blast545
Copy link

Blast545 commented Jan 9, 2023

@Mergifyio backport foxy

mergify bot pushed a commit that referenced this pull request Jan 9, 2023
Signed-off-by: Crola1702 <cristobal.arroyo@ekumenlabs.com>
(cherry picked from commit fb10589)
@mergify
Copy link

mergify bot commented Jan 9, 2023

backport foxy

✅ Backports have been created

Crola1702 added a commit that referenced this pull request Jan 10, 2023
Signed-off-by: Crola1702 <cristobal.arroyo@ekumenlabs.com>
(cherry picked from commit fb10589)
Signed-off-by: Crola1702 <cristobal.arroyo@ekumenlabs.com>
Crola1702 added a commit that referenced this pull request Jan 10, 2023
Signed-off-by: Crola1702 <cristobal.arroyo@ekumenlabs.com>
(cherry picked from commit fb10589)
Signed-off-by: Crola1702 <cristobal.arroyo@ekumenlabs.com>
audrow pushed a commit that referenced this pull request Jan 13, 2023
)

Co-authored-by: Cristóbal Arroyo <69475004+Crola1702@users.noreply.github.com>
adityapande-1995 pushed a commit that referenced this pull request Jan 23, 2023
Signed-off-by: Crola1702 <cristobal.arroyo@ekumenlabs.com>
(cherry picked from commit fb10589)
Signed-off-by: Crola1702 <cristobal.arroyo@ekumenlabs.com>

Signed-off-by: Crola1702 <cristobal.arroyo@ekumenlabs.com>
Co-authored-by: Cristóbal Arroyo <69475004+Crola1702@users.noreply.github.com>
sebastian-freitag added a commit to fernride/rclpy that referenced this pull request Jan 26, 2023
Fix test_publisher linter for pydocstyle 6.2.2 (ros2#1063)

Signed-off-by: Sebastian Freitag <sebastian.freitag@pylot.tech>
iuhilnehc-ynos pushed a commit to iuhilnehc-ynos/rclpy that referenced this pull request Apr 10, 2023
…ros2#1066)

Co-authored-by: Cristóbal Arroyo <69475004+Crola1702@users.noreply.github.com>
Signed-off-by: Chen Lihui <lihui.chen@sony.com>
iuhilnehc-ynos pushed a commit to iuhilnehc-ynos/rclpy that referenced this pull request Apr 10, 2023
…ros2#1066)

Co-authored-by: Cristóbal Arroyo <69475004+Crola1702@users.noreply.github.com>
Signed-off-by: Chen Lihui <lihui.chen@sony.com>
iuhilnehc-ynos pushed a commit to iuhilnehc-ynos/rclpy that referenced this pull request Apr 10, 2023
…ros2#1066)

Co-authored-by: Cristóbal Arroyo <69475004+Crola1702@users.noreply.github.com>
Signed-off-by: Chen Lihui <lihui.chen@sony.com>
Barry-Xu-2018 pushed a commit to Barry-Xu-2018/rclpy that referenced this pull request Apr 10, 2023
…ros2#1066)

Co-authored-by: Cristóbal Arroyo <69475004+Crola1702@users.noreply.github.com>
Signed-off-by: Barry Xu <barry.xu@sony.com>
fujitatomoya added a commit that referenced this pull request Apr 12, 2023
* Add parallel callback test (#1044) (#1052)

* Add parallel callback test
Signed-off-by: Florian Vahl <florian@flova.de>
(cherry picked from commit 40054ba)

Co-authored-by: Florian Vahl <florian@flova.de>
Signed-off-by: Barry Xu <barry.xu@sony.com>

* decorator should not be callable. (#1050) (#1051)

#1047

Signed-off-by: Tomoya Fujita <Tomoya.Fujita@sony.com>

Signed-off-by: Tomoya Fujita <Tomoya.Fujita@sony.com>
(cherry picked from commit 2da35a4)

Co-authored-by: Tomoya Fujita <Tomoya.Fujita@sony.com>
Signed-off-by: Barry Xu <barry.xu@sony.com>

* 3.3.6

Signed-off-by: Audrow Nash <audrow@openrobotics.org>
Signed-off-by: Barry Xu <barry.xu@sony.com>

* Fix `test_publisher` linter for pydocstyle 6.2.2 (backport #1063) (#1066)

Co-authored-by: Cristóbal Arroyo <69475004+Crola1702@users.noreply.github.com>
Signed-off-by: Barry Xu <barry.xu@sony.com>

* 3.3.7

Signed-off-by: Audrow Nash <audrow@openrobotics.org>
Signed-off-by: Barry Xu <barry.xu@sony.com>

* Fix #983 by saving future and checking for + raising any exceptions (#1073) (#1088)

* Fix #983 by saving future and checking for + raising any exceptions

Signed-off-by: Achille Verheye <achille.verheye@gmail.com>
Co-authored-by: Achille Verheye <achille.verheye@gmail.com>
Signed-off-by: Barry Xu <barry.xu@sony.com>

* Deal with ParameterUninitializedException for parameter service (#1033)

* Deal with ParameterUninitializedException for parameter service

Signed-off-by: Barry Xu <barry.xu@sony.com>

* Enable all tests in test_parameter_client.py

Signed-off-by: Barry Xu <barry.xu@sony.com>

* Get empty value for ParameterUninitializedException

Signed-off-by: Barry Xu <barry.xu@sony.com>

Signed-off-by: Barry Xu <barry.xu@sony.com>
(cherry picked from commit e442ad2)

# Conflicts:
#	rclpy/test/test_parameter_client.py
Signed-off-by: Barry Xu <barry.xu@sony.com>

* Fix conflict and use new testcase (#1053)

Signed-off-by: Barry Xu <barry.xu@sony.com>

* Changed for filename with alphabet order

Signed-off-by: Barry Xu <barry.xu@sony.com>

---------

Signed-off-by: Barry Xu <barry.xu@sony.com>
Signed-off-by: Audrow Nash <audrow@openrobotics.org>
Signed-off-by: Achille Verheye <achille.verheye@gmail.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Co-authored-by: Florian Vahl <florian@flova.de>
Co-authored-by: Tomoya Fujita <Tomoya.Fujita@sony.com>
Co-authored-by: Audrow Nash <audrow@openrobotics.org>
Co-authored-by: Cristóbal Arroyo <69475004+Crola1702@users.noreply.github.com>
Co-authored-by: Achille Verheye <achille.verheye@gmail.com>
fujitatomoya added a commit that referenced this pull request Apr 21, 2023
* Add parallel callback test (#1044) (#1052)

* Add parallel callback test
Signed-off-by: Florian Vahl <florian@flova.de>
(cherry picked from commit 40054ba)

Co-authored-by: Florian Vahl <florian@flova.de>
Signed-off-by: Barry Xu <barry.xu@sony.com>

* decorator should not be callable. (#1050) (#1051)

#1047

Signed-off-by: Tomoya Fujita <Tomoya.Fujita@sony.com>

Signed-off-by: Tomoya Fujita <Tomoya.Fujita@sony.com>
(cherry picked from commit 2da35a4)

Co-authored-by: Tomoya Fujita <Tomoya.Fujita@sony.com>
Signed-off-by: Barry Xu <barry.xu@sony.com>

* 3.3.6

Signed-off-by: Audrow Nash <audrow@openrobotics.org>
Signed-off-by: Barry Xu <barry.xu@sony.com>

* Fix `test_publisher` linter for pydocstyle 6.2.2 (backport #1063) (#1066)

Co-authored-by: Cristóbal Arroyo <69475004+Crola1702@users.noreply.github.com>
Signed-off-by: Barry Xu <barry.xu@sony.com>

* 3.3.7

Signed-off-by: Audrow Nash <audrow@openrobotics.org>
Signed-off-by: Barry Xu <barry.xu@sony.com>

* Fix #983 by saving future and checking for + raising any exceptions (#1073) (#1088)

* Fix #983 by saving future and checking for + raising any exceptions

Signed-off-by: Achille Verheye <achille.verheye@gmail.com>
Co-authored-by: Achille Verheye <achille.verheye@gmail.com>
Signed-off-by: Barry Xu <barry.xu@sony.com>

* Deal with ParameterUninitializedException for parameter service (#1033)

* Deal with ParameterUninitializedException for parameter service

Signed-off-by: Barry Xu <barry.xu@sony.com>

* Enable all tests in test_parameter_client.py

Signed-off-by: Barry Xu <barry.xu@sony.com>

* Get empty value for ParameterUninitializedException

Signed-off-by: Barry Xu <barry.xu@sony.com>

Signed-off-by: Barry Xu <barry.xu@sony.com>
(cherry picked from commit e442ad2)

# Conflicts:
#	rclpy/test/test_parameter_client.py
Signed-off-by: Barry Xu <barry.xu@sony.com>

* Fix conflict and use new testcase (#1053)

Signed-off-by: Barry Xu <barry.xu@sony.com>

* Changed for filename with alphabet order

Signed-off-by: Barry Xu <barry.xu@sony.com>

---------

Signed-off-by: Barry Xu <barry.xu@sony.com>
Signed-off-by: Audrow Nash <audrow@openrobotics.org>
Signed-off-by: Achille Verheye <achille.verheye@gmail.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Co-authored-by: Florian Vahl <florian@flova.de>
Co-authored-by: Tomoya Fujita <Tomoya.Fujita@sony.com>
Co-authored-by: Audrow Nash <audrow@openrobotics.org>
Co-authored-by: Cristóbal Arroyo <69475004+Crola1702@users.noreply.github.com>
Co-authored-by: Achille Verheye <achille.verheye@gmail.com>
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.

None yet

4 participants