Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,12 @@ jobs:
name: ${{ matrix.env.ROS_DISTRO }}-${{ matrix.env.ROS_REPO }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v6
- name: industrial_ci
uses: 'ros-industrial/industrial_ci@master'
env: ${{ matrix.env }}
- name: upload test artifacts (on failure)
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v7
if: failure()
with:
name: test-results
Expand Down
8 changes: 6 additions & 2 deletions launch_param_builder/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,9 @@ def load_file(file_path: Path):
try:
with open(file_path, "r") as file:
return file.read()
except EnvironmentError: # parent of IOError, OSError *and* WindowsError where available
except (
EnvironmentError
): # parent of IOError, OSError *and* WindowsError where availabl
return None


Expand All @@ -72,7 +74,9 @@ def load_yaml(file_path: Path):
try:
with open(file_path, "r") as file:
return yaml.load(file, Loader=yaml.FullLoader)
except EnvironmentError: # parent of IOError, OSError *and* WindowsError where available
except (
EnvironmentError
): # parent of IOError, OSError *and* WindowsError where availabl
return None


Expand Down
6 changes: 5 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,11 @@
maintainer_email="jafar@picknik.ai",
description="Python library for loading parameters in launch files",
license="BSD",
tests_require=["pytest"],
extras_require={
"test": [
"pytest",
],
},
entry_points={
"console_scripts": [],
},
Expand Down
Loading