Skip to main content

Polysquare Style Guide Linter

Project description

Status

Travis CI

AppVeyor

Coverage

PyPI

Travis

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

polysquare-generic-file-linter-0.0.10.tar.gz (4.4 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page