Polysquare Style Guide Linter
Project description
Status
Travis CI |
AppVeyor |
Coverage |
PyPI |
|---|---|---|---|
Checks each file passed in for compliance with polysquare style guidelines.
headerblock/filename: Checks that the first line of the file has a line which matches /path/to/file from the source root
headerblock/desc_space: Checks that the second line of the headerblock is as empty comment
headerblock/space_copyright: Checks that the second last line of the headerblock is an empty comment
headerblock/copyright: Checks that the last line of the headerblock contains an appropriate short-form copyright notice
file/newline_last_char: Checks that the last line is just a
Usage
usage: polysquare-generic-file-linter [-h] [--checks]
[--whitelist [WHITELIST ...]
[--blacklist [BLACKLIST ...]
FILE
Lint for Polysquare style guide
positional arguments:
FILE read FILE
optional arguments:
-h, --help show this help message and exit
--checks list available checks
--whitelist [WHITELIST [WHITELIST ...]]
list of checks that should only be run
--blacklist [BLACKLIST [BLACKLIST ...]]
list of checks that should never be run
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
File details
Details for the file polysquare-generic-file-linter-0.0.13.tar.gz.
File metadata
- Download URL: polysquare-generic-file-linter-0.0.13.tar.gz
- Upload date:
- Size: 6.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
23f03c0910bac9fc683087781cf362c22e255af94dd9bfd6a42f3da95d05c1af
|
|
| MD5 |
74156ef5366235918827f71349b2c587
|
|
| BLAKE2b-256 |
98b9b74edc7d0c9db968342cdeb9881bee865128e47f12d9424180c92d7f6a16
|