NI's internal and external Python linter rules and plugins
Project description
NI Python Style Guide
Welcome to NI's internal and external Python conventions and enforcement tooling.
Written Conventions
Our written conventions can be found at https://ni.github.io/python-styleguide/.
Their source is in docs/Coding-Conventions.md.
NOTE: Using the GitHub Pages link is preferable to a GitHub /blob
link.
Enforcement tooling
As a tool, ni-python-styleguide
is installed like any other script:
pip install ni-python-styleguide
Linting
To lint, just run the lint
subcommand:
ni-python-styleguide lint
# or
ni-python-styleguide lint ./dir/
# or
ni-python-styleguide lint module.py
The rules enforced are all rules documented in the written convention, which are marked as enforced.
Formatting
(This section to come!)
Editor Integration
(This section to come!)
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
Built Distribution
Close
Hashes for ni-python-styleguide-0.1.4.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 18ac40a514e83483b4a5dd384fd9856e47abd45ca1278c48c7b516fda8c807a1 |
|
MD5 | b6013c86d1d6e63aed9bf49c14c30ebe |
|
BLAKE2b-256 | 6a01a52e6afaaf9b3566f4edc652437bd59324a1ebf999bf7e96aa0a7aa53298 |
Close
Hashes for ni_python_styleguide-0.1.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3b1edc2ba32b1b60bff7f3b5dd632a9f71f9eb66a0e2bc826cb319f4a0bfe584 |
|
MD5 | aa7aaeb8ecec049fb75c19b84dd89438 |
|
BLAKE2b-256 | 5c03ebbbd9c67492c0a3842261fdb396f0bfac78cb8ef03f2c3cbf302385542a |