Skip to content

Fix test_publisher linter for pydocstyle 6.2.2 #1063

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

Merged
merged 1 commit into from
Jan 4, 2023

Conversation

Crola1702
Copy link
Contributor

Signed-off-by: Crola1702 [email protected]

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:

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
Contributor

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 <[email protected]>
(cherry picked from commit fb10589)
mergify bot pushed a commit that referenced this pull request Jan 9, 2023
Signed-off-by: Crola1702 <[email protected]>
(cherry picked from commit fb10589)
@mergify
Copy link
Contributor

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 <[email protected]>
(cherry picked from commit fb10589)
@mergify
Copy link
Contributor

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 <[email protected]>
(cherry picked from commit fb10589)
Signed-off-by: Crola1702 <[email protected]>
Crola1702 added a commit that referenced this pull request Jan 10, 2023
Signed-off-by: Crola1702 <[email protected]>
(cherry picked from commit fb10589)
Signed-off-by: Crola1702 <[email protected]>
audrow pushed a commit that referenced this pull request Jan 13, 2023
adityapande-1995 pushed a commit that referenced this pull request Jan 23, 2023
Signed-off-by: Crola1702 <[email protected]>
(cherry picked from commit fb10589)
Signed-off-by: Crola1702 <[email protected]>

Signed-off-by: Crola1702 <[email protected]>
Co-authored-by: Cristóbal Arroyo <[email protected]>
iuhilnehc-ynos pushed a commit to iuhilnehc-ynos/rclpy that referenced this pull request Apr 10, 2023
iuhilnehc-ynos pushed a commit to iuhilnehc-ynos/rclpy that referenced this pull request Apr 10, 2023
iuhilnehc-ynos pushed a commit to iuhilnehc-ynos/rclpy that referenced this pull request Apr 10, 2023
Barry-Xu-2018 pushed a commit to Barry-Xu-2018/rclpy that referenced this pull request Apr 10, 2023
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 <[email protected]>
(cherry picked from commit 40054ba)

Co-authored-by: Florian Vahl <[email protected]>
Signed-off-by: Barry Xu <[email protected]>

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

#1047

Signed-off-by: Tomoya Fujita <[email protected]>

Signed-off-by: Tomoya Fujita <[email protected]>
(cherry picked from commit 2da35a4)

Co-authored-by: Tomoya Fujita <[email protected]>
Signed-off-by: Barry Xu <[email protected]>

* 3.3.6

Signed-off-by: Audrow Nash <[email protected]>
Signed-off-by: Barry Xu <[email protected]>

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

Co-authored-by: Cristóbal Arroyo <[email protected]>
Signed-off-by: Barry Xu <[email protected]>

* 3.3.7

Signed-off-by: Audrow Nash <[email protected]>
Signed-off-by: Barry Xu <[email protected]>

* 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 <[email protected]>
Co-authored-by: Achille Verheye <[email protected]>
Signed-off-by: Barry Xu <[email protected]>

* Deal with ParameterUninitializedException for parameter service (#1033)

* Deal with ParameterUninitializedException for parameter service

Signed-off-by: Barry Xu <[email protected]>

* Enable all tests in test_parameter_client.py

Signed-off-by: Barry Xu <[email protected]>

* Get empty value for ParameterUninitializedException

Signed-off-by: Barry Xu <[email protected]>

Signed-off-by: Barry Xu <[email protected]>
(cherry picked from commit e442ad2)

# Conflicts:
#	rclpy/test/test_parameter_client.py
Signed-off-by: Barry Xu <[email protected]>

* Fix conflict and use new testcase (#1053)

Signed-off-by: Barry Xu <[email protected]>

* Changed for filename with alphabet order

Signed-off-by: Barry Xu <[email protected]>

---------

Signed-off-by: Barry Xu <[email protected]>
Signed-off-by: Audrow Nash <[email protected]>
Signed-off-by: Achille Verheye <[email protected]>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Co-authored-by: Florian Vahl <[email protected]>
Co-authored-by: Tomoya Fujita <[email protected]>
Co-authored-by: Audrow Nash <[email protected]>
Co-authored-by: Cristóbal Arroyo <[email protected]>
Co-authored-by: Achille Verheye <[email protected]>
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 <[email protected]>
(cherry picked from commit 40054ba)

Co-authored-by: Florian Vahl <[email protected]>
Signed-off-by: Barry Xu <[email protected]>

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

#1047

Signed-off-by: Tomoya Fujita <[email protected]>

Signed-off-by: Tomoya Fujita <[email protected]>
(cherry picked from commit 2da35a4)

Co-authored-by: Tomoya Fujita <[email protected]>
Signed-off-by: Barry Xu <[email protected]>

* 3.3.6

Signed-off-by: Audrow Nash <[email protected]>
Signed-off-by: Barry Xu <[email protected]>

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

Co-authored-by: Cristóbal Arroyo <[email protected]>
Signed-off-by: Barry Xu <[email protected]>

* 3.3.7

Signed-off-by: Audrow Nash <[email protected]>
Signed-off-by: Barry Xu <[email protected]>

* 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 <[email protected]>
Co-authored-by: Achille Verheye <[email protected]>
Signed-off-by: Barry Xu <[email protected]>

* Deal with ParameterUninitializedException for parameter service (#1033)

* Deal with ParameterUninitializedException for parameter service

Signed-off-by: Barry Xu <[email protected]>

* Enable all tests in test_parameter_client.py

Signed-off-by: Barry Xu <[email protected]>

* Get empty value for ParameterUninitializedException

Signed-off-by: Barry Xu <[email protected]>

Signed-off-by: Barry Xu <[email protected]>
(cherry picked from commit e442ad2)

# Conflicts:
#	rclpy/test/test_parameter_client.py
Signed-off-by: Barry Xu <[email protected]>

* Fix conflict and use new testcase (#1053)

Signed-off-by: Barry Xu <[email protected]>

* Changed for filename with alphabet order

Signed-off-by: Barry Xu <[email protected]>

---------

Signed-off-by: Barry Xu <[email protected]>
Signed-off-by: Audrow Nash <[email protected]>
Signed-off-by: Achille Verheye <[email protected]>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Co-authored-by: Florian Vahl <[email protected]>
Co-authored-by: Tomoya Fujita <[email protected]>
Co-authored-by: Audrow Nash <[email protected]>
Co-authored-by: Cristóbal Arroyo <[email protected]>
Co-authored-by: Achille Verheye <[email protected]>
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.

4 participants