-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added linter_check.yml workflow (#262)
* Added linter_check.yml workflow Testing the addition of a python linting workflow * Update trufflehog_scan.yml * Update linter_check.yml * Update trufflehog_scan.yml * Update trufflehog_scan.yml * Update linter_check.yml * Update linter_check.yml * Auto format the gstreamer package * Fixed the import * issue * Update linter_check.yml * Auto Format * More Auto Formatting * More auto formatting * Fixed lines too long * Update linter_check.yml * Update linter_check.yml
- Loading branch information
Showing
36 changed files
with
308 additions
and
194 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
name: Lint Check | ||
|
||
on: | ||
# Trigger the workflow on push to main or any pull request. | ||
push: | ||
branches: | ||
- main | ||
pull_request: | ||
|
||
permissions: { } | ||
|
||
jobs: | ||
run-linters: | ||
name: Lint | ||
runs-on: ubuntu-latest | ||
|
||
permissions: | ||
contents: read | ||
packages: read | ||
# To report GitHub Actions status checks | ||
statuses: write | ||
|
||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
|
||
- name: Super-linter | ||
uses: super-linter/[email protected] # x-release-please-version | ||
env: | ||
VALIDATE_ALL_CODEBASE: true | ||
VALIDATE_PYTHON_FLAKE8: true | ||
VALIDATE_PYTHON_RUFF: true | ||
# To report GitHub Actions status checks | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,29 @@ | ||
from setuptools import find_packages, setup | ||
import os | ||
from glob import glob | ||
package_name = 'apriltag' | ||
|
||
package_name = "apriltag" | ||
|
||
setup( | ||
name=package_name, | ||
version='0.0.0', | ||
packages=find_packages(exclude=['test']), | ||
version="0.0.0", | ||
packages=find_packages(exclude=["test"]), | ||
data_files=[ | ||
('share/ament_index/resource_index/packages', | ||
['resource/' + package_name]), | ||
('share/' + package_name, ['package.xml']), | ||
("share/ament_index/resource_index/packages", ["resource/" + package_name]), | ||
("share/" + package_name, ["package.xml"]), | ||
( | ||
os.path.join("share", package_name), | ||
glob("launch/*launch.[pxy][yma]*", recursive=True), | ||
), | ||
], | ||
install_requires=['setuptools'], | ||
install_requires=["setuptools"], | ||
zip_safe=True, | ||
maintainer='umn-robotics', | ||
maintainer_email='[email protected]', | ||
description='Package for processing apriltag detections received from ISAAC ROS Apriltag.', | ||
license='MIT License', | ||
tests_require=['pytest'], | ||
maintainer="umn-robotics", | ||
maintainer_email="[email protected]", | ||
description="Package for processing apriltag detections received from ISAAC ROS Apriltag.", | ||
license="MIT License", | ||
tests_require=["pytest"], | ||
entry_points={ | ||
'console_scripts': ["apriltag_node = apriltag.apriltag_node:main"], | ||
"console_scripts": ["apriltag_node = apriltag.apriltag_node:main"], | ||
}, | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.