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.13.tar.gz (6.8 kB view details)

Uploaded Source

File details

Details for the file polysquare-generic-file-linter-0.0.13.tar.gz.

File metadata

File hashes

Hashes for polysquare-generic-file-linter-0.0.13.tar.gz
Algorithm Hash digest
SHA256 23f03c0910bac9fc683087781cf362c22e255af94dd9bfd6a42f3da95d05c1af
MD5 74156ef5366235918827f71349b2c587
BLAKE2b-256 98b9b74edc7d0c9db968342cdeb9881bee865128e47f12d9424180c92d7f6a16

See more details on using hashes here.

Supported by

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