-
Notifications
You must be signed in to change notification settings - Fork 3
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
hotfix #412
hotfix #412
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
@@ -0,0 +1,18 @@ | ||||||||||||||||
from setuptools import setup, find_packages | ||||||||||||||||
|
||||||||||||||||
package_name = "bencher" | ||||||||||||||||
|
||||||||||||||||
setup( | ||||||||||||||||
name=package_name, | ||||||||||||||||
description="A library for benchmarking code and generating reports for analysis", | ||||||||||||||||
# maintainer="austin.gregg-smith", | ||||||||||||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. question: Commented-out maintainer information The maintainer and maintainer_email fields are commented out. If this is intentional for a temporary reason, consider adding a comment explaining why. Otherwise, it might be better to either include or remove these lines. |
||||||||||||||||
# maintainer_email="austin.gregg-smith@dyson.com", | ||||||||||||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. question: Commented-out maintainer email Similar to the maintainer field, the maintainer_email field is commented out. If this is intentional for a temporary reason, consider adding a comment explaining why. Otherwise, it might be better to either include or remove these lines. |
||||||||||||||||
packages=find_packages(exclude=["test.*", "test"]), | ||||||||||||||||
data_files=[ | ||||||||||||||||
("share/ament_index/resource_index/packages", ["resource/" + package_name]), | ||||||||||||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. suggestion: Hardcoded paths in data_files Consider using os.path.join for constructing file paths to ensure compatibility across different operating systems.
Suggested change
|
||||||||||||||||
("share/" + package_name, ["package.xml"]), | ||||||||||||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. suggestion: Hardcoded paths in data_files Similar to the previous line, consider using os.path.join for constructing file paths to ensure compatibility across different operating systems.
Suggested change
|
||||||||||||||||
], | ||||||||||||||||
zip_safe=False, | ||||||||||||||||
test_suite="test", | ||||||||||||||||
tests_require=["pytest"], | ||||||||||||||||
) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
issue (code-quality): Use f-string instead of string concatenation [×2] (
use-fstring-for-concatenation
)