dolibarr/pyproject.toml
MDW 5bfccb7016
Qual: Add pre-commit & codespell (#27392)
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-01-14 14:24:29 +01:00

25 lines
1.1 KiB
TOML

[build-system]
requires = ["setuptools>=61.2"]
build-backend = "setuptools.build_meta"
[project]
dynamic = ["version"]
[tool.codespell]
ignore-words = "./dev/tools/codespell/codespell-ignore.txt"
skip = "*/langs/*,*/build/exe/*,**.log,*.pdf,*dev/resources/*,*.phar,*.z,*.gz,*.sql,*htdocs/includes/*,*/textiso.txt,*.js,*README-*,*build/rpm/*spec,*build/pad/*ml,*htdocs/includes/phpoffice/*,*htdocs/includes/tecnickcom/*,*dev/initdemo/removeconfdemo.sh,*dev/tools/codespell/*,*pyproject.toml,*build/exe/*,*fontawe*,*htdocs/theme/*/flags-sprite.inc.php,*dev/setup/codetemplates/codetemplates.xml,*/php.ini,*/html_cerfafr.*,*/lessc.class.php,*.asciidoc,*.xml,*opensurvey/css/style.css"
quiet-level=2
ignore-regex = '\\[fnrstv]'
# You can update the contents of the exclude-file with the script
# dev/tools/codespell/addCodespellIgnores.sh
exclude-file = "dev/tools/codespell/codespell-lines-ignore.txt"
uri-ignore-words-list="ned"
builtin = "clear,rare,informal,usage,code,names"
#D = "-"
#dictionary = "dev/tools/codespell/codespell-dict.txt"
[tool.setuptools]
include-package-data = false