Nodemon + watcher + git diff
nodemon --delay 100ms -e "echo (git diff develop --name-only --diff-filter=d | grep -E '\.py$' | tr '\n' ' ')" --exec "pylint --reports=y --output-format=colorized *"
find . -type f -name "*.py" | xargs pylint
"scripts": {
"git:get-diff-file-name": "(git diff develop --name-only --diff-filter=d | grep -E '.py$' | tr '\\n' ' ')",
"prepare": "husky install",
"pytest": "pytest --cov-report term-missing --cov some_directory,
"pytest:watch": "nodemon --delay 100ms -e \"echo npm run git:diff-file-name\" --exec \"npm run pytest\"",
"pylint:base": "pylint --load-plugins pylint_django --django-settings-module=SOME_APP.settings --reports=y --output-format=colorized *",
"pylint:all": "find . -type f -name \"*.py\" | xargs npm run pylint:base",
"pylint:pure": "pylint --reports=y --output-format=colorized *",
"pylint:light": "pylint --load-plugins pylint_django --django-settings-module=_mock_app.settings",
"pylint:watch": "nodemon --delay 100ms -e \"echo npm run git:diff-file-name\" --exec \"npm run pylint:light\"",
"pylint:watch:all": "nodemon --delay 100ms --exec \"npm run pylint:all\""
}
superlinter does not support plugin