james94 commented on PR #1793:
URL: https://github.com/apache/nifi-minifi-cpp/pull/1793#issuecomment-2282181692

   @szaszm I tried out running the flake8 linter from build_cmake/ directory:
   
   ~~~bash
   cd $HOME/nifi-minifi-cpp
   
   pip install flake8
   export PATH="$PATH:~/.local/bin"
   source ~/.bashrc
   
   cmake --build . --target flake8
   ~~~
   
   I get the following output (just showing the part related to conanfile.py:
   
   ~~~bash
   /home/ubuntu/src/james/pipeline/nifi-minifi-cpp-develop/conanfile.py:2:1: 
F401 'conan.tools.env.VirtualRunEnv' imported but unused
   /home/ubuntu/src/james/pipeline/nifi-minifi-cpp-develop/conanfile.py:14:99: 
W291 trailing whitespace
   /home/ubuntu/src/james/pipeline/nifi-minifi-cpp-develop/conanfile.py:16:105: 
W291 trailing whitespace
   /home/ubuntu/src/james/pipeline/nifi-minifi-cpp-develop/conanfile.py:22:1: 
E302 expected 2 blank lines, found 1
   /home/ubuntu/src/james/pipeline/nifi-minifi-cpp-develop/conanfile.py:31:53: 
E231 missing whitespace after ','
   
/home/ubuntu/src/james/pipeline/nifi-minifi-cpp-develop/test_package/conanfile.py:7:1:
 E302 expected 2 blank lines, found 1
   gmake[3]: *** [CMakeFiles/flake8.dir/build.make:70: CMakeFiles/flake8] Error 
1
   gmake[2]: *** [CMakeFiles/Makefile2:2645: CMakeFiles/flake8.dir/all] Error 2
   gmake[1]: *** [CMakeFiles/Makefile2:2652: CMakeFiles/flake8.dir/rule] Error 2
   gmake: *** [Makefile:667: flake8] Error 2
   ~~~
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to