Welcome to NI's internal and external Python conventions and enforcement tooling.
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.
As a tool, ni-python-styleguide is installed like any other script:
pip install ni-python-styleguideTo lint, just run the lint subcommand:
ni-python-styleguide lint
# or
ni-python-styleguide lint ./dir/
# or
ni-python-styleguide lint module.pyThe rules enforced are all rules documented in the written convention, which are marked as enforced.
(This section to come!)
(This section to come!)