Skip to content

PR build should run ni-python-styleguide on all handwritten code #556

@bkeryan

Description

@bkeryan

src/handwritten is currently excluded from both [tool.black] and [tool.ni-python-styleguide]: https://github.com/ni/nidaqmx-python/blob/master/pyproject.toml#L77

[tool.black]
line-length = 100
extend_exclude = ".tox/|docs/|generated/|src/codegen/metadata/|src/codegen/templates/|src/handwritten/"

[tool.ni-python-styleguide]
extend_exclude = ".tox,docs,generated,src/codegen/metadata,src/codegen/templates,src/handwritten"

We should:

  • Remove this exclusion
  • Run ni-python-styleguide fix
  • Run ni-python-styleguide acknowledge-existing-violations
  • Update the copy in generated/nidaqmx

AB#3263463

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions