Package: inlineplz
inline-plzTired of reading through CI console logs to find your lint errors? Inline your lint messages in your diffs!Free software: ISC licenseGithub webhook bothttps://github.com/guykisel/inline-plz-botFeaturesRun linters against your code and comment in your diffs at the failing linesAutomatically run linters with reasonable default configsEasy to add new linter configurationsHow to usepip install inlineplz
inline-plz --install --autorunYou probably want to run the above in a CI job, not in your regular development environment.You’ll also need to provide the following either in the command line or via environment variables:owner: the repo organization/ownerrepo: the repo nametoken: your auth token (encrypt this, don’t put this in plaintext in any public configurations!)url: the url of your scm hostinterface: the type of scm host (such as github)Dependencies:node.js / npmruby / gempython / piphaskell / cabalConfigurationBesides specifying options at the command line or in environment variables, you can also set them in a yaml file.
You can create a file in the root of your repo named.inlineplz.ymlFor example:ignore_paths:
  - node_modules
  - .tox
  - .git
enabled_linters:
  - prospector
disabled_linters:
  - markdownlint-cli
  - gherkin-lintFor more see the examples folder in the repo.Known issuesCurrently for Travis-CI usage, inline-plz only works for PRs within the original repo, not PRs from forks. This is because encrypted creds in Travis-CI configs are encrypted per repo, and cannot be decrypted in PRs from forks. You can work around this using the webhook bot athttps://github.com/guykisel/inline-plz-botCurrently the inline-plz console output can print out some misleading stack tracesCurrently dependencies get installed globally unless you pre-create a virtualenvCommits directly to master are not currently supported - only PRs get lintedContributeReport bugs/suggest featuresAdd/update docsAdd support for more lintersCreditsThis package was created withCookiecutterand theaudreyr/cookiecutter-pypackageproject template.History0.19.0 (2016-07-17)Add out of date checkConfig improvements0.18.0 (2016-06-19)Add gometalinter supportCatch index errors in some parsers0.17.0 (2016-06-12)Add –trusted flag for installsCleanup install dirs before run0.16.1 (2016-06-08)Fix path to markdownlint0.16.0 (2016-06-05)Run ‘bundle install’ during ruby gem installsReplace ruby markdownlint with node.js markdownlintEnable or disable linters in yaml0.15.0 (2016-05-21)Add bandit support0.14.0 (2016-05-21)Stringify error outputUse time.time instead of time.clockCheck github urlAdd dockerfile_lint supportAdd shellcheck supportRun prospector with optional extras0.13.0 (2016-04-19)Add support for gherkin-lintConfigure rflint to run per fileSet jscs autorun to FalseUpdate eslint dotfiles0.12.5 (2016-04-14)Minor improvements to loggingAdd explicit jscs dir exclusions0.12.4 (2016-04-13)Encode output to ascii and replace errors0.12.3 (2016-04-13)Don’t use unicode literals in setup.py0.12.2 (2016-04-13)Use unicode literals instead of decoding utf-8Set npm progress=false0.12.1 (2016-04-12)Replace decode errors0.12.0 (2016-04-12)Log all install outputSet max comments per file in github interface0.11.0 (2016-03-29)Tell utf-8 encoder to replace errorsRobotframework lint support0.10.1 (2016-03-16)Fix .mdlrc syntax0.10.0 (2016-03-15)Improve performance0.9.0 (2016-03-14)Print installation and lint durations0.8.2 (2016-03-11)Remove bad whitespace from stylint dotfile name0.8.1 (2016-03-11)Detect yaml-lint install using just yaml-lint0.8.0 (2016-02-29)Add –config-dir argAdd stylint supportAdd default mdl config0.7.5 (2016-02-22)Quit early if no interface found0.7.4 (2016-02-18)Catch OSError during install0.7.3 (2016-02-18)Don’t re-run install commandsBetter error handling0.7.2 (2016-02-17)Handle missing config file0.7.1 (2016-02-17)Load paths to ignore from yaml config0.7.0 (2016-02-16)Add jsonlint supportAdd yaml-lint supportFix running per fileAdd restructuredtest-lint supportAdd markdownlint support0.6.0 (2016-02-12)Only autorun if no dotfiles found for language0.5.5 (2016-02-12)Catch GitHubError0.5.4 (2016-02-12)Use os.walk instead of glob for file searchNormalize message paths before storing0.5.3 (2016-02-12)Include linter config files in MANIFEST.in0.5.2 (2016-02-12)Fix installed check0.5.1 (2016-02-12)Update deploy configBetter installation0.5.0 (2016-02-11)Unpin dependenciesAdd autorun modeDo a release on travis python version == 2.70.4.1 (2016-02-10)Load owner and repo from ghprbPullLink0.4.0 (2016-02-08)Catch Exception on runPrepend linter name to message content0.3.2 (2016-02-05)For js linters, just ‘npm install’0.3.1 (2016-02-05)Fix for jshint xml parsing0.3.0 (2016-02-04)Add –max-comments arg0.2.0 (2016-02-04)Disable running if not in a PR or if no Github is defined0.1.1 (2016-02-03)Initial release supporting prospector, jshint, eslint, jscs0.1.0 (2015-12-13)First release on PyPI.