Skip to content

Latest commit

 

History

History
40 lines (26 loc) · 781 Bytes

File metadata and controls

40 lines (26 loc) · 781 Bytes

ament_ruff

Python linting and formatting based on ruff with ament integration.

Usage

ament_ruff

See here.

ament_cmake_ruff

See here.

Installation

Install ruff first:

pip install ruff

# You may have to set your path to include ruff's binary location:
export PATH=$PATH:$HOME/.local/bin

# Or do so permanently in bash
echo "export PATH=$PATH:$HOME/.local/bin" >> .bashrc

Clone this repository into your workspace and build it:

# make a workspace if you don't have one
mkdir -p ~/ws/ament_ruff/src
cd ~/ws/ament_ruff/src
git clone https://github.com/swri-robotics/ament_ruff.git

cd ..
colcon build
source install/setup.bash