opendatahub-io-contrib / workbench-images

Various custom Workbenches and Runtimes for Open Data Hub and OpenShift Data Science
MIT License
35 stars 23 forks source link

python data path is where code lives, so pylint assumes all project files are system files and ignores them #42

Open thoraxe opened 11 months ago

thoraxe commented 11 months ago
2023-09-28 18:58:38.363 [info] [Warn  - 6:58:38 PM] Skipping standard library file: /opt/app-root/src/llamaindex-rag-example/react_example.py
sysconfig.get_paths()
{'stdlib': '/usr/lib64/python3.11', 'platstdlib': '/opt/app-root/lib64/python3.11', 'purelib': '/opt/app-root/lib/python3.11/site-packages', 'platlib': '/opt/app-root/lib64/python3.11/site-packages', 'include': '/usr/include/python3.11', 'platinclude': '/usr/include/python3.11', 'scripts': '/opt/app-root/bin', 'data': '/opt/app-root'}

https://github.com/microsoft/vscode-black-formatter/issues/272 https://stackoverflow.com/questions/76187582/python-file-not-formating-in-vscode-due-to-it-being-skipped-by-formatter