Changes between Initial Version and Version 1 of Ticket #36500, comment 3


Ignore:
Timestamp:
Jul 9, 2025, 11:31:16 AM (2 months ago)
Author:
Mike Edmunds

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #36500, comment 3

    initial v1  
    77So setting flake8 `max-doc-length = 79` would require fixing all those exceptions first, or grandfathering them in (e.g., by listing the problem files in .flake8 `per-file-ignores`).
    88
    9 An alternative might be adding `args: ["--max-docs-length=79"]` to the flake8 section of pre-commit-config.yaml. That would make pre-commit enforce the limit on modified files, without needing to address all the existing violations. The downside is it only works for people who have configured pre-commit, and the CI Linters job wouldn't catch the problem.
     9An alternative might be adding `args: ["--max-docs-length=79"]` to the flake8 section of pre-commit-config.yaml (without changing the global .flake8 config). That would make pre-commit enforce the limit on modified files, without needing to address all the existing violations. The downside is it only works for people who have configured pre-commit, and the CI Linters job wouldn't catch the problem.
Back to Top