dolibarr/pyproject.toml
MDW e5423d5c59
Qual: Add exceptions for codespell (#28186)
* Dev: Add setup scripts for phpunit/database

# Dev: Add setup scripts for phpunit/database

Some scripts that helped to setup some unit testing.

* NEW Add Windows ci workflow

# NEW Add Windows ci workflow

This adds a workflow to execute ci on a windows platform

* Disable open_basedir for now, to test effect

* Qual: Exclude documents directory from codespell

# Qual: Exclude documents directory from codespell

Documents directory may be present during development (unit tests).
Do not check spelling there

* Qual: Add codespell exceptions

# Qual: Add codespell exceptions

Add new exceptions to codespell (var identified as misspelling).
2024-02-15 14:49:09 +01:00

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,*/documents"
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