| # Copyright (C) 2021-2026 Free Software Foundation, Inc. |
| # This program is free software; you can redistribute it and/or modify |
| # it under the terms of the GNU General Public License as published by |
| # the Free Software Foundation; either version 3 of the License, or |
| # (at your option) any later version. |
| # |
| # This program is distributed in the hope that it will be useful, |
| # but WITHOUT ANY WARRANTY; without even the implied warranty of |
| # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| # GNU General Public License for more details. |
| # |
| # You should have received a copy of the GNU General Public License |
| # along with this program. If not, see <http://www.gnu.org/licenses/>. |
| |
| [tool.black] |
| include = "\\.py(\\.in)?$" |
| |
| [tool.pyright] |
| typeCheckingMode = "strict" |
| |
| [tool.isort] |
| profile = "black" |
| |
| [tool.tclint] |
| exclude = [ |
| # TODO: |
| "testsuite/boards", |
| "testsuite/config", |
| # IGNORE (document reason in trailing comment): |
| "testsuite/lib/ton.tcl", # Imported. |
| ] |
| |
| # A maximum line length of 80 is current policy, but it hasn't been too |
| # strictly enforced. It's the most frequent and least harmful violation. |
| # Ignore this for now. |
| ignore = ["line-length"] |
| |
| extensions = ["exp", "tcl"] |
| |
| commands=["expect", "testsuite/tclint-plugin.py"] |
| |
| [tool.tclint.style] |
| # Used by tclfmt. |
| indent = "mixed,4,8" |
| |
| # Used by both tclint and tclfmt. Current policy is 80. |
| line-length = 80 |
| |
| # Used by tclfmt. |
| max-blank-lines = 1 |
| |
| # Used by tclfmt. False conflicts with emacs tcl mode. |
| indent-namespace-eval = true |
| |
| # Used by tclfmt. |
| spaces-in-braces = false |