All Projects → guykisel → inline-plz

guykisel / inline-plz

Licence: ISC license
Inline your lint messages

Programming Languages

XSLT
1337 projects
python
139335 projects - #7 most used programming language
shell
77523 projects
javascript
184084 projects - #8 most used programming language
Batchfile
5799 projects
HCL
1544 projects

Projects that are alternatives of or similar to inline-plz

Reviewdog
🐶 Automated code review tool integrated with any code analysis tools regardless of programming language
Stars: ✭ 4,541 (+14090.63%)
Mutual labels:  static-analysis, code-review, code-quality
qodana-action
⚙️ Scan your Java, Kotlin, PHP, Python, JavaScript, TypeScript projects at GitHub with Qodana
Stars: ✭ 112 (+250%)
Mutual labels:  static-analysis, code-review, code-quality
sonarqube-action
Integrate SonarQube scanner to GitHub Actions
Stars: ✭ 90 (+181.25%)
Mutual labels:  static-analysis, code-review, code-quality
localhost-sonarqube
Analysing source code locally with SonarQube in a Docker environment.
Stars: ✭ 17 (-46.87%)
Mutual labels:  static-analysis, code-review, code-quality
Checkstyle
Checkstyle is a development tool to help programmers write Java code that adheres to a coding standard. By default it supports the Google Java Style Guide and Sun Code Conventions, but is highly configurable. It can be invoked with an ANT task and a command line program.
Stars: ✭ 6,481 (+20153.13%)
Mutual labels:  static-analysis, code-quality
Sonarjs
SonarSource Static Analyzer for JavaScript and TypeScript
Stars: ✭ 696 (+2075%)
Mutual labels:  static-analysis, code-quality
Sonar Jproperties Plugin
SonarQube Java Properties Analyzer
Stars: ✭ 5 (-84.37%)
Mutual labels:  static-analysis, code-quality
Nodejsscan
nodejsscan is a static security code scanner for Node.js applications.
Stars: ✭ 1,874 (+5756.25%)
Mutual labels:  static-analysis, code-review
Sonar Dotnet
Code analyzer for C# and VB.NET projects https://redirect.sonarsource.com/plugins/vbnet.html
Stars: ✭ 466 (+1356.25%)
Mutual labels:  static-analysis, code-quality
Phpqa
Docker image that provides static analysis tools for PHP
Stars: ✭ 853 (+2565.63%)
Mutual labels:  static-analysis, code-quality
Mutant
Automated code reviews via mutation testing - semantic code coverage.
Stars: ✭ 1,794 (+5506.25%)
Mutual labels:  static-analysis, code-review
Sonarqube
Continuous Inspection
Stars: ✭ 6,365 (+19790.63%)
Mutual labels:  static-analysis, code-quality
Pyre Check
Performant type-checking for python.
Stars: ✭ 5,716 (+17762.5%)
Mutual labels:  static-analysis, code-quality
Sonarts
Static code analyzer for TypeScript
Stars: ✭ 776 (+2325%)
Mutual labels:  static-analysis, code-quality
Pep8speaks
A GitHub app to automatically review Python code style over Pull Requests
Stars: ✭ 546 (+1606.25%)
Mutual labels:  static-analysis, code-quality
Static Analysis
⚙️ A curated list of static analysis (SAST) tools for all programming languages, config files, build tools, and more.
Stars: ✭ 9,310 (+28993.75%)
Mutual labels:  static-analysis, code-quality
Infer
A static analyzer for Java, C, C++, and Objective-C
Stars: ✭ 12,823 (+39971.88%)
Mutual labels:  static-analysis, code-quality
Cflint
Static code analysis for CFML (a linter)
Stars: ✭ 156 (+387.5%)
Mutual labels:  static-analysis, code-quality
Codeclimate
Code Climate CLI
Stars: ✭ 2,273 (+7003.13%)
Mutual labels:  static-analysis, code-quality
Reek
Code smell detector for Ruby
Stars: ✭ 3,693 (+11440.63%)
Mutual labels:  static-analysis, linters

inline-plz

Tired of reading through CI console logs to find your lint errors? Inline your lint messages in your diffs!

  • Free software: ISC license

Github webhook bot

Features

  • Run linters against your code and comment in your diffs at the failing lines
  • Automatically run linters with reasonable default configs
  • Easy to add new linter configurations

How to use

pip install inlineplz
inline-plz --install --autorun

You 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/owner
  • repo: the repo name
  • token: your auth token (encrypt this, don't put this in plaintext in any public configurations!)
  • url: the url of your scm host
  • interface: the type of scm host (such as github)

Dependencies:

  • node.js / npm
  • ruby / gem
  • python / pip
  • haskell / cabal

Configuration

Besides 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.yml

For example:

ignore_paths:
  - node_modules
  - .tox
  - .git
enabled_linters:
  - prospector
disabled_linters:
  - markdownlint-cli
  - gherkin-lint

For more see the examples folder in the repo.

Known issues

  • Currently 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 at https://github.com/guykisel/inline-plz-bot
  • Currently the inline-plz console output can print out some misleading stack traces
  • Currently dependencies get installed globally unless you pre-create a virtualenv
  • Commits directly to master are not currently supported - only PRs get linted

Contribute

  • Report bugs/suggest features
  • Add/update docs
  • Add support for more linters

Credits

This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].