Skip to content
Snippets Groups Projects
  1. Feb 20, 2024
    • Guilhem Saurel's avatar
      linters: add ruff & isort (#441) · 10030ede
      Guilhem Saurel authored
      * sort pre-commit file
      
      * pre-commit: add ruff
      
      * pre-commit run -a
      
      * manual ruff fixes
      
      * README: add ruff badge
      
      * pre-commit: add isort
      
      * pre-commit run -a
      
      * ignore previous commit in blames
      
      * add changelog entry
      
      * replace black & isort by ruff
      
      * ruff: more linters
      
      * clean config files
      
      * pre-commit run -a
      
      * ignore previous commit in blames
      
      * fix NPY002
      
      ref. https://numpy.org/doc/stable/reference/random/legacy.html
      
      * remove useless code
      
      * fix dtype conversion
      10030ede
  2. Feb 14, 2024
  3. Feb 10, 2024
  4. Feb 05, 2024
  5. Jan 31, 2024
  6. Jan 30, 2024
  7. Jan 29, 2024
    • Guilhem Saurel's avatar
      do not use namespace eigenpy and define bp · 5d08e505
      Guilhem Saurel authored
      to fix on 18.04:
      ```
      [ 94%] Building CXX object unittest/CMakeFiles/std_pair.dir/std_pair.cpp.o
      cd /local/robotpkg/var/tmp/robotpkg/math/py-eigenpy/work/eigenpy-3.3.0/unittest && /usr/bin/g++  -Dstd_pair_EXPORTS -I/local/robotpkg/var/tmp/robotpkg/math/py-eigenpy/work/eigenpy-3.3.0 -isystem /local/robotpkg/var/tmp/robotpkg/math/py-eigenpy/work/eigenpy-3.3.0/include -isystem /usr/lib/python3/dist-packages/numpy/core/include -isystem /usr/include/python3.6 -isystem /usr/include/eigen3  -Wno-long-long -Wall -Wextra -Wcast-align -Wcast-qual -Wformat -Wwrite-strings -Wconversion   -pipe  -O3 -DNDEBUG -fPIC   -std=gnu++14 -o CMakeFiles/std_pair.dir/std_pair.cpp.o -c /local/robotpkg/var/tmp/robotpkg/math/py-eigenpy/work/eigenpy-3.3.0/unittest/std_pair.cpp
      /local/robotpkg/var/tmp/robotpkg/math/py-eigenpy/work/eigenpy-3.3.0/unittest/std_pair.cpp: In function 'void init_module_std_pair()':
      /local/robotpkg/var/tmp/robotpkg/math/py-eigenpy/work/eigenpy-3.3.0/unittest/std_pair.cpp:28:3: error: reference to 'bp' is ambiguous
      bp::def("std_pair_to_tuple", std_pair_to_tuple);
      ^~
      /local/robotpkg/var/tmp/robotpkg/math/py-eigenpy/work/eigenpy-3.3.0/unittest/std_pair.cpp:8:29: note: candidates are: namespace bp = boost::boost::python;
      namespace bp = boost::python;
      ^
      In file included from /local/robotpkg/var/tmp/robotpkg/math/py-eigenpy/work/eigenpy-3.3.0/include/eigenpy/eigenpy.hpp:9:0,
      from /local/robotpkg/var/tmp/robotpkg/math/py-eigenpy/work/eigenpy-3.3.0/unittest/std_pair.cpp:4:
      /local/robotpkg/var/tmp/robotpkg/math/py-eigenpy/work/eigenpy-3.3.0/include/eigenpy/fwd.hpp:81:29: note:                 namespace eigenpy::bp = boost::boost::python;
      namespace bp = boost::python;
      ^
      /local/robotpkg/var/tmp/robotpkg/math/py-eigenpy/work/eigenpy-3.3.0/unittest/std_pair.cpp:29:3: error: reference to 'bp' is ambiguous
      bp::def("copy", copy);
      ^~
      /local/robotpkg/var/tmp/robotpkg/math/py-eigenpy/work/eigenpy-3.3.0/unittest/std_pair.cpp:8:29: note: candidates are: namespace bp = boost::boost::python;
      namespace bp = boost::python;
      ^
      In file included from /local/robotpkg/var/tmp/robotpkg/math/py-eigenpy/work/eigenpy-3.3.0/include/eigenpy/eigenpy.hpp:9:0,
      from /local/robotpkg/var/tmp/robotpkg/math/py-eigenpy/work/eigenpy-3.3.0/unittest/std_pair.cpp:4:
      /local/robotpkg/var/tmp/robotpkg/math/py-eigenpy/work/eigenpy-3.3.0/include/eigenpy/fwd.hpp:81:29: note:                 namespace eigenpy::bp = boost::boost::python;
      namespace bp = boost::python;
      ^
      ```
      5d08e505
  8. Jan 26, 2024
  9. Jan 23, 2024
  10. Dec 12, 2023
  11. Dec 04, 2023
Loading