Audio plugin host https://kx.studio/carla
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

58 lines
1.2KB

  1. #!/bin/bash
  2. set -e
  3. make -C source/frontend
  4. ln -sf ../patchcanvas source/frontend/widgets/
  5. if which pylint3 >/dev/null; then
  6. pylint='pylint3'
  7. else
  8. pylint='pylint'
  9. fi
  10. # widget code, check all errors
  11. ${pylint} \
  12. --extension-pkg-whitelist=PyQt5 \
  13. --max-attributes=25 \
  14. --max-line-length=120 \
  15. --max-locals=25 \
  16. --max-statements=100 \
  17. --disable=\
  18. bad-whitespace,\
  19. invalid-name,\
  20. missing-docstring \
  21. source/frontend/widgets/canvaspreviewframe.py
  22. # main app code, ignore some errors
  23. ${pylint} \
  24. --extension-pkg-whitelist=PyQt5 \
  25. --max-line-length=120 \
  26. --disable=\
  27. bad-whitespace,\
  28. bare-except,\
  29. blacklisted-name,\
  30. duplicate-code,\
  31. fixme,\
  32. invalid-name,\
  33. missing-docstring,\
  34. too-few-public-methods,\
  35. too-many-arguments,\
  36. too-many-branches,\
  37. too-many-instance-attributes,\
  38. too-many-lines,\
  39. too-many-locals,\
  40. too-many-public-methods,\
  41. too-many-return-statements,\
  42. too-many-statements,\
  43. unused-argument,\
  44. wrong-import-position \
  45. source/frontend/carla_{app,backend,backend_qt,settings,shared,utils,widgets}.py
  46. # code not updated yet
  47. ${pylint} \
  48. --extension-pkg-whitelist=PyQt5 \
  49. -E \
  50. source/frontend/carla_{database,host,skin}.py