A command-line tool for checkstyle.
Project description
checkstyle-cli
A command-line tool for checkstyle.
Requirements
- Java >= 8
Installation
Using cli
> pip install checkstyle-cli
Using pre-commit
Add this to your .pre-commit-config.yaml
repos:
- repo: https://github.com/junghoon-vans/checkstyle-hooks
rev: v0.3.0 # Use the ref you want
hooks:
- id: checkstyle
Usage
> checkstyle -h
usage: checkstyle [-h] [-c CONFIG] [-v VERSION]
[files ...]
> checkstyle -c /sun_checks.xml -v 10.3.2 .
Positional Arguments
files
- files to verify
Optional Arguments
-c
,--config
- configuration XML file path
- default:
/google_checks.xml
/sun_checks.xml
and/google_checks.xml
are embedded options.
-v
,--version
- version to run checkstyle
- default:
10.3.2
License
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
checkstyle_cli-0.3.0.tar.gz
(4.5 kB
view hashes)
Built Distribution
Close
Hashes for checkstyle_cli-0.3.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 960f590fba2048cf5025a9e2da25c3097859084fa7e1524aa9953e3fa05a67a9 |
|
MD5 | e3eb234a797a6d94504cf21ff97a8b22 |
|
BLAKE2b-256 | ab07563d499bb7027ab695676fa69ce1dc0bd117410915e392236165ca3d6edc |