mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-02-20 13:46:52 +01:00
Backport the pre-commit tool to bring extra checks to the older versions so that they are fixed earlier before merging in upper versions. Other PRs will be created for backporting to 18.0 and 19.0. The PRs should be accepted in reverse order: - develop; - 19.0: - 18.0; - 17.0. That should avoid merge conflicts and ensure that options (and ignored messages or steps) are adapted to the version branch.
51 lines
1.8 KiB
TOML
51 lines
1.8 KiB
TOML
[build-system]
|
|
requires = ["setuptools>=61.2"]
|
|
build-backend = "setuptools.build_meta"
|
|
|
|
[tool.codespell]
|
|
# The configuration must be kept here to ensure that
|
|
# `codespell` can be run as a standalone program from the CLI
|
|
# with the appropriate default options.
|
|
|
|
skip = "*/langs/*,*/build/exe/*,**.log,*.pdf,*dev/resources/*,*.phar,*.z,*.gz,*.sql,*.svg,*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]'
|
|
builtin = "clear,rare,informal,usage,code,names"
|
|
|
|
ignore-words = "dev/tools/codespell/codespell-ignore.txt"
|
|
exclude-file = "dev/tools/codespell/codespell-lines-ignore.txt"
|
|
uri-ignore-words-list="ned"
|
|
|
|
# For future reference: it is not currently possible to specify
|
|
# the standard dictionnary and the custom dictionnary in the configuration
|
|
# file
|
|
# D = "-"
|
|
# dictionary = "dev/tools/codespell/codespell-dict.txt"
|
|
|
|
|
|
[tool.setuptools]
|
|
include-package-data = false
|
|
|
|
# pyproject.toml
|
|
|
|
[tool.yamlfix]
|
|
# allow_duplicate_keys = true
|
|
line_length = 80
|
|
# none_representation = "null"
|
|
# comments_min_spaces_from_content = 2
|
|
# comments_require_starting_space = true
|
|
# whitelines = 0
|
|
# comment_whitelines = 0
|
|
# section_whitelines = 0
|
|
# explicit_start = true
|
|
# sequence_style = keep_style # flow_style, block_style, keep_style
|
|
# indent_mapping = 2
|
|
# indent_offset = 2
|
|
# indent_sequence = 4
|
|
# none_representation = ""
|
|
# quote_basic_values = false
|
|
# YAMLFIX_quote_keys_and_basic_values = false
|
|
# uote_representation = false
|
|
# preserve_quotes = false
|